Jump to content

Bobblacksmith

Members
  • Posts

    9
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    10 buck 2
  • Personal Text
    You cannot reference a field before it is defined!

Bobblacksmith's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Ah, normalized vectors. Oh so handy! Actually they are handy as they can be resolved into an actual direction. The problem here is that the look vector is wrong for this purpose, there is other methods for returning the block your cursor is actually targeting. I haven't used it in a while, but I think something like Minecraft.getMinecraft().objectMouseOver would be better. In any case, Minecraft of course has methods for figuring out the block that you can interact with and you need to invoke those, rather than a look vector. This crashed my game.
  2. That must be and old method I get errors from a few things, and when I fix them it crashes when I tp... http://minecraftforge.net/forum/Smileys/default/cry.gif
  3. Was that 50 or 500, or actually 50D? Anyways I tried all of those, but 500 seemed to work the best. Yet it still did not teleport me where I pointed
  4. 1. I wanted it to not be allowed while it is raining 2. Currently this code teleports me into the void, I think I am not actually teleporting to a block with the code, I want to know how to teleport to a block. I need to know how to get a block's coordinates.
  5. I am trying to make a sword that can teleport you to the block you are looking at, except I keep teleporting into the void. I think what I am doing wrong is teleporting past the blocks, but I am not sure how to get the coords of a block the player is looking at. Here is what I have currently... @Override public ItemStack onItemRightClick(ItemStack item, World world, EntityPlayer user) { if(world.isDaytime() || !world.isDaytime() ){ double x = user.getLookVec().xCoord; double y = user.getLookVec().yCoord; double z = user.getLookVec().zCoord; user.setPosition(x, y, z); } else if(world.isRaining()){ user.addChatMessage("You may not use this Item in the rain!"); } return item;
  6. package darpg.armor; import cpw.mods.fml.relauncher.Side; import cpw.mods.fml.relauncher.SideOnly; import net.minecraft.client.renderer.texture.IconRegister; import net.minecraft.entity.Entity; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.ItemArmor; import net.minecraft.item.ItemStack; public class CopperBoots extends ItemArmor { public CopperBoots(int par1, EnumArmorMaterial par2EnumArmorMaterial, int par3, int par4) { super(par4, par2EnumArmorMaterial, par4, par4); } @SideOnly(Side.CLIENT) public void registerIcons(IconRegister reg) { this.itemIcon = reg.registerIcon("main:copper_boots"); } public String getArmorTexture(ItemStack stack, Entity entity, int slot, int layer){ return "main:textures/models/armor/copperA_layer_1.png"; } } That is my copper boots armor class.
  7. Ok, here is the ItemID class... package darpg.item; public class ItemID { //Armor ID's //Emerald public static final int emeraldHID = 16000; public static final int emeraldCID = 16001; public static final int emeraldLID = 16002; public static final int emeraldBID = 16003; //Copper public static final int copperHID = 16004; public static final int copperCID = 16005; public static final int copperLID = 16006; public static final int copperBID = 16007; //Ruby public static final int rubyHID = 16008; public static final int rubyCID = 16009; public static final int rubyLID = 16010; public static final int rubyBID = 16011; //Tools //Emerald public static final int emeraldPAID = 5000; public static final int emeraldAID = 5001; public static final int emeraldSID = 5002; public static final int emeraldHEID = 5003; //Ruby public static final int rubySID = 5007; //Items public static final int SIID = 5004; public static final int CIID = 5005; public static final int FEID = 5006; } I do have some other items that may also be conflicting, not sure though.
  8. Here is the console error I get... Mar 20, 2014 6:48:13 PM net.minecraft.launchwrapper.LogWrapper log INFO: Loading tweak class name cpw.mods.fml.common.launcher.FMLTweaker Mar 20, 2014 6:48:13 PM net.minecraft.launchwrapper.LogWrapper log INFO: Using primary tweak class name cpw.mods.fml.common.launcher.FMLTweaker Mar 20, 2014 6:48:13 PM net.minecraft.launchwrapper.LogWrapper log INFO: Calling tweak class cpw.mods.fml.common.launcher.FMLTweaker 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Forge Mod Loader version 6.4.49.965 for Minecraft 1.6.4 loading 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Java is Java HotSpot(TM) 64-Bit Server VM, version 1.7.0_40, running on Windows 8:amd64:6.2, installed at C:\Program Files\Java\jre7 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Managed to load a deobfuscated Minecraft name- we are in a deobfuscated environment. Skipping runtime deobfuscation 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Loading tweak class name cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLInjectionAndSortingTweaker 2014-03-20 18:48:13 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-03-20 18:48:14 [iNFO] [sTDOUT] Loaded 40 rules from AccessTransformer config file fml_at.cfg 2014-03-20 18:48:14 [sEVERE] [ForgeModLoader] The binary patch set is missing. Either you are in a development environment, or things are not going to work! 2014-03-20 18:48:15 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.relauncher.CoreModManager$FMLPluginWrapper 2014-03-20 18:48:15 [iNFO] [sTDOUT] Loaded 110 rules from AccessTransformer config file forge_at.cfg 2014-03-20 18:48:15 [iNFO] [ForgeModLoader] Calling tweak class cpw.mods.fml.common.launcher.FMLDeobfTweaker 2014-03-20 18:48:15 [iNFO] [ForgeModLoader] Launching wrapped minecraft {net.minecraft.client.main.Main} 2014-03-20 18:48:21 [iNFO] [Minecraft-Client] Setting user: Player359 2014-03-20 18:48:24 [iNFO] [Minecraft-Client] LWJGL Version: 2.9.0 2014-03-20 18:48:26 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default 2014-03-20 18:48:32 [iNFO] [MinecraftForge] Attempting early MinecraftForge initialization 2014-03-20 18:48:32 [iNFO] [sTDOUT] MinecraftForge v9.11.1.965 Initialized 2014-03-20 18:48:32 [iNFO] [ForgeModLoader] MinecraftForge v9.11.1.965 Initialized 2014-03-20 18:48:32 [iNFO] [sTDOUT] Replaced 111 ore recipies 2014-03-20 18:48:33 [iNFO] [MinecraftForge] Completed early MinecraftForge initialization 2014-03-20 18:48:33 [iNFO] [ForgeModLoader] Reading custom logging properties from E:\Da` RPG\forge\mcp\jars\config\logging.properties 2014-03-20 18:48:33 [OFF] [ForgeModLoader] Logging level for ForgeModLoader logging is set to ALL 2014-03-20 18:48:33 [iNFO] [ForgeModLoader] Searching E:\Da` RPG\forge\mcp\jars\mods for mods 2014-03-20 18:48:44 [iNFO] [ForgeModLoader] Forge Mod Loader has identified 4 mods to load 2014-03-20 18:48:44 [iNFO] [mcp] Activating mod mcp 2014-03-20 18:48:44 [iNFO] [FML] Activating mod FML 2014-03-20 18:48:44 [iNFO] [Forge] Activating mod Forge 2014-03-20 18:48:44 [iNFO] [Da` RPG] Activating mod Da` RPG 2014-03-20 18:48:44 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-03-20 18:48:44 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-03-20 18:48:44 [WARNING] [Da` RPG] Mod Da` RPG is missing a pack.mcmeta file, things may not work well 2014-03-20 18:48:44 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Da` RPG 2014-03-20 18:48:44 [iNFO] [ForgeModLoader] Registering Forge Packet Handler 2014-03-20 18:48:44 [iNFO] [ForgeModLoader] Succeeded registering Forge Packet Handler 2014-03-20 18:48:45 [iNFO] [ForgeModLoader] Configured a dormant chunk cache size of 0 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 0 item slot already occupied by net.minecraft.item.ItemSpade@48474d6d while adding darpg.armor.EmeraldHelmet@412c542d 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 256 (net.minecraft.item.ItemSpade from Minecraft) with darpg.armor.EmeraldHelmet 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 1 item slot already occupied by net.minecraft.item.ItemPickaxe@7c04c6f9 while adding darpg.armor.EmeraldChestplate@1da3450b 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 257 (net.minecraft.item.ItemPickaxe from Minecraft) with darpg.armor.EmeraldChestplate 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 2 item slot already occupied by net.minecraft.item.ItemAxe@9189c02 while adding darpg.armor.EmeraldLeggings@2eaa4bf8 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 258 (net.minecraft.item.ItemAxe from Minecraft) with darpg.armor.EmeraldLeggings 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 3 item slot already occupied by net.minecraft.item.ItemFlintAndSteel@721d7463 while adding darpg.armor.EmeraldBoots@6bc44a1c 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 259 (net.minecraft.item.ItemFlintAndSteel from Minecraft) with darpg.armor.EmeraldBoots 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 0 item slot already occupied by darpg.armor.EmeraldHelmet@412c542d while adding darpg.armor.CopperHelmet@3cb6737c 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 256 (darpg.armor.EmeraldHelmet from Da` RPG) with darpg.armor.CopperHelmet 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 1 item slot already occupied by darpg.armor.EmeraldChestplate@1da3450b while adding darpg.armor.CopperChestplate@6c48cb34 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 257 (darpg.armor.EmeraldChestplate from Da` RPG) with darpg.armor.CopperChestplate 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 2 item slot already occupied by darpg.armor.EmeraldLeggings@2eaa4bf8 while adding darpg.armor.CopperLeggings@20d6c192 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 258 (darpg.armor.EmeraldLeggings from Da` RPG) with darpg.armor.CopperLeggings 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 3 item slot already occupied by darpg.armor.EmeraldBoots@6bc44a1c while adding darpg.armor.CopperBoots@17de8244 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 259 (darpg.armor.EmeraldBoots from Da` RPG) with darpg.armor.CopperBoots 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 0 item slot already occupied by darpg.armor.CopperHelmet@3cb6737c while adding darpg.armor.RubyHelmet@2395a0d9 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 256 (darpg.armor.CopperHelmet from Da` RPG) with darpg.armor.RubyHelmet 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 1 item slot already occupied by darpg.armor.CopperChestplate@6c48cb34 while adding darpg.armor.RubyChestplate@8751cf1 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 257 (darpg.armor.CopperChestplate from Da` RPG) with darpg.armor.RubyChestplate 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 2 item slot already occupied by darpg.armor.CopperLeggings@20d6c192 while adding darpg.armor.RubyLeggings@61a3e88e 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 258 (darpg.armor.CopperLeggings from Da` RPG) with darpg.armor.RubyLeggings 2014-03-20 18:48:45 [iNFO] [sTDOUT] CONFLICT @ 3 item slot already occupied by darpg.armor.CopperBoots@17de8244 while adding darpg.armor.RubyBoots@2fac9a62 2014-03-20 18:48:45 [iNFO] [fml.ItemTracker] The mod Da` RPG is overwriting existing item at 259 (darpg.armor.CopperBoots from Da` RPG) with darpg.armor.RubyBoots 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.armor.RubyHelmet with ID 256 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.armor.RubyChestplate with ID 257 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.armor.RubyLeggings with ID 258 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.armor.RubyBoots with ID 259 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.item.RubySword with ID 859 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.item.EmeraldTools$EmeraldPickaxe with ID 5256 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.item.EmeraldTools$EmeraldAxe with ID 5257 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.item.SilverIngot with ID 5260 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.item.CopperIngot with ID 5261 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:45 [sEVERE] [ForgeModLoader] Found anonymous item of class darpg.item.FoolsEmerald with ID 5262 owned by mod Da` RPG, this item will NOT survive a 1.7 upgrade! 2014-03-20 18:48:46 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/blocks/silver_ore.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/emerald_pickaxe.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_chestplate.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_helmet.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_leggings.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/emerald_axe.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_boots.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/silver_ingot.png 2014-03-20 18:48:47 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/copper_ingot.png 2014-03-20 18:48:48 [iNFO] [ForgeModLoader] Forge Mod Loader has successfully loaded 4 mods 2014-03-20 18:48:48 [WARNING] [Forge Mod Loader] Mod Forge Mod Loader is missing a pack.mcmeta file, things may not work well 2014-03-20 18:48:48 [WARNING] [Minecraft Forge] Mod Minecraft Forge is missing a pack.mcmeta file, things may not work well 2014-03-20 18:48:48 [WARNING] [Da` RPG] Mod Da` RPG is missing a pack.mcmeta file, things may not work well 2014-03-20 18:48:48 [iNFO] [Minecraft-Client] Reloading ResourceManager: Default, FMLFileResourcePack:Forge Mod Loader, FMLFileResourcePack:Minecraft Forge, FMLFileResourcePack:Da` RPG 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/emerald_pickaxe.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_chestplate.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_helmet.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_leggings.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/emerald_axe.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/ruby_boots.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: minecraft:textures/items/silver_ingot.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/items/copper_ingot.png 2014-03-20 18:48:48 [sEVERE] [Minecraft-Client] Using missing texture, unable to load: main:textures/blocks/silver_ore.png 2014-03-20 18:48:49 [iNFO] [sTDOUT] 2014-03-20 18:48:49 [iNFO] [sTDOUT] Starting up SoundSystem... 2014-03-20 18:48:49 [iNFO] [sTDOUT] Initializing LWJGL OpenAL 2014-03-20 18:48:49 [iNFO] [sTDOUT] (The LWJGL binding of OpenAL. For more information, see http://www.lwjgl.org) 2014-03-20 18:48:49 [iNFO] [sTDOUT] OpenAL initialized. 2014-03-20 18:48:49 [iNFO] [sTDOUT] 2014-03-20 18:48:50 [sEVERE] [Minecraft-Client] Realms: Server not available! 2014-03-20 18:48:54 [iNFO] [Minecraft-Server] Starting integrated minecraft server version 1.6.4 2014-03-20 18:48:54 [iNFO] [Minecraft-Server] Generating keypair 2014-03-20 18:48:55 [iNFO] [ForgeModLoader] Loading dimension 0 (Medieval Land Fun Time World) (net.minecraft.server.integrated.IntegratedServer@168886d4) 2014-03-20 18:48:55 [iNFO] [ForgeModLoader] Loading dimension 1 (Medieval Land Fun Time World) (net.minecraft.server.integrated.IntegratedServer@168886d4) 2014-03-20 18:48:55 [iNFO] [ForgeModLoader] Loading dimension -1 (Medieval Land Fun Time World) (net.minecraft.server.integrated.IntegratedServer@168886d4) 2014-03-20 18:48:55 [iNFO] [Minecraft-Server] Preparing start region for level 0 2014-03-20 18:48:56 [iNFO] [Minecraft-Server] Preparing spawn area: 8% 2014-03-20 18:48:58 [iNFO] [sTDOUT] loading single player 2014-03-20 18:48:58 [iNFO] [Minecraft-Server] Player359[/127.0.0.1:0] logged in with entity id 320 at (92.36053947632247, 53.06745760878544, 255.2550353204866) 2014-03-20 18:48:58 [iNFO] [Minecraft-Server] Player359 joined the game 2014-03-20 18:48:58 [iNFO] [sTDOUT] Setting up custom skins 2014-03-20 18:49:13 [iNFO] [Minecraft-Server] Saving and pausing game... 2014-03-20 18:49:13 [iNFO] [Minecraft-Server] Saving chunks for level 'Medieval Land Fun Time World'/Overworld 2014-03-20 18:49:13 [iNFO] [Minecraft-Server] Saving chunks for level 'Medieval Land Fun Time World'/Nether 2014-03-20 18:49:13 [iNFO] [Minecraft-Server] Saving chunks for level 'Medieval Land Fun Time World'/The End 2014-03-20 18:49:13 [iNFO] [Minecraft-Server] Player359 lost connection: disconnect.quitting 2014-03-20 18:49:13 [iNFO] [Minecraft-Server] Player359 left the game 2014-03-20 18:49:14 [iNFO] [Minecraft-Server] Stopping singleplayer server as player logged out 2014-03-20 18:49:14 [iNFO] [Minecraft-Server] Stopping server 2014-03-20 18:49:14 [iNFO] [Minecraft-Server] Saving players 2014-03-20 18:49:14 [iNFO] [Minecraft-Server] Saving worlds 2014-03-20 18:49:14 [iNFO] [Minecraft-Server] Saving chunks for level 'Medieval Land Fun Time World'/Overworld 2014-03-20 18:49:14 [iNFO] [Minecraft-Server] Saving chunks for level 'Medieval Land Fun Time World'/Nether 2014-03-20 18:49:14 [iNFO] [Minecraft-Server] Saving chunks for level 'Medieval Land Fun Time World'/The End 2014-03-20 18:49:16 [iNFO] [ForgeModLoader] Unloading dimension 0 2014-03-20 18:49:16 [iNFO] [ForgeModLoader] Unloading dimension -1 2014-03-20 18:49:16 [iNFO] [ForgeModLoader] Unloading dimension 1 2014-03-20 18:49:17 [iNFO] [Minecraft-Client] Stopping! 2014-03-20 18:49:17 [iNFO] [sTDOUT] 2014-03-20 18:49:17 [iNFO] [sTDOUT] SoundSystem shutting down... 2014-03-20 18:49:17 [iNFO] [sTDOUT] Author: Paul Lamb, www.paulscode.com 2014-03-20 18:49:17 [iNFO] [sTDOUT]
  9. I have developed in a legacy 1.6.4 forge environment until recently when I updated to the latest recommended build. Since I have updated I am having trouble getting multiple custom armor sets to load. The only one that does load is the last one defined, it gives me a conflict error in the console, but as far as I know it should not be conflicting with something. Here is where I defined the three armor sets I am making... emeraldHelmet = (new EmeraldHelmet(ItemID.emeraldHID, emeraldA, 7, 0)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("emeraldHelmet"); emeraldChestplate = (new EmeraldChestplate(ItemID.emeraldCID, emeraldA, 7, 1)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("emeraldChestplate"); emeraldLeggings = (new EmeraldLeggings(ItemID.emeraldLID, emeraldA, 7, 2)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("emeraldLeggings"); emeraldBoots = (new EmeraldBoots(ItemID.emeraldBID, emeraldA, 7, 3)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("emeraldBoots"); copperHelmet = (new CopperHelmet(ItemID.copperHID, copperA, 6, 0)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("copperHelmet"); copperChestplate = (new CopperChestplate(ItemID.copperCID, copperA, 6, 1)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("copperChestplate"); copperLeggings = (new CopperLeggings(ItemID.copperLID, copperA, 6, 2)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("copperLeggings"); copperBoots = (new CopperBoots(ItemID.copperBID, copperA, 6, 3)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("copperBoots"); rubyHelmet = (new RubyHelmet(ItemID.rubyHID, rubyA, 5, 0)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("rubyHelmet"); rubyChestplate = (new RubyChestplate(ItemID.rubyCID, rubyA, 5, 1)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("rubyChestplate"); rubyLeggings = (new RubyLeggings(ItemID.rubyLID, rubyA, 5, 2)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("rubyLeggings"); rubyBoots = (new RubyBoots(ItemID.rubyBID, rubyA, 5, 3)).setCreativeTab(CreativeTabs.tabCombat).setUnlocalizedName("rubyBoots"); The item id's are defined in a separate class, I started with emerald helmet at 16000 and went by ones from there for the rest of the armor. Thanks in advance!
×
×
  • Create New...

Important Information

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