Package net.minecraftforge.oredict

Examples of net.minecraftforge.oredict.ShapelessOreRecipe


    return new ShapedOreRecipe(result, recipe);
  }

  public static final IRecipe ShapelessRecipe(Block result, Object... recipe) {

    return new ShapelessOreRecipe(result, recipe);
  }
View Full Code Here


    return new ShapelessOreRecipe(result, recipe);
  }

  public static final IRecipe ShapelessRecipe(Item result, Object... recipe) {

    return new ShapelessOreRecipe(result, recipe);
  }
View Full Code Here

    return new ShapelessOreRecipe(result, recipe);
  }

  public static final IRecipe ShapelessRecipe(ItemStack result, Object... recipe) {

    return new ShapelessOreRecipe(result, recipe);
  }
View Full Code Here

  public static boolean addReverseStorageRecipe(ItemStack nine, String one) {

    if (nine == null || !oreNameExists(one)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapelessOreRecipe(cloneStack(nine, 9), one));
    return true;
  }
View Full Code Here

  public static boolean addSmallReverseStorageRecipe(ItemStack four, String one) {

    if (four == null || !oreNameExists(one)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapelessOreRecipe(cloneStack(four, 4), one));
    return true;
  }
View Full Code Here

  public static boolean addStorageRecipe(ItemStack one, String nine) {

    if (one == null || !oreNameExists(nine)) {
      return false;
    }
    GameRegistry.addRecipe(new ShapelessOreRecipe(one, nine, nine, nine, nine, nine, nine, nine, nine, nine));
    return true;
  }
View Full Code Here

        if (camo == null) // ICBM|Contraption Camouflage block not found
        {
            ElectricExpansion.log(Level.INFO, "Failed to detect ICBM|Contraption");
            ElectricExpansion.log(Level.INFO, "Using %s's items instead.", ElectricExpansion.MOD_NAME);
            camo = new ItemStack(itemParts, 1, 5);
            GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(itemParts, 4, 5), new Object[] { Block.cloth, Item.bucketEmpty, Item.slimeBall, Item.redstone, "dyeRed", "dyeBlue", "dyeYellow", "dyeBlack", "dyeWhite" }));
        }
       
        registerRawCables();
        registerInsulatedCables();
        registerSwitchCables();
View Full Code Here

        }
       
        InsulationRecipes.INSTANCE.addProcessing(new ItemStack(Item.leather, 8), 24, ticks * 25);
        InsulationRecipes.INSTANCE.addProcessing(new ItemStack(Item.rottenFlesh, 8), 16, ticks * 25);
        FurnaceRecipes.smelting().addSmelting(Item.leather.itemID, insulationIS, 0.7f);
        GameRegistry.addRecipe(new ShapelessOreRecipe(insulationIS, Block.cloth, Block.cloth, Block.cloth, Block.cloth));
       
        for (ItemStack is : OreDictionary.getOres("itemRubber"))
        {
            if (!is.isItemEqual(insulationIS))
            {
View Full Code Here

    }
   
    public static void registerLogisticsCables()
    {
        // Logistics Wire Recipes (From a unit of Redstone Dust, an on RS torch, some insulation, and the corresponding Uninsulated Wire)
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 0), new Object[] { new ItemStack(blockRawWire, 1, 0), insulationIS, Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 1), new Object[] { new ItemStack(blockRawWire, 1, 1), insulationIS, Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 2), new Object[] { new ItemStack(blockRawWire, 1, 2), insulationIS, Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 3), new Object[] { new ItemStack(blockRawWire, 1, 3), insulationIS, Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 4), new Object[] { new ItemStack(blockRawWire, 1, 4), new ItemStack(itemParts, 3, 6), Block.torchRedstoneActive, Item.redstone }));
       
        // Logistics Wire Recipes (From a unit of Redstone Dust, an on RS torch, and the corresponding Insulated Wire)
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 0), new Object[] { new ItemStack(blockInsulatedWire, 1, 0), Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 1), new Object[] { new ItemStack(blockInsulatedWire, 1, 1), Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 2), new Object[] { new ItemStack(blockInsulatedWire, 1, 2), Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 3), new Object[] { new ItemStack(blockInsulatedWire, 1, 3), Block.torchRedstoneActive, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 4), new Object[] { new ItemStack(blockInsulatedWire, 1, 4), Block.torchRedstoneActive, Item.redstone }));
       
        // Logistics Wire Recipes (From a unit of Redstone Dust, an off RS torch, some insulation, and the corresponding Uninsulated Wire)
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 0), new Object[] { new ItemStack(blockRawWire, 1, 0), insulationIS, Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 1), new Object[] { new ItemStack(blockRawWire, 1, 1), insulationIS, Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 2), new Object[] { new ItemStack(blockRawWire, 1, 2), insulationIS, Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 3), new Object[] { new ItemStack(blockRawWire, 1, 3), insulationIS, Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 4), new Object[] { new ItemStack(blockRawWire, 1, 4), new ItemStack(itemParts, 3, 6), Block.torchRedstoneIdle, Item.redstone }));
       
        // Logistics Wire Recipes (From a unit of Redstone Dust, an off RS torch, and the corresponding Insulated Wire)
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 0), new Object[] { new ItemStack(blockInsulatedWire, 1, 0), Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 1), new Object[] { new ItemStack(blockInsulatedWire, 1, 1), Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 2), new Object[] { new ItemStack(blockInsulatedWire, 1, 2), Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 3), new Object[] { new ItemStack(blockInsulatedWire, 1, 3), Block.torchRedstoneIdle, Item.redstone }));
        GameRegistry.addRecipe(new ShapelessOreRecipe(new ItemStack(blockLogisticsWire, 1, 4), new Object[] { new ItemStack(blockInsulatedWire, 1, 4), Block.torchRedstoneIdle, Item.redstone }));
    }
View Full Code Here

      // Chromia
      GameRegistry.addShapedRecipe(chromia, new Object[]
      { "FFF", "F_F", "FFF", 'F', Item.fishRaw, });

      // Level Emitter
      GameRegistry.addRecipe(new ShapelessOreRecipe(levelEmitter, new Object[]
      { Blocks.blkLevelEmitter, "dyeBlue" }));

      // Fluid Void
      GameRegistry.addShapedRecipe(fluidVoid, new Object[]
      { "FIF", "IEI", "FIF", 'F', Materials.matFluxCrystal.copy(), 'E', new ItemStack(Item.enderPearl, 1), 'I', new ItemStack(Item.ingotIron, 1) });
View Full Code Here

TOP

Related Classes of net.minecraftforge.oredict.ShapelessOreRecipe

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.