Jump to content

[1.7.2]Special Crafting for Special Guis


Kloonder

Recommended Posts

Hey guys,

does somebody know how i can create Crafting Recepis for this gui?

width=256 height=256https://lh4.googleusercontent.com/-ArTaN4mTbTI/U4ibdv02K4I/AAAAAAAAAKE/gdIqT0WI_9E/s256-no/blockmixergui.png[/img]

 

I tried it with this code but my game keeps crashing

 

Main Class

package com.kloon.periodicsystem;

import com.kloon.periodicsystem.crafting.PeriodicsystemCraftingElementMixer;
import com.kloon.periodicsystem.crafting.PeriodicsystemCraftingManager;

import net.minecraft.block.Block;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.Item.ToolMaterial;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.item.ItemStack;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;
import cpw.mods.fml.common.network.NetworkRegistry;
import cpw.mods.fml.common.registry.GameRegistry;
import cpw.mods.fml.common.registry.LanguageRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraftforge.common.util.EnumHelper;


@Mod(modid = Periodicsystem.MODID, version = Periodicsystem.VERSION)

public class Periodicsystem
{


public static final String MODID = "Periodicsystem";
public static final String VERSION = "1.0";

//Utilityplus CreativTabs

public static final CreativeTabs PeriodicsystemBlocks = new CreativeTabs("Periodicsystem Blocks")
    {
        private static final String __OBFID = "CL_00000010";
        @SideOnly(Side.CLIENT)
        public Item getTabIconItem()
        {
            return Item.getItemFromBlock(Periodicsystem.blockIridiumOre);
        }
    };

    public static final CreativeTabs PeriodicsystemItems = new CreativeTabs("Periodicsystem Items")
    {
        private static final String __OBFID = "CL_00000012";
        @SideOnly(Side.CLIENT)
        public Item getTabIconItem()
        {
            return Periodicsystem.itemOsidiumIngot;
        }
    };
    
