Jump to content

[1.7.10] [UNSOLVED] Can't wear leggings, helmet or boots.


10forever

Recommended Posts

When I run the game, I try putting on my suuuuuperman armor and I can only put on the chestplate

 

mod.java:

package tntdiamond.RegidMod;

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.event.FMLPostInitializationEvent;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.registry.GameRegistry;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraftforge.common.util.EnumHelper;
import tntdiamond.RegidMod.item.ItemBatmanArmor;
import tntdiamond.RegidMod.item.ItemCheeseArmor;
import tntdiamond.RegidMod.item.ItemCheeseAxe;
import tntdiamond.RegidMod.item.ItemCheeseHoe;
import tntdiamond.RegidMod.item.ItemCheesePickaxe;
import tntdiamond.RegidMod.item.ItemCheeseShovel;
import tntdiamond.RegidMod.item.ItemCheeseSword;
import tntdiamond.RegidMod.item.ItemGalaxySlayer;
import tntdiamond.RegidMod.item.ItemGalaxySword;
import tntdiamond.RegidMod.item.ItemIllusionArmor;
import tntdiamond.RegidMod.item.ItemRegidAxe;
import tntdiamond.RegidMod.item.ItemRegidHoe;
import tntdiamond.RegidMod.item.ItemRegidPickaxe;
import tntdiamond.RegidMod.item.ItemRegidShovel;
import tntdiamond.RegidMod.item.ItemRegidSword;
import tntdiamond.RegidMod.item.ItemSuuuuupermanArmor;

