Examples of addRecipe()


Examples of extrabiomes.proxy.CommonProxy.addRecipe()

            {
                final ItemStack firPlanks = new ItemStack(block, 4, BlockCustomWood.BlockType.FIR.metadata());
               
                // firLog  = firPlanks
                final IRecipe recipe = new ShapelessOreRecipe(firPlanks, firLog.get());
                proxy.addRecipe(recipe);
               
                // firLog ==> charcoal
                proxy.addSmelting(firLog.get(), charcoal, 0.15F);
            }
        }
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

            {
                final ItemStack redwoodPlanks = new ItemStack(block, 4, BlockCustomWood.BlockType.REDWOOD.metadata());
               
                // redwoodLog  = redwoodPlanks
                final IRecipe recipe = new ShapelessOreRecipe(redwoodPlanks, redwoodLog.get());
                proxy.addRecipe(recipe);
               
                // redwoodLog ==> charcoal
                proxy.addSmelting(redwoodLog.get(), charcoal, 0.15F);
            }
        }
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

            {
                final ItemStack oakPlanks = new ItemStack(Blocks.planks, 4);
               
                // oakLog  = oakPlanks
                final IRecipe recipe = new ShapelessOreRecipe(oakPlanks, oakLog.get());
                proxy.addRecipe(recipe);
               
                // oakLog ==> charcoal
                proxy.addSmelting(oakLog.get(), charcoal, 0.15F);
            }
        }
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

      final CommonProxy proxy = Extrabiomes.proxy;
     
      final ItemStack chocolate = new ItemStack(foodItem, 1, ItemCustomFood.FoodType.CHOCOLATE.meta);
      final ItemStack cocoa_powder = new ItemStack(Items.dye, 1, 3);
      IRecipe recipe = new ShapelessOreRecipe(chocolate, cocoa_powder, Items.sugar, Items.milk_bucket);
      proxy.addRecipe(recipe);
     
      final ItemStack choco_strawberry = new ItemStack(foodItem, 1, ItemCustomFood.FoodType.CHOCOLATE_STRAWBERRY.meta);
      recipe = new ShapelessOreRecipe(choco_strawberry, chocolate, "cropStrawberry");
      proxy.addRecipe(recipe);
    }
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

      IRecipe recipe = new ShapelessOreRecipe(chocolate, cocoa_powder, Items.sugar, Items.milk_bucket);
      proxy.addRecipe(recipe);
     
      final ItemStack choco_strawberry = new ItemStack(foodItem, 1, ItemCustomFood.FoodType.CHOCOLATE_STRAWBERRY.meta);
      recipe = new ShapelessOreRecipe(choco_strawberry, chocolate, "cropStrawberry");
      proxy.addRecipe(recipe);
    }
   
}
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

        redRockItem = Optional.of(new ItemStack(event.block, 1, BlockRedRock.BlockType.RED_ROCK.metadata()));
        redCobbleItem = Optional.of(new ItemStack(event.block, 1, BlockRedRock.BlockType.RED_COBBLE.metadata()));
        redRockBrickItem = Optional.of(new ItemStack(event.block, 1, BlockRedRock.BlockType.RED_ROCK_BRICK.metadata()));
       
        IRecipe recipe = new ShapelessOreRecipe(new ItemStack(Items.clay_ball, 4), redCobbleItem.get(), Items.water_bucket, Items.water_bucket, Items.water_bucket);
        proxy.addRecipe(recipe);
       
        recipe = new ShapedOreRecipe(new ItemStack(event.block, 4, BlockRedRock.BlockType.RED_ROCK_BRICK.metadata()), new String[] { "rr", "rr" }, 'r', redRockItem.get());
        proxy.addRecipe(recipe);
       
        proxy.addSmelting(Item.getItemFromBlock(event.block), BlockRedRock.BlockType.RED_COBBLE.metadata(), redRockItem.get(), 0.1F);
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

       
        IRecipe recipe = new ShapelessOreRecipe(new ItemStack(Items.clay_ball, 4), redCobbleItem.get(), Items.water_bucket, Items.water_bucket, Items.water_bucket);
        proxy.addRecipe(recipe);
       
        recipe = new ShapedOreRecipe(new ItemStack(event.block, 4, BlockRedRock.BlockType.RED_ROCK_BRICK.metadata()), new String[] { "rr", "rr" }, 'r', redRockItem.get());
        proxy.addRecipe(recipe);
       
        proxy.addSmelting(Item.getItemFromBlock(event.block), BlockRedRock.BlockType.RED_COBBLE.metadata(), redRockItem.get(), 0.1F);
    }
   
    @SubscribeEvent
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

       
        if (redRockItem.isPresent())
        {
            final IRecipe recipe = new ShapedOreRecipe(new ItemStack(event.block, 6,
                    BlockRedRockSlab.BlockType.REDROCK.metadata()), new String[] { "rrr" }, 'r', redRockItem.get());
            proxy.addRecipe(recipe);
        }
       
        if (redCobbleItem.isPresent())
        {
            final IRecipe recipe = new ShapedOreRecipe(new ItemStack(event.block, 6, BlockRedRockSlab.BlockType.REDCOBBLE.metadata()), new String[] { "rrr" }, 'r', redCobbleItem.get());
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

        }
       
        if (redCobbleItem.isPresent())
        {
            final IRecipe recipe = new ShapedOreRecipe(new ItemStack(event.block, 6, BlockRedRockSlab.BlockType.REDCOBBLE.metadata()), new String[] { "rrr" }, 'r', redCobbleItem.get());
            proxy.addRecipe(recipe);
        }
       
        if (redRockBrickItem.isPresent())
        {
            final IRecipe recipe = new ShapedOreRecipe(new ItemStack(event.block, 6, BlockRedRockSlab.BlockType.REDROCKBRICK.metadata()), new String[] { "rrr" }, 'r', redRockBrickItem.get());
View Full Code Here

Examples of extrabiomes.proxy.CommonProxy.addRecipe()

        }
       
        if (redRockBrickItem.isPresent())
        {
            final IRecipe recipe = new ShapedOreRecipe(new ItemStack(event.block, 6, BlockRedRockSlab.BlockType.REDROCKBRICK.metadata()), new String[] { "rrr" }, 'r', redRockBrickItem.get());
            proxy.addRecipe(recipe);
        }
    }
   
    @SubscribeEvent
    public void redwoodStairsRecipeHandler(RedwoodStairsActiveEvent event)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.