    public static final CreativeTabs PeriodicsystemArmor = new CreativeTabs("Periodicsystem Armor")
    {
        private static final String __OBFID = "CL_00000012";
        @SideOnly(Side.CLIENT)
        public Item getTabIconItem()
        {
            return Periodicsystem.itemArmorOsidiumHelmet;
        }
    };
    public static final CreativeTabs PeriodicsystemTools = new CreativeTabs("Periodicsystem Tools")
    {
        private static final String __OBFID = "CL_00000012";
        @SideOnly(Side.CLIENT)
        public Item getTabIconItem()
        {
            return Periodicsystem.OsidiumSword;
        }
    };
    public static Periodicsystem instance;
    //Gui
    public static final int GuiIDElementMixer = 0;
    //Classes
    public static UtilityPlusGenerationClass UtilityPlusGen = new UtilityPlusGenerationClass();
//Blocks
    public static Block blockElementMixer;
    //Ores
public static Block blockIridiumOre;
public static Block blockOsmiumOre;
public static Block blockPlatinumOre;
public static Block blockTitanOre;
//Blocks
public static Block blockIridiumBlock;
public static Block blockOsmiumBlock;
public static Block blockPlatinumBlock;
public static Block blockTitanBlock;
public static Block blockOsidiumBlock;
//Ingots 
public static Item itemIridiumIngot;
public static Item itemOsmiumIngot;
public static Item itemOsidiumIngot;
public static Item itemPlatinumIngot;
public static Item itemTitanIngot;
//Armors
public static ArmorMaterial Osidiumarmor;
public static ArmorMaterial Osmiumarmor;
public static ArmorMaterial Iridiumarmor;
public static ArmorMaterial Platinumarmor;
public static ArmorMaterial Titanarmor;
public static Item itemArmorOsidiumHelmet;
public static Item itemArmorOsidiumchestplate;
public static Item itemArmorOsidiumleggings;
public static Item itemArmorOsidiumboots;
public static Item itemArmorOsmiumHelmet;
public static Item itemArmorOsmiumchestplate;
public static Item itemArmorOsmiumleggings;
public static Item itemArmorOsmiumboots;
public static Item itemArmorIridiumHelmet;
public static Item itemArmorIridiumchestplate;
public static Item itemArmorIridiumleggings;
public static Item itemArmorIridiumboots;
public static Item itemArmorPlatinumHelmet;
public static Item itemArmorPlatinumchestplate;
public static Item itemArmorPlatinumleggings;
public static Item itemArmorPlatinumboots;
public static Item itemArmorTitanHelmet;
public static Item itemArmorTitanchestplate;
public static Item itemArmorTitanleggings;
public static Item itemArmorTitanboots;
//Tools
public static ToolMaterial OsidiumMaterial;
public static ToolMaterial OsmiumMaterial;
public static ToolMaterial IridiumMaterial;
public static ToolMaterial PlatinumMaterial;
public static ToolMaterial TitanMaterial;
public static Item OsidiumSword;
public static Item OsidiumPickaxe;
public static Item OsidiumAxe;
public static Item OsidiumShovel;
public static Item OsmiumSword;
public static Item OsmiumPickaxe;
public static Item OsmiumAxe;
public static Item OsmiumShovel;
public static Item IridiumSword;
public static Item IridiumPickaxe;
public static Item IridiumAxe;
public static Item IridiumShovel;
public static Item PlatinumSword;
public static Item PlatinumPickaxe;
public static Item PlatinumAxe;
public static Item PlatinumShovel;
public static Item TitanSword;
public static Item TitanPickaxe;
public static Item TitanAxe;
public static Item TitanShovel;

//Staffs
public static Item itemTeleportstaff;
public static Item itemSunStaff;





@EventHandler
public void preinit(FMLInitializationEvent event)
{
	instance = this;
//		 = new ().setBlockName("").setBlockTextureName(MODID + ":" + "");
//		registerBlock(, "");
	//Blocks


	blockElementMixer = new BlockElementMixer().setBlockName("Element Mixer").setBlockTextureName(MODID + ":" + "blockElementMixer");
	registerBlock(blockElementMixer, "Element Mixer");
	//Ores

	blockIridiumOre = new BlockIridiumOre().setBlockName("Iridium Ore").setBlockTextureName(MODID + ":" + "blockIridiumOre");
	registerBlock(blockIridiumOre, "Iridium Ore");

	blockOsmiumOre = new BlockOsmiumOre().setBlockName("Osmium Ore").setBlockTextureName(MODID + ":" + "blockOsmiumOre");
	registerBlock(blockOsmiumOre, "Osmium Ore");

	blockPlatinumOre = new BlockPlatinumOre().setBlockName("Platinum Ore").setBlockTextureName(MODID + ":" + "blockPlatinumOre");
	registerBlock(blockPlatinumOre, "Platinum Ore");

	blockTitanOre = new BlockTitanOre().setBlockName("Titan Ore").setBlockTextureName(MODID + ":" + "blockTitanOre");
	registerBlock(blockTitanOre, "Titan Ore");

	blockIridiumBlock = new BlockIridiumBlock().setBlockName("Iridium Block").setBlockTextureName(MODID + ":" + "blockIridiumBlock");
	registerBlock(blockIridiumBlock, "Iridium Block");

	blockOsmiumBlock = new BlockOsmiumBlock().setBlockName("Osmium Block").setBlockTextureName(MODID + ":" + "blockOsmiumBlock");
	registerBlock(blockOsmiumBlock, "Osmium Block");

	blockPlatinumBlock = new BlockPlatinumBlock().setBlockName("Platinum Block").setBlockTextureName(MODID + ":" + "blockPlatinumBlock");
	registerBlock(blockPlatinumBlock, "Platinum Block");

	blockTitanBlock = new BlockTitanBlock().setBlockName("Titan Block").setBlockTextureName(MODID + ":" + "blockTitanBlock");
	registerBlock(blockTitanBlock, "Titan Block");

	blockOsidiumBlock = new BlockOsidiumBlock().setBlockName("Osidium Block").setBlockTextureName(MODID + ":" + "blockOsidiumBlock");
	registerBlock(blockOsidiumBlock, "Osidium Block");
	//Ingots
	// = new ().setTextureName(MODID + ":" + "").setUnlocalizedName("");
	//registerItem(, "");

	itemIridiumIngot = new ItemIridiumItem().setTextureName(MODID + ":" + "IridiumItem").setUnlocalizedName("Iridium Ingot");
	registerItem(itemIridiumIngot, "Iridium");

	itemOsmiumIngot = new ItemOsmiumItem().setTextureName(MODID + ":" + "OsmiumItem").setUnlocalizedName("Osmium Ingot");
	registerItem(itemOsmiumIngot, "Osmium");

	itemOsidiumIngot = new ItemOsidiumItem().setTextureName(MODID + ":" + "OsidiumItem").setUnlocalizedName("Osidium Ingot");
	registerItem(itemOsidiumIngot, "Osidium");

	itemPlatinumIngot = new ItemPlatinumIngot().setTextureName(MODID + ":" + "PlatinumItem").setUnlocalizedName("Platinum Ingot");
	registerItem(itemPlatinumIngot, "Platinum");

	itemTitanIngot = new ItemTitanIngot().setTextureName(MODID + ":" + "TitanItem").setUnlocalizedName("Titan Ingot");
	registerItem(itemTitanIngot, "Titan");

	//Armors
//		 = new  (701, , 0, 0, "").setUnlocalizedName("");
//    	registerItem(, "");
	Osidiumarmor = EnumHelper.addArmorMaterial("OsidiumArmor",33, new int[]{4, 9, 7, 4}, 25);
	Osmiumarmor = EnumHelper.addArmorMaterial("OsmiumArmor",33, new int[]{3, 8, 6, 3}, 25);
	Iridiumarmor = EnumHelper.addArmorMaterial("IridiumArmor",33, new int[]{3, 8, 6, 3}, 25);
	Platinumarmor = EnumHelper.addArmorMaterial("PlatinumArmor",33, new int[]{2, 7, 6, 3}, 25);
	Titanarmor = EnumHelper.addArmorMaterial("TitanArmor",33, new int[]{2, 7, 6, 3}, 25);

	itemArmorOsidiumHelmet = new itemAmorOsidiumArmor (7012, Osidiumarmor, 0, 0, "Odsidium Helmet").setUnlocalizedName("Osidium Helmet");
    	registerItem(itemArmorOsidiumHelmet, "Osidium Helmet");
    	
    	itemArmorOsidiumchestplate = new itemAmorOsidiumArmor (7013, Osidiumarmor, 0, 1, "Osidium Chestplate").setUnlocalizedName("Osidium Chestplate");
    	registerItem(itemArmorOsidiumchestplate, "Osidium Chestplate");
    	
    	itemArmorOsidiumleggings = new itemAmorOsidiumArmor (7014, Osidiumarmor, 0, 2, "Osidium Leggings").setUnlocalizedName("Osidium Leggings");
    	registerItem(itemArmorOsidiumleggings, "Osidium Leggings");
    	
    	itemArmorOsidiumboots = new itemAmorOsidiumArmor (7015, Osidiumarmor, 0, 3, "Osidium Boots").setUnlocalizedName("Osidium Boots");
    	registerItem(itemArmorOsidiumboots, "Osidium Boots");
    	
    	itemArmorOsmiumHelmet= new ItemArmorOsmiumArmor (7016, Osmiumarmor, 0, 0, "Osmium Helmet").setUnlocalizedName("Osmium Helmet");
    	registerItem(itemArmorOsmiumHelmet, "Osmium Helmet");

    	itemArmorOsmiumchestplate= new ItemArmorOsmiumArmor (7017, Osmiumarmor, 0, 1, "Osmium Chestplate").setUnlocalizedName("Osmium Chestplate");
    	registerItem(itemArmorOsmiumchestplate, "Osmium Chestplate");
    
    	itemArmorOsmiumboots= new ItemArmorOsmiumArmor (7018, Osmiumarmor, 0, 2, "Osmium Leggings").setUnlocalizedName("Osmium Leggings");
    	registerItem(itemArmorOsmiumboots, "Osmium Leggings");

    	itemArmorOsmiumboots= new ItemArmorOsmiumArmor (7019, Osmiumarmor, 0, 3, "Osmium Boots").setUnlocalizedName("Osmium Boots");
    	registerItem(itemArmorOsmiumboots, "Osmium Boots");
    	
    	itemArmorIridiumHelmet= new ItemArmorIridiumArmor (7020, Iridiumarmor, 0, 0, "Iridium Helmet").setUnlocalizedName("Iridium Helmet");
    	registerItem(itemArmorIridiumHelmet, "Iridium Helmet");

    	itemArmorIridiumchestplate= new ItemArmorIridiumArmor (7021, Iridiumarmor, 0, 1, "Irdidum Chestplate").setUnlocalizedName("Iridium Chestplate");
    	registerItem(itemArmorIridiumchestplate, "Iridium Chestplate");
    
    	itemArmorIridiumleggings= new ItemArmorIridiumArmor (7022, Iridiumarmor, 0, 2, "Iridium Leggings").setUnlocalizedName("Iridium Leggings");
    	registerItem(itemArmorIridiumleggings, "Iridium Leggings");

    	itemArmorIridiumboots= new ItemArmorIridiumArmor (7023, Iridiumarmor, 0, 3, "Iridium Boots").setUnlocalizedName("Iridium Boots");
    	registerItem(itemArmorIridiumboots, "Iridium Boots");
    	
    	itemArmorPlatinumHelmet = new ItemArmorPlatinumArmor (7024, Platinumarmor, 0, 0, "Platinum Helmet").setUnlocalizedName("Platinum Helmet");
    	registerItem(itemArmorPlatinumHelmet, "Platinum Helmet");

    	itemArmorPlatinumchestplate= new ItemArmorPlatinumArmor (7025, Platinumarmor, 0, 1, "Platinum Chestplate").setUnlocalizedName("Platinum Chestplate");
    	registerItem(itemArmorPlatinumchestplate, "Platinum Chestplate");
    
    	itemArmorPlatinumleggings= new ItemArmorPlatinumArmor (7026, Platinumarmor, 0, 2, "Platinum Leggings").setUnlocalizedName("PLatinum Leggings");
    	registerItem(itemArmorPlatinumleggings, "Platinum Leggings");

    	itemArmorPlatinumboots= new ItemArmorPlatinumArmor (7027, Platinumarmor, 0, 3, "Platinum Boots").setUnlocalizedName("Platinum Boots");
    	registerItem(itemArmorPlatinumboots, "Platinum Boots");
    	
    	itemArmorTitanHelmet = new ItemArmorTitanArmor (7024, Titanarmor, 0, 0, "Titan Helmet").setUnlocalizedName("Titan Helmet");
    	registerItem(itemArmorTitanHelmet, "Titan Helmet");

    	itemArmorTitanchestplate= new ItemArmorTitanArmor (7025, Titanarmor, 0, 1, "Titan Chestplate").setUnlocalizedName("Titan Chestplate");
    	registerItem(itemArmorTitanchestplate, "Titan Chestplate");
    
    	itemArmorTitanleggings= new ItemArmorTitanArmor (7026,Titanarmor, 0, 2, "Titan Leggings").setUnlocalizedName("Titan Leggings");
    	registerItem(itemArmorTitanleggings, "Titan Leggings");

    	itemArmorTitanboots= new ItemArmorTitanArmor (7027, Titanarmor, 0, 3, "Titan Boots").setUnlocalizedName("Titan Boots");
    	registerItem(itemArmorTitanboots, "Titan Boots");
    	
    	//Staffs
    	itemTeleportstaff = new ItemTeleportstaff().setTextureName(MODID + ":" + "TeleportItem").setUnlocalizedName("Teleport Staff").setCreativeTab(PeriodicsystemTools);
	registerItem(itemTeleportstaff, "Teleport Staff");
	itemSunStaff = new ItemSunstaff().setTextureName(MODID + ":" + "SunStaff").setUnlocalizedName("Sun Staff").setCreativeTab(PeriodicsystemTools);
	registerItem(itemSunStaff, "Sun Staff");

	//Tools
//    	 = new (700, ).setTextureName(MODID + ":" + "").setUnlocalizedName("").setCreativeTab(PeriodicsystemTools);
//		registerItem(, "");
    	OsidiumMaterial = EnumHelper.addToolMaterial("OsidiumMaterial", 3, 1601, 9.0F, 5.0F, 16);
    	OsmiumMaterial = EnumHelper.addToolMaterial("OsmaniumMaterial", 3, 1501, 9.0F, 5.0F, 16);
    	IridiumMaterial = EnumHelper.addToolMaterial("IridiumMaterial", 3, 1501, 9.0F, 4.0F, 16);
    	PlatinumMaterial = EnumHelper.addToolMaterial("PlatinumMaterial", 3, 1301, 9.0F, 2.5F, 16);
    	TitanMaterial = EnumHelper.addToolMaterial("TitanMaterial", 3, 2001, 7.0F, 2.5F, 16);

    	OsidiumSword = new OsidiumSword(7001, OsidiumMaterial).setTextureName(MODID + ":" + "Osidiumsword").setUnlocalizedName("Osidium Sword").setCreativeTab(Periodicsystem.PeriodicsystemTools);
	registerItem(OsidiumSword, "Osidium Sword");
	OsidiumPickaxe = new OsidiumPickaxe(7002, OsidiumMaterial).setTextureName(MODID + ":" + "Osidiumpickaxe").setUnlocalizedName("Osidium Pickaxe").setCreativeTab(PeriodicsystemTools);
	registerItem(OsidiumPickaxe, "Osidium Pickaxe");
	OsidiumAxe = new OsidiumAxe(7001, OsidiumMaterial).setTextureName(MODID + ":" + "Osidiumaxe").setUnlocalizedName("Osidium Axe").setCreativeTab(PeriodicsystemTools);
	registerItem(OsidiumAxe, "Osidium Axe");
	OsidiumShovel = new OsidiumShovel(7001, OsidiumMaterial).setTextureName(MODID + ":" + "Osidiumshovel").setUnlocalizedName("Osidium Shovel").setCreativeTab(PeriodicsystemTools);
	registerItem(OsidiumShovel, "Osidium Shovel");


	OsmiumSword = new OsmaniumSword (7003, OsmiumMaterial).setTextureName(MODID + ":" + "OsmiumSword").setUnlocalizedName("Osmium Sword").setCreativeTab(PeriodicsystemTools);
	registerItem(OsmiumSword, "Osmium Sword");
	OsmiumPickaxe = new OsmaniumPickaxe (7003, OsmiumMaterial).setTextureName(MODID + ":" + "OsmiumPickaxe").setUnlocalizedName("Osmium Pickaxe").setCreativeTab(PeriodicsystemTools);
	registerItem(OsmiumPickaxe, "Osmium Pickaxe");
	OsmiumAxe = new OsmaniumAxe (7003, OsmiumMaterial).setTextureName(MODID + ":" + "OsmiumAxe").setUnlocalizedName("Osmium Axe").setCreativeTab(PeriodicsystemTools);
	registerItem(OsmiumAxe, "Osmium Axe");
	OsmiumShovel = new OsmaniumShovel (7003, OsmiumMaterial).setTextureName(MODID + ":" + "OsmiumShovel").setUnlocalizedName("Osmium Shovel").setCreativeTab(PeriodicsystemTools);
	registerItem(OsmiumShovel, "Osmium Shovel");
	IridiumSword = new IridiumSword (7003, IridiumMaterial).setTextureName(MODID + ":" + "IridiumSword").setUnlocalizedName("Iridium Sword").setCreativeTab(PeriodicsystemTools);
	registerItem(IridiumSword, "Iridium Sword");
	IridiumPickaxe = new IridiumPickaxe (7003, IridiumMaterial).setTextureName(MODID + ":" + "IridiumPickaxe").setUnlocalizedName("Iridium Pickaxe").setCreativeTab(PeriodicsystemTools);
	registerItem(IridiumPickaxe, "Iridium Pickaxe");
	IridiumAxe = new IridiumAxe (7003, IridiumMaterial).setTextureName(MODID + ":" + "IridiumAxe").setUnlocalizedName("iridium Axe").setCreativeTab(PeriodicsystemTools);
	registerItem(IridiumAxe, "Iridium Axe");
	IridiumShovel = new IridiumShovel (7003, IridiumMaterial).setTextureName(MODID + ":" + "IridiumShovel").setUnlocalizedName("Iridium Shovel").setCreativeTab(PeriodicsystemTools);
	registerItem(IridiumShovel, "Iridium Shovel");
	PlatinumSword = new PlatinumSword (7003, PlatinumMaterial).setTextureName(MODID + ":" + "PlatinumSword").setUnlocalizedName("Platinum Sword").setCreativeTab(PeriodicsystemTools);
	registerItem(PlatinumSword, "Platinum Sword");
	PlatinumPickaxe = new PlatinumPickaxe (7003, PlatinumMaterial).setTextureName(MODID + ":" + "PlatinumPickaxe").setUnlocalizedName("Platinum Pickaxe").setCreativeTab(PeriodicsystemTools);
	registerItem(PlatinumPickaxe, "Platinum Pickaxe");
	PlatinumAxe = new PlatniumAxe (7003, PlatinumMaterial).setTextureName(MODID + ":" + "PlatinumAxe").setUnlocalizedName("Platnium Axe").setCreativeTab(PeriodicsystemTools);
	registerItem(PlatinumAxe, "Platinum Axe");
	PlatinumShovel = new PlatinumShovel (7003, PlatinumMaterial).setTextureName(MODID + ":" + "PlatinumShovel").setUnlocalizedName("Platinum Shovel").setCreativeTab(PeriodicsystemTools);
	registerItem(PlatinumShovel, "Platinum Shovel");
	TitanSword = new TitanSword (7003, TitanMaterial).setTextureName(MODID + ":" + "TitanSword").setUnlocalizedName("Titan Sword").setCreativeTab(PeriodicsystemTools);
	registerItem(TitanSword, "Titan Sword");
	TitanPickaxe = new TitanPickaxe (7003, TitanMaterial).setTextureName(MODID + ":" + "TitanPickaxe").setUnlocalizedName("Titan Pickaxe").setCreativeTab(PeriodicsystemTools);
	registerItem(TitanPickaxe, "Titan Pickaxe");
	TitanAxe = new TitanAxe (7003, TitanMaterial).setTextureName(MODID + ":" + "TitanAxe").setUnlocalizedName("Titan Axe").setCreativeTab(PeriodicsystemTools);
	registerItem(TitanAxe, "Titan Axe");
	TitanShovel = new TitanShovel (7003, TitanMaterial).setTextureName(MODID + ":" + "TitanShovel").setUnlocalizedName("Titan Shovel").setCreativeTab(PeriodicsystemTools);
	registerItem(TitanShovel, "Titan Shovel");
	//WorldGenerator
	GameRegistry.registerWorldGenerator(UtilityPlusGen, 1);




//		Smelting Recipies
	GameRegistry.addSmelting(blockIridiumOre, new ItemStack(Periodicsystem.itemIridiumIngot, 1), 2.50F);

	GameRegistry.addSmelting(blockPlatinumOre, new ItemStack(itemPlatinumIngot, 1), 2.50F);
	GameRegistry.addSmelting(blockOsmiumOre, new ItemStack(itemOsmiumIngot, 1), 2.50F);
	GameRegistry.addSmelting(blockTitanOre, new ItemStack(itemTitanIngot, 1), 2.50F);
//		Crafting Recepies
	GameRegistry.addShapelessRecipe(new ItemStack(Periodicsystem.itemOsidiumIngot), new ItemStack(Items.diamond),new ItemStack(Periodicsystem.itemOsmiumIngot), new ItemStack(Periodicsystem.itemIridiumIngot));
//		GameRegistry.addRecipe(new ItemStack(Periodicsystem.),new Object[]{"","","",'', Periodicsystem., '', Periodicsystem., '', Periodicsystem.]);
	//Blocks
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.blockOsidiumBlock),new Object[]{"OOO","OOO","OOO",'O', Periodicsystem.itemOsidiumIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.blockIridiumBlock),new Object[]{"III","III","III",'I', Periodicsystem.itemIridiumIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.blockTitanBlock),new Object[]{"TTT","TTT","TTT",'T', Periodicsystem.itemTitanIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.blockOsmiumBlock),new Object[]{"OOO","OOO","OOO",'O', Periodicsystem.itemOsmiumIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.blockPlatinumBlock),new Object[]{"PPP","PPP","PPP",'P', Periodicsystem.itemPlatinumIngot});
	//Armor
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsidiumHelmet),new Object[]{"OOO","ONO","NNN",'O', Periodicsystem.itemOsidiumIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsidiumchestplate),new Object[]{"ONO","OOO","OOO",'O', Periodicsystem.itemOsidiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsidiumleggings),new Object[]{"OOO","ONO","ONO",'O', Periodicsystem.itemOsidiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsidiumboots),new Object[]{"NNN","ONO","ONO",'O', Periodicsystem.itemOsmiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsmiumHelmet),new Object[]{"OOO","ONO","NNN",'O', Periodicsystem.itemOsmiumIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsmiumchestplate),new Object[]{"ONO","OOO","OOO",'O', Periodicsystem.itemOsmiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsmiumleggings),new Object[]{"OOO","ONO","ONO",'O', Periodicsystem.itemOsmiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorOsmiumboots),new Object[]{"NNN","ONO","ONO",'O', Periodicsystem.itemOsmiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorTitanHelmet),new Object[]{"OOO","ONO","NNN",'O', Periodicsystem.itemTitanIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorTitanchestplate),new Object[]{"ONO","OOO","OOO",'O', Periodicsystem.itemTitanIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorTitanleggings),new Object[]{"OOO","ONO","ONO",'O', Periodicsystem.itemTitanIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorPlatinumboots),new Object[]{"NNN","ONO","ONO",'O', Periodicsystem.itemTitanIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorPlatinumHelmet),new Object[]{"OOO","ONO","NNN",'O', Periodicsystem.itemPlatinumIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorPlatinumchestplate),new Object[]{"ONO","OOO","OOO",'O', Periodicsystem.itemPlatinumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorPlatinumleggings),new Object[]{"OOO","ONO","ONO",'O', Periodicsystem.itemPlatinumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorPlatinumboots),new Object[]{"NNN","ONO","ONO",'O', Periodicsystem.itemPlatinumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorIridiumHelmet),new Object[]{"OOO","ONO","NNN",'O', Periodicsystem.itemIridiumIngot});
	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorIridiumchestplate),new Object[]{"ONO","OOO","OOO",'O', Periodicsystem.itemIridiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorIridiumleggings),new Object[]{"OOO","ONO","ONO",'O', Periodicsystem.itemIridiumIngot});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemArmorIridiumboots),new Object[]{"NNN","ONO","ONO",'O', Periodicsystem.itemIridiumIngot});
    	//Tools
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.IridiumSword),new Object[]{"NIN","OIO","OSO",'I', Periodicsystem.itemIridiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsidiumSword),new Object[]{"NIN","OIO","OSO",'I', Periodicsystem.itemOsidiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.PlatinumSword),new Object[]{"NIN","OIO","OSO",'I', Periodicsystem.itemPlatinumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.TitanSword),new Object[]{"NIN","OIO","OSO",'I', Periodicsystem.itemTitanIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsmiumSword),new Object[]{"NIN","OIO","OSO",'I', Periodicsystem.itemOsmiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.IridiumPickaxe),new Object[]{"III","OSO","OSO",'I', Periodicsystem.itemIridiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsidiumPickaxe),new Object[]{"III","OSO","OSO",'I', Periodicsystem.itemOsidiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.PlatinumPickaxe),new Object[]{"III","OSO","OSO",'I', Periodicsystem.itemPlatinumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.TitanPickaxe),new Object[]{"III","OSO","OSO",'I', Periodicsystem.itemTitanIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsmiumPickaxe),new Object[]{"III","OSO","OSO",'I', Periodicsystem.itemOsmiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.IridiumAxe),new Object[]{"IIO","ISO","OSO",'I', Periodicsystem.itemIridiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsidiumAxe),new Object[]{"IIO","ISO","OSO",'I', Periodicsystem.itemOsidiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.PlatinumAxe),new Object[]{"IIO","ISO","OSO",'I', Periodicsystem.itemPlatinumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.TitanAxe),new Object[]{"IIO","ISO","OSO",'I', Periodicsystem.itemTitanIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsmiumAxe),new Object[]{"IIO","ISO","OSO",'I', Periodicsystem.itemOsmiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.IridiumShovel),new Object[]{"OIO","OSO","OSO",'I', Periodicsystem.itemIridiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsidiumShovel),new Object[]{"OIO","OSO","OSO",'I', Periodicsystem.itemOsidiumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.PlatinumShovel),new Object[]{"OIO","OSO","OSO",'I', Periodicsystem.itemPlatinumIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.TitanShovel),new Object[]{"OIO","OSO","OSO",'I', Periodicsystem.itemTitanIngot, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.OsmiumShovel),new Object[]{"OIO","OSO","OSO",'I', Periodicsystem.itemOsmiumIngot, 'S', Items.stick});
    	//Staffs
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemTeleportstaff),new Object[]{"OOB","OSO","SOO",'B', Periodicsystem.blockOsidiumBlock, 'S', Items.stick});
    	GameRegistry.addRecipe(new ItemStack(Periodicsystem.itemSunStaff),new Object[]{"OFB","OSO","SOO",'B', Periodicsystem.blockOsidiumBlock, 'S', Items.stick, 'F', Items.clock});
    	NetworkRegistry.INSTANCE.registerGuiHandler(this, new PeriodicsystemGuiHandler());
}