//step 1
@Mod(modid = "rm", name = "Regid Mod", version = "1.0")
public class RegidMod {

public static Item itemRegid; 
public static Block blockRegid;
public static Item itemCheese;
public static Item itemGrilledCheese;
public static Block blockCheese;

public static Item cheeseHelmet;
public static Item cheeseChestplate;
public static Item cheeseLeggings;
public static Item cheeseBoots;

public static Item cheesePickaxe;
public static Item cheeseAxe;
public static Item cheeseShovel;
public static Item cheeseHoe;
public static Item cheeseSword;
public static Item itemCheeseStick;

public static Item regidPickaxe;
public static Item regidAxe;
public static Item regidShovel;
public static Item regidHoe;
public static Item regidSword;

public static Block blockIllusionOre;
public static Block blockIllusion;
public static Item itemIllusion;

public static Item illusionHelmet;
public static Item illusionChestplate;
public static Item illusionLeggings;
public static Item illusionBoots;

public static Item galaxySword;
public static Item galaxySlayer;
public static Item itemHilt;
public static Item itemBlade;
public static Item itemHandle;

public static Item itemStar;
public static Item itemDiamondStick;
public static Item itemMetal;

public static Item itemSuuuuupermanLogo;
public static Item itemBatmanLogo;

public static Item batmanHelmet;
public static Item batmanChestplate;
public static Item batmanLeggings;
public static Item batmanBoots;

public static Item suuuuupermanHelmet;
public static Item suuuuupermanChestplate;
public static Item suuuuupermanLeggings;
public static Item suuuuupermanBoots;

//diamond harvestlevel=4, diamond maxUses = 1560, diamond efficiency = 8.0F, iron = 6.0F, diamond damage = 6.0F, enchantibility diamond = 10
public static final Item.ToolMaterial cheeseToolMaterial = EnumHelper.addToolMaterial("cheeseToolMaterial", 1, 400, 5.0F, 1.5F, 5);
public static final ItemArmor.ArmorMaterial cheeseArmorMaterial = EnumHelper.addArmorMaterial("cheeseArmorMaterial", 400, new int[]{1,4,3,2}, 5);

public static final Item.ToolMaterial galaxyToolMaterial = EnumHelper.addToolMaterial("galaxyToolMaterial", 4, 2500, 12.0F, 17.0F, 15);
public static final Item.ToolMaterial illusionToolMaterial = EnumHelper.addToolMaterial("illusionToolMaterial", 4, 1800, 8.0F, 10.0F, 12);
public static final ItemArmor.ArmorMaterial illusionArmorMaterial = EnumHelper.addArmorMaterial("illusionArmorMaterial", 1800, new int[]{3,9,7,4}, 30);
public static final Item.ToolMaterial galaxy2ToolMaterial = EnumHelper.addToolMaterial("galaxy2ToolMatieral", 4, 3200, 15.0F, 20.0F, 18);
public static final ItemArmor.ArmorMaterial batmanArmorMaterial = EnumHelper.addArmorMaterial("batmanArmorMaterial", 2000, new int[]{5,11,9,6}, 34);
public static final ItemArmor.ArmorMaterial suuuuupermanArmorMaterial = EnumHelper.addArmorMaterial("suuuuuperman", 2000, new int[]{5,11,9,6}, 34);
//default 2,7,5,3.

public static final Item.ToolMaterial regidToolMaterial = EnumHelper.addToolMaterial("regidToolMaterial", 5, 2000, 9.0F, 7.0F, 11);


@EventHandler
public void preInit(FMLPreInitializationEvent event) {
	//step 2
	//Item/Block init and registering
	//config handling
	itemRegid = new ItemRegid().setUnlocalizedName("itemRegid").setTextureName("rm:itemRegid").setCreativeTab(tabRegidModItems);
	blockRegid = new BlockRegid(Material.iron).setBlockName("BlockRegid").setBlockTextureName("rm:blockregid").setCreativeTab(tabRegidModBlocks);

	cheesePickaxe = new ItemCheesePickaxe(cheeseToolMaterial).setUnlocalizedName("ItemCheesePickaxe").setTextureName("rm:itemcheesepickaxe").setCreativeTab(tabRegidModTools);
	cheeseAxe = new ItemCheeseAxe(cheeseToolMaterial).setUnlocalizedName("ItemCheeseAxe").setTextureName("rm:itemcheeseaxe").setCreativeTab(tabRegidModTools);
	cheeseShovel = new ItemCheeseShovel(cheeseToolMaterial).setUnlocalizedName("ItemCheeseShovel").setTextureName("rm:itemcheeseshovel").setCreativeTab(tabRegidModTools);
	cheeseHoe = new ItemCheeseHoe(cheeseToolMaterial).setUnlocalizedName("ItemCheeseHoe").setTextureName("rm:itemcheesehoe").setCreativeTab(tabRegidModTools);
	cheeseSword = new ItemCheeseSword(cheeseToolMaterial).setUnlocalizedName("ItemCheeseSword").setTextureName("rm:itemcheesesword").setCreativeTab(tabRegidModCombat);

	cheeseHelmet = new ItemCheeseArmor(cheeseArmorMaterial, 0, 0).setUnlocalizedName("ItemCheeseHelmet").setTextureName("rm:itemcheesehelmet").setCreativeTab(tabRegidModCombat);
	cheeseChestplate = new ItemCheeseArmor(cheeseArmorMaterial, 0, 1).setUnlocalizedName("ItemCheeseChestplate").setTextureName("rm:itemcheesechestplate").setCreativeTab(tabRegidModCombat);
	cheeseLeggings = new ItemCheeseArmor(cheeseArmorMaterial, 0, 2).setUnlocalizedName("ItemCheeseLeggings").setTextureName("rm:itemcheeseleggings").setCreativeTab(tabRegidModCombat);
	cheeseBoots = new ItemCheeseArmor(cheeseArmorMaterial, 0, 3).setUnlocalizedName("ItemCheeseBoots").setTextureName("rm:itemcheeseboots").setCreativeTab(tabRegidModCombat);

	blockCheese = new BlockCheese(Material.cloth).setBlockName("BlockCheese").setBlockTextureName("rm:blockcheese").setCreativeTab(tabRegidModBlocks);

	regidPickaxe = new ItemRegidPickaxe(regidToolMaterial).setUnlocalizedName("ItemRegidPickaxe").setTextureName("rm:itemregidpickaxe").setCreativeTab(tabRegidModTools);
	regidAxe = new ItemRegidAxe(regidToolMaterial).setUnlocalizedName("ItemRegidAxe").setTextureName("rm:itemregidAxe").setCreativeTab(tabRegidModTools);
	regidShovel = new ItemRegidShovel(regidToolMaterial).setUnlocalizedName("ItemRegidShovel").setTextureName("rm:itemregidshovel").setCreativeTab(tabRegidModTools);
	regidHoe = new ItemRegidHoe(regidToolMaterial).setUnlocalizedName("ItemRegidHoe").setTextureName("rm:itemregidhoe").setCreativeTab(tabRegidModTools);;
	regidSword = new ItemRegidSword(regidToolMaterial).setUnlocalizedName("ItemRegidSword").setTextureName("rm:itemregidsword").setCreativeTab(tabRegidModCombat);;


	itemCheeseStick = new ItemCheeseStick().setUnlocalizedName("ItemCheeseStick").setTextureName("rm:itemcheesestick").setCreativeTab(tabRegidModItems);
	itemCheese = new ItemFood(4, 0.1F, false).setUnlocalizedName("ItemCheese").setTextureName("rm:itemcheese").setCreativeTab(tabRegidModItems);
	itemGrilledCheese = new ItemFood(8, 0.2F, true).setUnlocalizedName("ItemGrilledCheese").setTextureName("rm:itemgrilledcheese").setCreativeTab(tabRegidModItems);
	//food new ItemFood(1, 2, 3) 1=Food Points (max20) 2=Saturation (max1.0F) 3=wolf food (T/F)

	blockIllusionOre = new BlockIllusionOre(Material.rock).setBlockName("BlockIllusionOre").setBlockTextureName("rm:blockillusionore").setCreativeTab(tabRegidModBlocks);
	blockIllusion = new BlockIllusion(Material.rock).setBlockName("BlockIllusion").setBlockTextureName("rm:blockillusion").setCreativeTab(tabRegidModBlocks);
	itemIllusion = new ItemIllusion().setUnlocalizedName("itemIllusion").setTextureName("rm:itemIllusion").setCreativeTab(tabRegidModItems);

	illusionHelmet = new ItemIllusionArmor(illusionArmorMaterial, 0, 0).setUnlocalizedName("ItemIllusionHelmet").setTextureName("rm:itemillusionhelmet").setCreativeTab(tabRegidModCombat);
	illusionChestplate = new ItemIllusionArmor(illusionArmorMaterial, 0, 1).setUnlocalizedName("ItemIllusionChestplate").setTextureName("rm:itemillusionchestplate").setCreativeTab(tabRegidModCombat);;
	illusionLeggings = new ItemIllusionArmor(illusionArmorMaterial, 0, 2).setUnlocalizedName("ItemIllusionLeggings").setTextureName("rm:itemillusionleggings").setCreativeTab(tabRegidModCombat);;
	illusionBoots = new ItemIllusionArmor(illusionArmorMaterial, 0, 3).setUnlocalizedName("ItemIllusionBoots").setTextureName("rm:itemillusionboots").setCreativeTab(tabRegidModCombat);;

	galaxySword = new ItemGalaxySword(galaxyToolMaterial).setUnlocalizedName("ItemGalaxySword").setTextureName("rm:itemgalaxysword").setCreativeTab(tabRegidModCombat);
	galaxySlayer = new ItemGalaxySlayer(galaxy2ToolMaterial).setUnlocalizedName("ItemGalaxySlayer").setTextureName("rm:itemgalaxyslayer").setCreativeTab(tabRegidModCombat);
	itemHilt = new ItemHilt().setUnlocalizedName("ItemHilt").setTextureName("rm:itemhilt").setCreativeTab(tabRegidModItems);
	itemBlade = new ItemBlade().setUnlocalizedName("ItemBlade").setTextureName("rm:itemblade").setCreativeTab(tabRegidModItems);
	itemHandle = new ItemHandle().setUnlocalizedName("ItemHandle").setTextureName("rm:itemhandle").setCreativeTab(tabRegidModItems);

	itemStar = new ItemStar().setUnlocalizedName("ItemStar").setTextureName("rm:itemstar").setCreativeTab(tabRegidModItems);
	itemDiamondStick = new ItemDiamondStick().setUnlocalizedName("ItemDiamondStick").setTextureName("rm:itemdiamondstick").setCreativeTab(tabRegidModItems);
	itemMetal = new ItemMetal().setUnlocalizedName("ItemMetal").setTextureName("rm:itemmetal").setCreativeTab(tabRegidModItems);

	itemSuuuuupermanLogo = new ItemSuuuuupermanLogo().setUnlocalizedName("ItemSuuuuupermanLogo").setTextureName("rm:itemsuuuuupermanlogo").setCreativeTab(tabRegidModItems);
	itemBatmanLogo = new ItemBatmanLogo().setUnlocalizedName("ItemBatmanLogo").setTextureName("rm:itembatmanlogo").setCreativeTab(tabRegidModItems);

	batmanHelmet = new ItemBatmanArmor(batmanArmorMaterial, 0, 0).setUnlocalizedName("ItemBatmanHelmet").setTextureName("rm:itembatmanhelmet").setCreativeTab(tabRegidModCombat);
	batmanChestplate = new ItemBatmanArmor(batmanArmorMaterial, 0, 1).setUnlocalizedName("ItemBatmanChestplate").setTextureName("rm:itembatmanchestplate").setCreativeTab(tabRegidModCombat);
	batmanLeggings = new ItemBatmanArmor(batmanArmorMaterial, 0, 2).setUnlocalizedName("ItemBatmanLeggings").setTextureName("rm:itembatmanleggings").setCreativeTab(tabRegidModCombat);
	batmanBoots = new ItemBatmanArmor(batmanArmorMaterial, 0, 3).setUnlocalizedName("ItemBatmanBoots").setTextureName("rm:itembatmanboots").setCreativeTab(tabRegidModCombat);

	suuuuupermanHelmet = new ItemSuuuuupermanArmor(suuuuupermanArmorMaterial, 0, 0).setUnlocalizedName("ItemSuuuuupermanHelmet").setTextureName("rm:itemsuuuuupermanhelmet").setCreativeTab(tabRegidModCombat);
	suuuuupermanChestplate = new ItemSuuuuupermanArmor(suuuuupermanArmorMaterial, 0, 0).setUnlocalizedName("ItemSuuuuupermanChestplate").setTextureName("rm:itemsuuuuupermanchestplate").setCreativeTab(tabRegidModCombat);
	suuuuupermanLeggings = new ItemSuuuuupermanArmor(suuuuupermanArmorMaterial, 0, 0).setUnlocalizedName("ItemSuuuuupermanLeggings").setTextureName("rm:itemsuuuuupermanleggings").setCreativeTab(tabRegidModCombat);
	suuuuupermanBoots = new ItemSuuuuupermanArmor(suuuuupermanArmorMaterial, 0, 0).setUnlocalizedName("ItemSuuuuupermanBoots").setTextureName("rm:itemsuuuuupermanboots").setCreativeTab(tabRegidModCombat);

	//step 3
	GameRegistry.registerItem(itemRegid, itemRegid.getUnlocalizedName().substring(5));
	GameRegistry.registerBlock(blockRegid, blockRegid.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemCheese, itemCheese.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemGrilledCheese, itemGrilledCheese.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(cheesePickaxe, cheesePickaxe.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(cheeseAxe, cheeseAxe.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(cheeseShovel, cheeseShovel.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(cheeseHoe, cheeseHoe.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(cheeseSword, cheeseSword.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemCheeseStick, itemCheeseStick.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(cheeseHelmet, cheeseHelmet.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(cheeseChestplate, cheeseChestplate.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(cheeseLeggings, cheeseLeggings.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(cheeseBoots, cheeseBoots.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(regidPickaxe, regidPickaxe.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(regidAxe, regidAxe.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(regidShovel, regidShovel.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(regidHoe, regidHoe.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(regidSword, regidSword.getUnlocalizedName().substring(5));

	GameRegistry.registerBlock(blockCheese, blockCheese.getUnlocalizedName().substring(5));

	GameRegistry.registerBlock(blockIllusionOre, blockIllusionOre.getUnlocalizedName().substring(5));
	GameRegistry.registerBlock(blockIllusion, blockIllusion.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemIllusion, itemIllusion.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(galaxySword, galaxySword.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(galaxySlayer, galaxySlayer.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemHilt, itemHilt.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemBlade, itemBlade.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemHandle, itemHandle.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(itemStar, itemStar.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemDiamondStick, itemDiamondStick.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemMetal, itemMetal.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(illusionHelmet, illusionHelmet.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(illusionChestplate, illusionChestplate.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(illusionLeggings, illusionLeggings.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(illusionBoots, illusionBoots.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(itemSuuuuupermanLogo, itemSuuuuupermanLogo.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(itemBatmanLogo, itemBatmanLogo.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(batmanHelmet, batmanHelmet.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(batmanChestplate, batmanChestplate.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(batmanLeggings, batmanLeggings.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(batmanBoots, batmanBoots.getUnlocalizedName().substring(5));

	GameRegistry.registerItem(suuuuupermanHelmet, suuuuupermanHelmet.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(suuuuupermanChestplate, suuuuupermanChestplate.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(suuuuupermanLeggings, suuuuupermanLeggings.getUnlocalizedName().substring(5));
	GameRegistry.registerItem(suuuuupermanBoots, suuuuupermanBoots.getUnlocalizedName().substring(5));

	GameRegistry.registerWorldGenerator(new CheeseGeneration(), 0);
}

@EventHandler
public void init(FMLInitializationEvent event) {
	//Proxy, TileEntity, entity, GUI and Packet Registering
	GameRegistry.addRecipe(new ItemStack(cheesePickaxe), new Object[]{"CCC", " S ", " S ", 'C', itemGrilledCheese, 'S', Items.stick});
	GameRegistry.addRecipe(new ItemStack(cheeseAxe), new Object[]{"CC ", "CS ", " S ", 'C', itemGrilledCheese, 'S', Items.stick});
	GameRegistry.addRecipe(new ItemStack(cheeseShovel), new Object[]{"C", "S", "S", 'C', itemGrilledCheese, 'S', Items.stick});
	GameRegistry.addRecipe(new ItemStack(cheeseHoe), new Object[]{"CC ", " S ", " S ", 'C', itemGrilledCheese, 'S', Items.stick});
	GameRegistry.addRecipe(new ItemStack(cheeseSword), new Object[]{"C", "C", "S", 'C', itemGrilledCheese, 'S', Items.stick});
	GameRegistry.addRecipe(new ItemStack(itemCheeseStick), new Object[]{" C ", " S ", "   ", 'C', itemGrilledCheese, 'S', Items.stick});
	GameRegistry.addRecipe(new ItemStack(itemGrilledCheese), new Object[]{"   ", "CC ", "CC ", 'C', itemCheeseStick,});

	GameRegistry.addRecipe(new ItemStack(cheeseHelmet), new Object[]{"CCC", "C C", "   ", 'C', itemGrilledCheese});
	GameRegistry.addRecipe(new ItemStack(cheeseChestplate), new Object[]{"C C", "CCC", "CCC", 'C', itemGrilledCheese});
	GameRegistry.addRecipe(new ItemStack(cheeseLeggings), new Object[]{"CCC", "C C", "C C", 'C', itemGrilledCheese});
	GameRegistry.addRecipe(new ItemStack(cheeseBoots), new Object[]{"   ", "C C", "C C", 'C', itemGrilledCheese});

	GameRegistry.addRecipe(new ItemStack(blockIllusion), new Object[]{"III", "III", "III", 'I', itemIllusion});
	GameRegistry.addRecipe(new ItemStack(galaxySword), new Object[]{" FI", " IF", "O  ", 'F', Items.flint_and_steel, 'I', itemIllusion, 'O', Blocks.obsidian});
	GameRegistry.addRecipe(new ItemStack(itemHandle), new Object[]{"SIS", "SIS", "SIS", 'S', itemStar, 'I', itemIllusion});
	GameRegistry.addRecipe(new ItemStack(itemBlade), new Object[]{" SI", " IS", " G ", 'S', itemStar, 'I', itemIllusion, 'G', galaxySword});
	GameRegistry.addRecipe(new ItemStack(itemHilt), new Object[]{"   ", "DSD", " G ", 'D', Items.diamond, 'S', itemStar, 'G', itemDiamondStick});
	GameRegistry.addRecipe(new ItemStack(galaxySlayer), new Object[]{" B ", " H ", " A ", 'B', itemBlade, 'H', itemHilt, 'A', itemHandle});

	GameRegistry.addRecipe(new ItemStack(itemMetal), new Object[]{"IDI", "EPE", "IDI", 'I', Items.iron_ingot, 'D', Items.diamond, 'E', Items.emerald, 'P', Items.ender_pearl});

	GameRegistry.addRecipe(new ItemStack(itemBatmanLogo), new Object[]{"IOI", "OOO", "IOI", 'I', itemIllusion, 'O', Blocks.obsidian});
	GameRegistry.addRecipe(new ItemStack(itemSuuuuupermanLogo), new Object[]{"RLR", "RRR", "RLR", 'R', Blocks.redstone_block, 'L', Blocks.lapis_block});

	GameRegistry.addRecipe(new ItemStack(batmanHelmet), new Object[]{"MBM", "M M", "   ", 'M', itemMetal, 'B', itemBatmanLogo});
	GameRegistry.addRecipe(new ItemStack(batmanChestplate), new Object[]{"M M", "MBM", "MMM", 'M', itemMetal, 'B', itemBatmanLogo});
	GameRegistry.addRecipe(new ItemStack(batmanLeggings), new Object[]{"MBM", "M M", "M M", 'M', itemMetal, 'B', itemBatmanLogo});
	GameRegistry.addRecipe(new ItemStack(batmanBoots), new Object[]{"   ", "M M", "M M", 'M', itemMetal, 'B', itemBatmanLogo});

	GameRegistry.addSmelting(blockIllusionOre, new ItemStack(itemIllusion), 5.0F);

	GameRegistry.addSmelting(itemCheese, new ItemStack(itemGrilledCheese), 5.0F);
	GameRegistry.addSmelting(itemCheeseStick, new ItemStack(RegidMod.itemGrilledCheese), 5.0F);
}

@EventHandler
public void postInit(FMLPostInitializationEvent event) {

}

public static CreativeTabs tabRegidModBlocks = new CreativeTabs("tabRegidModBlocks"){
	@Override
	public Item getTabIconItem(){
		return new ItemStack(blockRegid).getItem();
	}
};

public static CreativeTabs tabRegidModItems = new CreativeTabs("tabRegidModItems"){
	@Override
	public Item getTabIconItem(){
		return new ItemStack(itemRegid).getItem();

	}
};

public static CreativeTabs tabRegidModTools = new CreativeTabs("tabRegidModTools"){
	@Override
	public Item getTabIconItem(){
		return new ItemStack(regidPickaxe).getItem();
	}
};

public static CreativeTabs tabRegidModCombat = new CreativeTabs("tabRegidModCombat"){
	@Override
	public Item getTabIconItem(){
		return new ItemStack(regidSword).getItem();
	}
};
}

 

Game log:

[11:37:47] [main/INFO]: Extra: []
[11:37:47] [main/INFO]: Running with arguments: [--userProperties, {}, --assetsDir, /Users/Tnt/.gradle/caches/minecraft/assets, --assetIndex, 1.7.10, --accessToken, {REDACTED}, --version, 1.7.10, --tweakClass, cpw.mods.fml.common.launcher.FMLTweaker, --tweakClass, net.minecraftforge.gradle.tweakers.CoremodTweaker]
[11:37:47] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[11:37:47] [main/INFO]: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker
[11:37:47] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.CoremodTweaker
[11:37:47] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker
[11:37:47] [main/INFO]: Forge Mod Loader version 7.99.16.1448 for Minecraft 1.7.10 loading
[11:37:47] [main/INFO]: Java is Java HotSpot(TM) 64-Bit Server VM, version 1.8.0_60, running on Mac OS X:x86_64:10.11.5, installed at /Library/Java/JavaVirtualMachines/jdk1.8.0_60.jdk/Contents/Home/jre
[11:37:47] [main/INFO]: Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation
[11:37:47] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.CoremodTweaker
[11:37:47] [main/INFO]: Injecting location in coremod cpw.mods.fml.relauncher.FMLCorePlugin
[11:37:47] [main/INFO]: Injecting location in coremod net.minecraftforge.classloading.FMLForgePlugin
[11:37:47] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:37:47] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker
[11:37:47] [main/INFO]: Loading tweak class name net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[11:37:47] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:37:47] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker
[11:37:47] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:37:47] [main/ERROR]: The binary patch set is missing. Either you are in a development environment, or things are not going to work!
[11:37:48] [main/ERROR]: FML appears to be missing any signature data. This is not a good thing
[11:37:48] [main/INFO]: Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper
[11:37:48] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker
[11:37:49] [main/INFO]: Calling tweak class net.minecraftforge.gradle.tweakers.AccessTransformerTweaker
[11:37:49] [main/INFO]: Loading tweak class name cpw.mods.fml.common.launcher.TerminalTweaker
[11:37:49] [main/INFO]: Calling tweak class cpw.mods.fml.common.launcher.TerminalTweaker
[11:37:49] [main/INFO]: Launching wrapped minecraft {net.minecraft.client.main.Main}
[11:37:50] [main/INFO]: Setting user: Player508
[11:37:52] [Client thread/INFO]: LWJGL Version: 2.9.1
[11:37:53] [Client thread/INFO]: [cpw.mods.fml.client.SplashProgress:start:188]: ---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 7/24/16 11:37 AM
Description: Loading screen debug info

This is just a prompt for computer specs to be printed. THIS IS NOT A ERROR


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

-- System Details --
Details:
Minecraft Version: 1.7.10
Operating System: Mac OS X (x86_64) version 10.11.5
Java Version: 1.8.0_60, Oracle Corporation
Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation
Memory: 793695080 bytes (756 MB) / 1038876672 bytes (990 MB) up to 1038876672 bytes (990 MB)
JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M
AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
FML: 
GL info: ' Vendor: 'Intel Inc.' Version: '2.1 INTEL-10.14.66' Renderer: 'Intel(R) HD Graphics 5300'
[11:37:53] [Client thread/INFO]: Attempting early MinecraftForge initialization
[11:37:53] [Client thread/INFO]: MinecraftForge v10.13.4.1448 Initialized
[11:37:53] [Client thread/INFO]: Replaced 183 ore recipies
[11:37:53] [Client thread/INFO]: Completed early MinecraftForge initialization
[11:37:53] [Client thread/INFO]: Found 0 mods from the command line. Injecting into mod discoverer
[11:37:53] [Client thread/INFO]: Searching /Users/Tnt/Desktop/Modding Workspace/eclipse/mods for mods
[11:37:57] [Client thread/INFO]: Forge Mod Loader has identified 4 mods to load
[11:37:58] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, rm] at CLIENT
[11:37:58] [Client thread/INFO]: Attempting connection with missing mods [mcp, FML, Forge, rm] at SERVER
[11:37:58] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Regid Mod
[11:37:58] [Client thread/INFO]: Processing ObjectHolder annotations
[11:37:58] [Client thread/INFO]: Found 341 ObjectHolder annotations
[11:37:58] [Client thread/INFO]: Identifying ItemStackHolder annotations
[11:37:58] [Client thread/INFO]: Found 0 ItemStackHolder annotations
[11:37:58] [Client thread/INFO]: Configured a dormant chunk cache size of 0
[11:37:58] [Client thread/INFO]: Applying holder lookups
[11:37:58] [Client thread/INFO]: Holder lookups applied
[11:37:58] [Client thread/INFO]: Injecting itemstacks
[11:37:58] [Client thread/INFO]: Itemstack injection complete
[11:37:58] [sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[11:37:58] [sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[11:37:59] [Thread-7/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[11:37:59] [Thread-7/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:37:59] [Thread-7/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[11:37:59] [sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[11:37:59] [sound Library Loader/INFO]: Sound engine started
[11:38:02] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[11:38:02] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[11:38:02] [Client thread/INFO]: Injecting itemstacks
[11:38:02] [Client thread/INFO]: Itemstack injection complete
[11:38:02] [Client thread/INFO]: Forge Mod Loader has successfully loaded 4 mods
[11:38:02] [Client thread/INFO]: Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Regid Mod
[11:38:03] [Client thread/INFO]: Created: 512x256 textures/blocks-atlas
[11:38:03] [Client thread/INFO]: Created: 256x256 textures/items-atlas
[11:38:03] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[11:38:03] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[11:38:03] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[11:38:03] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[11:38:03] [sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[11:38:03] [sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Starting up SoundSystem...
[11:38:03] [Thread-9/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: Initializing LWJGL OpenAL
[11:38:03] [Thread-9/INFO]: [paulscode.sound.SoundSystemLogger:message:69]:     (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)
[11:38:03] [Thread-9/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: OpenAL initialized.
[11:38:04] [sound Library Loader/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[11:38:04] [sound Library Loader/INFO]: Sound engine started
[11:38:04] [Client thread/ERROR]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[11:38:04] [Client thread/ERROR]: The following texture errors were found.
[11:38:04] [Client thread/ERROR]: ==================================================
[11:38:04] [Client thread/ERROR]:   DOMAIN rm
[11:38:04] [Client thread/ERROR]: --------------------------------------------------
[11:38:04] [Client thread/ERROR]:   domain rm is missing 4 textures
[11:38:04] [Client thread/ERROR]:     domain rm has 1 location:
[11:38:04] [Client thread/ERROR]:       mod rm resources at /Users/Tnt/Desktop/Modding Workspace/bin
[11:38:04] [Client thread/ERROR]: -------------------------
[11:38:04] [Client thread/ERROR]:     The missing resources for domain rm are:
[11:38:04] [Client thread/ERROR]:       textures/items/itemsuuuuupermanlogo.png
[11:38:04] [Client thread/ERROR]:       textures/items/itemsuuuuupermanhelmet.png
[11:38:04] [Client thread/ERROR]:       textures/items/itemgalaxyslayer.png
[11:38:04] [Client thread/ERROR]:       textures/items/itemhandle.png
[11:38:04] [Client thread/ERROR]: -------------------------
[11:38:04] [Client thread/ERROR]:     No other errors exist for domain rm
[11:38:04] [Client thread/ERROR]: ==================================================
[11:38:04] [Client thread/ERROR]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=
[11:38:07] [server thread/INFO]: Starting integrated minecraft server version 1.7.10
[11:38:07] [server thread/INFO]: Generating keypair
[11:38:07] [server thread/INFO]: Injecting existing block and item data into this server instance
[11:38:07] [server thread/INFO]: Injecting new block and item data into this server instance.
[11:38:07] [server thread/INFO]: Injected new block/item rm:ItemSuuuuupermanHelmet: 4133 (init) -> 4142 (map).
[11:38:07] [server thread/INFO]: Applying holder lookups
[11:38:07] [server thread/INFO]: Holder lookups applied
[11:38:08] [server thread/INFO]: Loading dimension 0 (New World) (net.minecraft.server.integrated.IntegratedServer@79475812)
[11:38:08] [server thread/INFO]: Loading dimension 1 (New World) (net.minecraft.server.integrated.IntegratedServer@79475812)
[11:38:08] [server thread/INFO]: Loading dimension -1 (New World) (net.minecraft.server.integrated.IntegratedServer@79475812)
[11:38:08] [server thread/INFO]: Preparing start region for level 0
[11:38:09] [server thread/INFO]: Preparing spawn area: 34%
[11:38:09] [server thread/INFO]: Changing view distance to 12, from 10
[11:38:10] [Netty Client IO #0/INFO]: Server protocol version 2
[11:38:10] [Netty IO #1/INFO]: Client protocol version 2
[11:38:10] [Netty IO #1/INFO]: Client attempting to join with 4 mods : [email protected],[email protected],[email protected],[email protected]
[11:38:10] [Netty IO #1/INFO]: Attempting connection with missing mods [] at CLIENT
[11:38:10] [Netty Client IO #0/INFO]: Attempting connection with missing mods [] at SERVER
[11:38:10] [server thread/INFO]: [server thread] Server side modded connection established
[11:38:10] [Client thread/INFO]: [Client thread] Client side modded connection established
[11:38:10] [server thread/INFO]: Player508[local:E:dc14cbf1] logged in with entity id 46 at (-253.1130424101789, 79.0, 186.5501075810761)
[11:38:10] [server thread/INFO]: Player508 joined the game
[11:38:13] [server thread/INFO]: Player508 has just earned the achievement [Taking Inventory]
[11:38:13] [Client thread/INFO]: [CHAT] Player508 has just earned the achievement [Taking Inventory]
[11:38:58] [server thread/INFO]: Saving and pausing game...
[11:38:58] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[11:38:58] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[11:38:58] [server thread/INFO]: Saving chunks for level 'New World'/The End
[11:38:59] [server thread/INFO]: Stopping server
[11:38:59] [server thread/INFO]: Saving players
[11:38:59] [server thread/INFO]: Saving worlds
[11:38:59] [server thread/INFO]: Saving chunks for level 'New World'/Overworld
[11:38:59] [server thread/INFO]: Saving chunks for level 'New World'/Nether
[11:38:59] [server thread/INFO]: Saving chunks for level 'New World'/The End
[11:38:59] [server thread/INFO]: Unloading dimension 0
[11:38:59] [server thread/INFO]: Unloading dimension -1
[11:38:59] [server thread/INFO]: Unloading dimension 1
[11:38:59] [server thread/INFO]: Applying holder lookups
[11:38:59] [server thread/INFO]: Holder lookups applied
[11:39:00] [Client thread/INFO]: Stopping!
[11:39:00] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 
[11:39:00] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: SoundSystem shutting down...
[11:39:00] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:importantMessage:90]:     Author: Paul Lamb, www.paulscode.com
[11:39:00] [Client thread/INFO]: [paulscode.sound.SoundSystemLogger:message:69]: 

Link to comment
Share on other sites

You haven't shown the

ItemSuuuuupermanArmor

class, but I presume that the third argument of the constructor is the slot ID. If this is the case, you're passing 0 for every slot instead of passing the correct slot ID like you do for the other armour sets.

 

1.7.10 is extremely outdated, update to 1.10.2 and stop using unlocalised names to register your items.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.