storage block recipes!

This commit is contained in:
Raoul Van den Berge
2016-01-31 18:14:34 +01:00
parent cff3538041
commit 5239b5f6ee
3 changed files with 46 additions and 12 deletions

View File

@@ -14,6 +14,7 @@ import storagecraft.StorageCraftBlocks;
import storagecraft.StorageCraftItems;
import storagecraft.block.EnumControllerType;
import storagecraft.block.EnumGridType;
import storagecraft.block.EnumStorageType;
import storagecraft.gui.GuiHandler;
import storagecraft.item.*;
import storagecraft.network.*;
@@ -337,6 +338,47 @@ public class CommonProxy
'P', new ItemStack(StorageCraftItems.STORAGE_PART, 1, ItemStoragePart.TYPE_64K),
'E', new ItemStack(StorageCraftItems.QUARTZ_ENRICHED_IRON)
);
// Storage Blocks
GameRegistry.addRecipe(ItemBlockStorage.initNBT(new ItemStack(StorageCraftBlocks.STORAGE, 1, EnumStorageType.TYPE_1K.getId())),
"EPE",
"RMR",
"EEE",
'R', new ItemStack(Items.redstone),
'P', new ItemStack(StorageCraftItems.STORAGE_PART, 1, ItemStoragePart.TYPE_1K),
'E', new ItemStack(StorageCraftItems.QUARTZ_ENRICHED_IRON),
'M', new ItemStack(StorageCraftBlocks.MACHINE_CASING)
);
GameRegistry.addRecipe(ItemBlockStorage.initNBT(new ItemStack(StorageCraftBlocks.STORAGE, 1, EnumStorageType.TYPE_4K.getId())),
"EPE",
"RMR",
"EEE",
'R', new ItemStack(Items.redstone),
'P', new ItemStack(StorageCraftItems.STORAGE_PART, 1, ItemStoragePart.TYPE_4K),
'E', new ItemStack(StorageCraftItems.QUARTZ_ENRICHED_IRON),
'M', new ItemStack(StorageCraftBlocks.MACHINE_CASING)
);
GameRegistry.addRecipe(ItemBlockStorage.initNBT(new ItemStack(StorageCraftBlocks.STORAGE, 1, EnumStorageType.TYPE_16K.getId())),
"EPE",
"RMR",
"EEE",
'R', new ItemStack(Items.redstone),
'P', new ItemStack(StorageCraftItems.STORAGE_PART, 1, ItemStoragePart.TYPE_16K),
'E', new ItemStack(StorageCraftItems.QUARTZ_ENRICHED_IRON),
'M', new ItemStack(StorageCraftBlocks.MACHINE_CASING)
);
GameRegistry.addRecipe(ItemBlockStorage.initNBT(new ItemStack(StorageCraftBlocks.STORAGE, 1, EnumStorageType.TYPE_64K.getId())),
"EPE",
"RMR",
"EEE",
'R', new ItemStack(Items.redstone),
'P', new ItemStack(StorageCraftItems.STORAGE_PART, 1, ItemStoragePart.TYPE_64K),
'E', new ItemStack(StorageCraftItems.QUARTZ_ENRICHED_IRON),
'M', new ItemStack(StorageCraftBlocks.MACHINE_CASING)
);
}
public void init(FMLInitializationEvent e)