@EventHandler
    public void registerItem(Item item, String name)
    { 
    	GameRegistry.registerItem(item, item.getUnlocalizedName());
    	LanguageRegistry.addName(item, name);
    }
public void registerBlock(Block block, String name)
    { 
    	GameRegistry.registerBlock(block, block.getUnlocalizedName());
    	LanguageRegistry.addName(block, name);
    }
public void init(FMLInitializationEvent event)
{

}

public static ItemStack getSmeltingResult(Item i, Item j, Item k, Item l, Item m, Item n)
    {
        return getOutput(i, j, k, l, m, n);
    }

 private static ItemStack getOutput(Item i, Item j, Item k, Item l, Item m, Item n)
    {
    	if(i == Items.diamond && j == Periodicsystem.itemIridiumIngot && k == Periodicsystem.itemOsmiumIngot){
           
    		return new ItemStack(Periodicsystem.itemOsidiumIngot);
        }
    	return null;
    }











}

 

TileEntityElementMixer

 

package com.kloon.periodicsystem;

import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.inventory.ISidedInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.nbt.NBTTagList;
import net.minecraft.tileentity.TileEntity;

public class TileEntityElementMixer extends TileEntity implements ISidedInventory {

private ItemStack[] slots = new ItemStack[6];

ItemStack itemstack = Periodicsystem.getSmeltingResult(slots[0].getItem(), slots[1].getItem(),slots[2].getItem(),slots[2].getItem(),slots[3].getItem(),slots[4].getItem());

public void readfromNBT(NBTTagCompound nbt)
{
	super.readFromNBT(nbt);

	NBTTagList list = nbt.getTagList("Slots", 6);
	this.slots = new ItemStack[getSizeInventory()];
	for(int i = 0; i < list.tagCount(); i ++){
		NBTTagCompound item = list.getCompoundTagAt(i);
		byte b = item.getByte("item");

		if(b >= 0 && b < this.slots.length){
			this.slots[b] = ItemStack.loadItemStackFromNBT(item);
		}

	}
}

public void writetoNBT(NBTTagCompound nbt)
{
	super.writeToNBT(nbt);

	NBTTagList list = new NBTTagList();

	for(int i = 0; i < this.slots.length; i++) {
		if(this.slots[i] != null) {
			NBTTagCompound item = new NBTTagCompound();
			item.setByte("Item", (byte)i);
			this.slots[i].writeToNBT(item);
			list.appendTag(item);
		}
	}

	nbt.setTag("Slots", list);
	if(this.hasCustomInventoryName()){
		nbt.setString("CustomName", this.getInventoryName());
	}
}
public int getSizeInventory() {

	return this.slots.length;
}

public ItemStack getStackInSlot(int i) {

	return this.slots[i];
}

public ItemStack decrStackSize(int i, int j) {
	if(this.slots[i] != null){
		ItemStack itemstack;

		if(this.slots[i].stackSize <= j){
			itemstack = this.slots[i];
			this.slots[i] = null;
		}else{
			itemstack = this.slots[i].splitStack(j);

			if(this.slots[i].stackSize == 0){
				this.slots[i] = null;


			}
		}

		return itemstack;
	}

	return null;
}


public ItemStack getStackInSlotOnClosing(int i) {
	if(this.slots[i] != null)
	{
		ItemStack itemstack = this.slots[i];
		this.slots[i] = null;
		return itemstack;
	}
	return null;
}

public void setInventorySlotContents(int i, ItemStack itemstack) {
	this.slots[i] = itemstack;

	if(itemstack != null && itemstack.stackSize > this.getInventoryStackLimit())
	{
	itemstack.stackSize = this.getInventoryStackLimit();
	}


}

public String getInventoryName() {

	return null;
}

public boolean hasCustomInventoryName() {

	return false;
}

public int getInventoryStackLimit() {

	return 1;
}

public boolean isUseableByPlayer(EntityPlayer var1) {

	return false;
}

public void openInventory() {


}

public void closeInventory() {


}

public boolean isItemValidForSlot(int var1, ItemStack var2) {

	return false;
}

public int[] getAccessibleSlotsFromSide(int var1) {

	return null;
}

public boolean canInsertItem(int var1, ItemStack var2, int var3) {

	return false;
}

public boolean canExtractItem(int var1, ItemStack var2, int var3) {

	return false;
}

public void markDirty() {
	return;

}


}

 

