Package uristqwerty.gui_craftguide.texture

Examples of uristqwerty.gui_craftguide.texture.TextureClip


      craftingTemplate = generator.createRecipeTemplate( craftingSlotsOwnBackground, null );
      smallCraftingTemplate = generator.createRecipeTemplate( smallCraftingSlotsOwnBackground, null );
    }
    else
    {
      craftingTemplate = new DefaultRecipeTemplate( craftingSlots, RecipeGeneratorImplementation.workbench, new TextureClip(
          DynamicTexture.instance( "recipe_backgrounds" ), 1, 1, 79, 58 ), new TextureClip( DynamicTexture.instance( "recipe_backgrounds" ), 82, 1,
          79, 58 ) );

      smallCraftingTemplate = new DefaultRecipeTemplate( smallCraftingSlots, RecipeGeneratorImplementation.workbench, new TextureClip(
          DynamicTexture.instance( "recipe_backgrounds" ), 1, 61, 79, 58 ), new TextureClip( DynamicTexture.instance( "recipe_backgrounds" ), 82, 61,
          79, 58 ) );
    }

    RecipeTemplate shapelessTemplate = new DefaultRecipeTemplate( shapelessCraftingSlots, RecipeGeneratorImplementation.workbench, new TextureClip(
        DynamicTexture.instance( "recipe_backgrounds" ), 1, 121, 79, 58 ), new TextureClip( DynamicTexture.instance( "recipe_backgrounds" ), 82, 121,
        79, 58 ) );

    RecipeTemplate furnaceTemplate = new DefaultRecipeTemplate( furnaceSlots, new ItemStack( Blocks.furnace ), new TextureClip(
        DynamicTexture.instance( "recipe_backgrounds" ), 1, 181, 79, 58 ), new TextureClip( DynamicTexture.instance( "recipe_backgrounds" ), 82, 181,
        79, 58 ) );

    addCraftingRecipes( craftingTemplate, smallCraftingTemplate, shapelessTemplate, this );
    addGrinderRecipes( furnaceTemplate, this );
    addInscriberRecipes( furnaceTemplate, this );
View Full Code Here

TOP

Related Classes of uristqwerty.gui_craftguide.texture.TextureClip

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.