Crash Report

 

[21:09:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[21:09:03] [main/INFO] [LaunchWrapper]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker

[21:09:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker

[21:09:03] [main/INFO] [FML]: Forge Mod Loader version 7.2.156.1060 for Minecraft 1.7.2 loading

[21:09:03] [main/INFO] [FML]: Java is Java HotSpot 64-Bit Server VM, version 1.8.0, running on Windows 7:amd64:6.1, installed at C:\Program Files\Java\jre8

[21:09:03] [main/INFO] [FML]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation

[21:09:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[21:09:03] [main/INFO] [LaunchWrapper]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker

[21:09:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[21:09:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker

[21:09:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[21:09:03] [main/ERROR] [FML]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!

[21:09:03] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/Tim/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!

[21:09:03] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!

[21:09:03] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/Tim/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it

[21:09:03] [main/ERROR] [FML]: FML appears to be missing any signature data. This is not a good thing

[21:09:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper

[21:09:03] [main/INFO] [LaunchWrapper]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker

[21:09:04] [main/INFO] [LaunchWrapper]: Launching wrapped minecraft {net.minecraft.client.main.Main}

[21:09:04] [main/INFO]: Setting user: Player266

[21:09:05] [Client thread/INFO]: LWJGL Version: 2.9.0

[21:09:06] [Client thread/INFO] [MinecraftForge]: Attempting early MinecraftForge initialization

[21:09:06] [Client thread/INFO] [FML]: MinecraftForge v10.12.1.1060 Initialized

[21:09:06] [Client thread/INFO] [FML]: Replaced 141 ore recipies

[21:09:06] [Client thread/INFO] [MinecraftForge]: Completed early MinecraftForge initialization

[21:09:06] [Client thread/INFO] [FML]: Searching C:\Users\Tim\Desktop\forge\ForgeMods\eclipse\mods for mods

[21:09:06] [Client thread/INFO] [Periodicsystem]: Mod Periodicsystem is missing the required element 'name'. Substituting Periodicsystem

[21:09:07] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error.  There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!

[21:09:10] [Client thread/INFO] [FML]: Forge Mod Loader has identified 5 mods to load

[21:09:10] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:Periodicsystem

[21:09:10] [Client thread/ERROR] [Periodicsystem]: The mod Periodicsystem appears to have an invalid event annotation EventHandler. This annotation can only apply to methods with recognized event arguments - it will not be called

[21:09:10] [Client thread/INFO] [FML]: Configured a dormant chunk cache size of 0

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

 

[21:09:11] [sound Library Loader/INFO]: Sound engine started

[21:09:11] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[21:09:11] [Client thread/INFO]: Created: 256x256 textures/items-atlas

DIRT BLOCK >> tile.dirt

[21:09:11] [Client thread/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods

[21:09:11] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Example Mod, FMLFileResourcePack:Periodicsystem

[21:09:12] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas

[21:09:12] [Client thread/INFO]: Created: 512x256 textures/items-atlas

 

SoundSystem shutting down...

    Author: Paul Lamb, www.paulscode.com

 

 

Starting up SoundSystem...

Initializing LWJGL OpenAL

    (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

OpenAL initialized.

 

[21:09:13] [sound Library Loader/INFO]: Sound engine started

[21:09:13] [MCO Availability Checker #1/ERROR]: Couldn't connect to Realms

[21:09:15] [server thread/INFO]: Starting integrated minecraft server version 1.7.2

[21:09:15] [server thread/INFO]: Generating keypair

[21:09:15] [server thread/INFO] [FML]: Injecting existing block and item data into this server instance

[21:09:15] [server thread/INFO] [FML]: Loading dimension 0 (Periodicsytem) (net.minecraft.server.integrated.IntegratedServer@678c090e)

[21:09:15] [server thread/INFO] [FML]: Loading dimension 1 (Periodicsytem) (net.minecraft.server.integrated.IntegratedServer@678c090e)

[21:09:15] [server thread/INFO] [FML]: Loading dimension -1 (Periodicsytem) (net.minecraft.server.integrated.IntegratedServer@678c090e)

[21:09:15] [server thread/INFO]: Preparing start region for level 0

[21:09:17] [Netty Client IO #0/INFO] [FML]: Server protocol version 1

[21:09:17] [Netty IO #1/INFO] [FML]: Client protocol version 1

[21:09:17] [Netty IO #1/INFO] [FML]: Client attempting to join with 5 mods : [email protected],[email protected],[email protected],[email protected],[email protected]

[21:09:17] [Netty IO #1/INFO] [FML]: Attempting connection with missing mods [] at CLIENT

[21:09:17] [Netty Client IO #0/INFO] [FML]: Attempting connection with missing mods [] at SERVER

[21:09:17] [server thread/INFO] [FML]: [server thread] Server side modded connection established

[21:09:17] [server thread/INFO]: Player266[local:E:1f2ed508] logged in with entity id 233 at (-55.12151469460948, 69.7801638636423, 1.4004126724857207)

[21:09:17] [Client thread/INFO] [FML]: [Client thread] Client side modded connection established

[21:09:17] [server thread/INFO]: Player266 joined the game

[21:09:18] [Client thread/FATAL]: Unreported exception thrown!

java.lang.NullPointerException

at com.kloon.periodicsystem.TileEntityElementMixer.<init>(TileEntityElementMixer.java:16) ~[TileEntityElementMixer.class:?]

at com.kloon.periodicsystem.BlockElementMixer.createNewTileEntity(BlockElementMixer.java:58) ~[blockElementMixer.class:?]

at net.minecraft.block.Block.createTileEntity(Block.java:1764) ~[block.class:?]

at net.minecraft.world.chunk.Chunk.func_150806_e(Chunk.java:938) ~[Chunk.class:?]

at net.minecraft.world.ChunkCache.getTileEntity(ChunkCache.java:103) ~[ChunkCache.class:?]

at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:188) ~[WorldRenderer.class:?]

at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1616) ~[RenderGlobal.class:?]

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1259) ~[EntityRenderer.class:?]

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1098) ~[EntityRenderer.class:?]

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1022) ~[Minecraft.class:?]

at net.minecraft.client.Minecraft.run(Minecraft.java:910) [Minecraft.class:?]

at net.minecraft.client.main.Main.main(Main.java:112) [Main.class:?]

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0]

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:1.8.0]

at java.lang.reflect.Method.invoke(Unknown Source) ~[?:1.8.0]

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134) [launchwrapper-1.9.jar:?]

at net.minecraft.launchwrapper.Launch.main(Launch.java:28) [launchwrapper-1.9.jar:?]

[21:09:18] [server thread/INFO]: Stopping server

---- Minecraft Crash Report ----

// Don't do that.

 

Time: 30.05.14 21:09

Description: Unexpected error

 

java.lang.NullPointerException: Unexpected error

at com.kloon.periodicsystem.TileEntityElementMixer.<init>(TileEntityElementMixer.java:16)

at com.kloon.periodicsystem.BlockElementMixer.createNewTileEntity(BlockElementMixer.java:58)

at net.minecraft.block.Block.createTileEntity(Block.java:1764)

at net.minecraft.world.chunk.Chunk.func_150806_e(Chunk.java:938)

at net.minecraft.world.ChunkCache.getTileEntity(ChunkCache.java:103)

at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:188)

at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1616)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1259)

at net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1098)

at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1022)

at net.minecraft.client.Minecraft.run(Minecraft.java:910)

at net.minecraft.client.main.Main.main(Main.java:112)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

 

A detailed walkthrough of the error, its code path and all known details is as follows:

---------------------------------------------------------------------------------------

 

-- Head --

Stacktrace:

at com.kloon.periodicsystem.TileEntityElementMixer.<init>(TileEntityElementMixer.java:16)

at com.kloon.periodicsystem.BlockElementMixer.createNewTileEntity(BlockElementMixer.java:58)

at net.minecraft.block.Block.createTileEntity(Block.java:1764)

at net.minecraft.world.chunk.Chunk.func_150806_e(Chunk.java:938)

at net.minecraft.world.ChunkCache.getTileEntity(ChunkCache.java:103)

at net.minecraft.client.renderer.WorldRenderer.updateRenderer(WorldRenderer.java:188)

at net.minecraft.client.renderer.RenderGlobal.updateRenderers(RenderGlobal.java:1616)

at net.minecraft.client.renderer.EntityRenderer.renderWorld(EntityRenderer.java:1259)

 

-- Affected level --

Details:

Level name: MpServer

All players: 1 total; [EntityClientPlayerMP['Player266'/233, l='MpServer', x=-55,12, y=71,40, z=1,40]]

Chunk stats: MultiplayerChunkCache: 65, 65

Level seed: 0

Level generator: ID 00 - default, ver 1. Features enabled: false

Level generator options:

Level spawn location: World: (-13,64,-19), Chunk: (at 3,4,13 in -1,-2; contains blocks -16,0,-32 to -1,255,-17), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1)

Level time: 284791 game time, 29119 day time

Level dimension: 0

Level storage version: 0x00000 - Unknown?

Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false)

Level game mode: Game mode: creative (ID 1). Hardcore: false. Cheats: false

Forced entities: 146 total; [EntityBat['Bat'/53, l='MpServer', x=-123,01, y=49,01, z=72,90], EntityPig['Pig'/58, l='MpServer', x=-105,09, y=70,00, z=-3,38], EntityPig['Pig'/59, l='MpServer', x=-108,31, y=65,00, z=52,47], EntityBat['Bat'/60, l='MpServer', x=-106,76, y=55,14, z=79,27], EntityPig['Pig'/61, l='MpServer', x=-98,66, y=67,00, z=67,22], EntitySheep['Sheep'/62, l='MpServer', x=-104,25, y=69,00, z=79,31], EntityPig['Pig'/69, l='MpServer', x=-93,94, y=65,00, z=3,20], EntityPig['Pig'/70, l='MpServer', x=-90,81, y=63,00, z=33,56], EntityPig['Pig'/71, l='MpServer', x=-92,50, y=66,00, z=75,22], EntityBat['Bat'/74, l='MpServer', x=-65,25, y=21,16, z=-24,25], EntityBat['Bat'/79, l='MpServer', x=-61,25, y=62,10, z=-3,25], EntityBat['Bat'/80, l='MpServer', x=-51,31, y=62,10, z=-9,25], EntityBat['Bat'/81, l='MpServer', x=-49,31, y=62,10, z=-13,75], EntityItemFrame['entity.ItemFrame.name'/82, l='MpServer', x=-58,94, y=66,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/83, l='MpServer', x=-58,94, y=66,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/84, l='MpServer', x=-58,94, y=66,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/85, l='MpServer', x=-58,94, y=65,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/86, l='MpServer', x=-58,94, y=65,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/87, l='MpServer', x=-58,94, y=65,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/88, l='MpServer', x=-58,94, y=64,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/89, l='MpServer', x=-58,94, y=64,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/90, l='MpServer', x=-58,94, y=64,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/91, l='MpServer', x=-56,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/92, l='MpServer', x=-55,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/93, l='MpServer', x=-54,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/94, l='MpServer', x=-53,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/95, l='MpServer', x=-52,50, y=66,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/96, l='MpServer', x=-52,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/97, l='MpServer', x=-53,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/98, l='MpServer', x=-54,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/99, l='MpServer', x=-55,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/100, l='MpServer', x=-56,50, y=65,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/101, l='MpServer', x=-56,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/102, l='MpServer', x=-55,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/103, l='MpServer', x=-55,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/104, l='MpServer', x=-53,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/105, l='MpServer', x=-53,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/106, l='MpServer', x=-52,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/107, l='MpServer', x=-54,50, y=64,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/108, l='MpServer', x=-55,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/109, l='MpServer', x=-54,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/110, l='MpServer', x=-53,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/111, l='MpServer', x=-52,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/112, l='MpServer', x=-52,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/113, l='MpServer', x=-53,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/114, l='MpServer', x=-54,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/115, l='MpServer', x=-55,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/116, l='MpServer', x=-56,50, y=67,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/117, l='MpServer', x=-56,50, y=68,50, z=-4,94], EntityItemFrame['entity.ItemFrame.name'/118, l='MpServer', x=-58,94, y=67,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/119, l='MpServer', x=-58,94, y=68,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/120, l='MpServer', x=-58,94, y=67,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/121, l='MpServer', x=-58,94, y=68,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/122, l='MpServer', x=-58,94, y=67,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/123, l='MpServer', x=-58,94, y=68,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/124, l='MpServer', x=-50,06, y=64,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/125, l='MpServer', x=-50,06, y=68,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/126, l='MpServer', x=-50,06, y=67,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/127, l='MpServer', x=-50,06, y=65,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/128, l='MpServer', x=-50,06, y=66,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/129, l='MpServer', x=-50,06, y=68,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/130, l='MpServer', x=-50,06, y=67,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/131, l='MpServer', x=-50,06, y=66,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/132, l='MpServer', x=-50,06, y=65,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/133, l='MpServer', x=-50,06, y=64,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/134, l='MpServer', x=-50,06, y=64,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/135, l='MpServer', x=-50,06, y=65,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/136, l='MpServer', x=-50,06, y=68,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/137, l='MpServer', x=-50,06, y=67,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/138, l='MpServer', x=-50,06, y=66,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/139, l='MpServer', x=-50,06, y=69,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/140, l='MpServer', x=-50,06, y=69,50, z=-1,50], EntityItemFrame['entity.ItemFrame.name'/141, l='MpServer', x=-50,06, y=69,50, z=-0,50], EntityItemFrame['entity.ItemFrame.name'/142, l='MpServer', x=-58,94, y=66,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/143, l='MpServer', x=-58,94, y=66,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/144, l='MpServer', x=-58,94, y=65,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/145, l='MpServer', x=-58,94, y=65,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/146, l='MpServer', x=-58,94, y=64,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/147, l='MpServer', x=-58,94, y=64,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/148, l='MpServer', x=-58,94, y=67,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/149, l='MpServer', x=-58,94, y=68,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/150, l='MpServer', x=-58,94, y=67,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/151, l='MpServer', x=-58,94, y=68,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/152, l='MpServer', x=-50,06, y=68,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/153, l='MpServer', x=-50,06, y=67,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/154, l='MpServer', x=-50,06, y=66,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/155, l='MpServer', x=-50,06, y=65,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/156, l='MpServer', x=-50,06, y=64,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/157, l='MpServer', x=-50,06, y=64,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/158, l='MpServer', x=-50,06, y=65,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/159, l='MpServer', x=-50,06, y=66,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/160, l='MpServer', x=-50,06, y=68,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/161, l='MpServer', x=-50,06, y=67,50, z=1,50], EntityItemFrame['entity.ItemFrame.name'/162, l='MpServer', x=-52,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/163, l='MpServer', x=-53,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/164, l='MpServer', x=-56,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/165, l='MpServer', x=-55,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/166, l='MpServer', x=-54,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/167, l='MpServer', x=-54,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/168, l='MpServer', x=-52,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/169, l='MpServer', x=-52,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/170, l='MpServer', x=-53,50, y=67,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/171, l='MpServer', x=-52,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/172, l='MpServer', x=-53,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/173, l='MpServer', x=-54,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/174, l='MpServer', x=-55,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/175, l='MpServer', x=-56,50, y=66,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/176, l='MpServer', x=-56,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/177, l='MpServer', x=-55,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/178, l='MpServer', x=-54,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/179, l='MpServer', x=-53,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/180, l='MpServer', x=-52,50, y=65,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/181, l='MpServer', x=-52,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/182, l='MpServer', x=-53,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/183, l='MpServer', x=-54,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/184, l='MpServer', x=-55,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/185, l='MpServer', x=-56,50, y=64,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/186, l='MpServer', x=-56,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/187, l='MpServer', x=-55,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/188, l='MpServer', x=-54,50, y=68,50, z=3,94], EntityItemFrame['entity.ItemFrame.name'/189, l='MpServer', x=-50,06, y=69,50, z=0,50], EntityItemFrame['entity.ItemFrame.name'/190, l='MpServer', x=-50,06, y=69,50, z=1,50], EntityPig['Pig'/191, l='MpServer', x=-63,16, y=63,00, z=58,22], EntitySquid['Squid'/193, l='MpServer', x=-35,57, y=55,00, z=12,50], EntityItem['item.item.dyePowder.black'/194, l='MpServer', x=-35,56, y=55,13, z=12,13], EntitySquid['Squid'/195, l='MpServer', x=-34,52, y=55,00, z=11,47], EntityItem['item.item.dyePowder.black'/197, l='MpServer', x=-31,75, y=55,13, z=12,88], EntitySquid['Squid'/198, l='MpServer', x=-21,09, y=56,78, z=14,44], EntitySquid['Squid'/199, l='MpServer', x=-30,88, y=55,48, z=11,50], EntitySheep['Sheep'/200, l='MpServer', x=-19,38, y=68,00, z=38,81], EntityItemFrame['entity.ItemFrame.name'/203, l='MpServer', x=-2,50, y=63,50, z=-1,94], EntityItemFrame['entity.ItemFrame.name'/204, l='MpServer', x=-1,94, y=63,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/205, l='MpServer', x=-1,94, y=63,50, z=2,50], EntityItemFrame['entity.ItemFrame.name'/206, l='MpServer', x=-2,50, y=63,50, z=1,94], EntitySquid['Squid'/207, l='MpServer', x=-13,67, y=56,50, z=11,54], EntitySquid['Squid'/208, l='MpServer', x=-15,09, y=60,52, z=14,47], EntitySheep['Sheep'/209, l='MpServer', x=-6,09, y=66,00, z=27,94], EntityPig['Pig'/210, l='MpServer', x=-15,31, y=69,00, z=64,50], EntityItemFrame['entity.ItemFrame.name'/212, l='MpServer', x=1,94, y=63,50, z=-2,50], EntityItemFrame['entity.ItemFrame.name'/213, l='MpServer', x=2,50, y=63,50, z=-1,94], EntityItemFrame['entity.ItemFrame.name'/214, l='MpServer', x=2,50, y=63,50, z=1,94], EntityItemFrame['entity.ItemFrame.name'/215, l='MpServer', x=1,94, y=63,50, z=2,50], EntityBat['Bat'/216, l='MpServer', x=12,84, y=25,95, z=40,56], EntityPig['Pig'/217, l='MpServer', x=14,06, y=64,00, z=43,13], EntityBat['Bat'/218, l='MpServer', x=0,47, y=41,00, z=68,73], EntityClientPlayerMP['Player266'/233, l='MpServer', x=-55,12, y=71,40, z=1,40]]

Retry entities: 0 total; []

Server brand: fml,forge

Server type: Integrated singleplayer server

Stacktrace:

at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:412)

at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2521)

at net.minecraft.client.Minecraft.run(Minecraft.java:939)

at net.minecraft.client.main.Main.main(Main.java:112)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

at java.lang.reflect.Method.invoke(Unknown Source)

at net.minecraft.launchwrapper.Launch.launch(Launch.java:134)

at net.minecraft.launchwrapper.Launch.main(Launch.java:28)

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows 7 (amd64) version 6.1

Java Version: 1.8.0, Oracle Corporation

Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation

Memory: 848154960 bytes (808 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)

JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M

AABB Pool Size: 6711 (375816 bytes; 0 MB) allocated, 3344 (187264 bytes; 0 MB) used

IntCache: cache: 15, tcache: 0, allocated: 13, tallocated: 95

FML: MCP v9.01-pre FML v7.2.156.1060 Minecraft Forge 10.12.1.1060 5 mods loaded, 5 mods active

mcp{8.09} [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

FML{7.2.156.1060} [Forge Mod Loader] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Forge{10.12.1.1060} [Minecraft Forge] (forgeSrc-1.7.2-10.12.1.1060.jar) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

examplemod{1.0} [Example Mod] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Periodicsystem{1.0} [Periodicsystem] (bin) Unloaded->Constructed->Pre-initialized->Initialized->Post-initialized->Available->Available->Available->Available

Launched Version: 1.6

LWJGL: 2.9.0

OpenGL: GeForce GTX 650/PCIe/SSE2 GL version 4.3.0, NVIDIA Corporation

Is Modded: Definitely; Client brand changed to 'fml,forge'

Type: Client (map_client.txt)

Resource Packs: []

Current Language: Deutsch (Deutschland)

Profiler Position: N/A (disabled)

Vec3 Pool Size: 4145 (232120 bytes; 0 MB) allocated, 4145 (232120 bytes; 0 MB) used

Anisotropic Filtering: Off (1)

[21:09:18] [server thread/INFO]: Saving players

#@!@# Game crashed! Crash report saved to: #@!@# C:\Users\Tim\Desktop\forge\ForgeMods\eclipse\.\crash-reports\crash-2014-05-30_21.09.18-client.txt

[21:09:18] [Client Shutdown Thread/INFO]: Stopping server

[21:09:18] [Client Shutdown Thread/INFO]: Saving players

2014-05-30 21:09:18,594 WARN Unable to register shutdown hook due to JVM state

AL lib: (EE) alc_cleanup: 1 device not closed

Java HotSpot 64-Bit Server VM warning: Using incremental CMS is deprecated and will likely be removed in a future release

 

If you know why is my game crashing or you know a better way to make crafting recepis please write it to me ;)

Creator of Extra Shoes

 

Watch out, I'm total jerk, and I'll troll anybody if it feels like its necessary. Pls report me then

Link to comment
Share on other sites

I think that this is null. (thrown by NullPointerException)

ItemStack itemstack = Periodicsystem.getSmeltingResult(slots[0].getItem(), slots[1].getItem(),slots[2].getItem(),slots[2].getItem(),slots[3].getItem(),slots[4].getItem());

 

You have created the ItemStack[] "slots" but who knows what that .getItem() can be, you've never arranged it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.