vandy22 Posted February 16, 2013 Share Posted February 16, 2013 SCMowns2 Weird Error!! Armor Error Ok so there was no problem at first and then this error randomly struck me. I don't know how to fix it, im a beginning scripter. My armor classes where having no issues then randomly when I put in the next one it started acting up. Ive looked everywhere for a mistake but cant find anything! Here is the link to the error: https://www.dropbox....armor error.txt Here is all my armor mods: Yellow https://www.dropbox....ellowArmor.java White https://www.dropbox....WhiteArmor.java Blue https://www.dropbox...._BlueArmor.java Red https://www.dropbox....d_RedArmor.java Green https://www.dropbox....GreenArmor.java Pink https://www.dropbox...._PinkArmor.java I really hope you guys can take some time to look into this. Your really great scripters and give the best tutorials ive ever seen, thank you so much! I really hope you can help guys Thanks! Also I noticed that this only occurs when i put in my mod_Test.java class. So here is a link to it: https://www.dropbox.com/s/vdttg36mvhoofzl/mod_Test.txt So if you can look for that it might be a clue! Thanks! Here is my log that came off of minecraft: Minecraft has crashed! ---------------------- Minecraft has stopped running because it encountered a problem; Failed to start game A full error report has been saved to C:\Users\jacks_000\Desktop\MCP7\jars\.\crash-reports\crash-2013-02-16_13.29.53-client.txt - Please include a copy of that file (Not this screen!) if you report this crash to anyone; without it, they will not be able to help fix the crash --- BEGIN ERROR REPORT 1c7e05ab -------- Full report at: C:\Users\jacks_000\Desktop\MCP7\jars\.\crash-reports\crash-2013-02-16_13.29.53-client.txt Please show that file to Mojang, NOT just this screen! Generated 2/16/13 1:29 PM -- System Details -- Details: Minecraft Version: 1.4.7 Operating System: Windows 8 (amd64) version 6.2 Java Version: 1.7.0_13, Oracle Corporation Java VM Version: Java HotSpot 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 752164856 bytes (717 MB) / 1037959168 bytes (989 MB) up to 1037959168 bytes (989 MB) JVM Flags: 3 total; -Xincgc -Xmx1024M -Xms1024M AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used Suspicious classes: FML and Forge are installed IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0 FML: MCP v7.26a FML v4.7.32.553 Minecraft Forge 6.6.1.524 10 mods loaded, 10 mods active mcp [Minecraft Coder Pack] (minecraft.jar) Unloaded->Constructed->Pre-initialized->Initialized FML [Forge Mod Loader] (coremods) Unloaded->Constructed->Pre-initialized->Initialized Forge [Minecraft Forge] (coremods) Unloaded->Constructed->Pre-initialized->Initialized mod_BlueArmor [mod_BlueArmor] (bin) Unloaded->Constructed->Pre-initialized->Initialized mod_GreenArmor [mod_GreenArmor] (bin) Unloaded->Constructed->Pre-initialized->Initialized mod_PinkArmor [mod_PinkArmor] (bin) Unloaded->Constructed->Pre-initialized->Initialized mod_RedArmor [mod_RedArmor] (bin) Unloaded->Constructed->Pre-initialized->Errored mod_Test [mod_Test] (bin) Unloaded->Constructed->Pre-initialized->Initialized mod_WhiteArmor [mod_WhiteArmor] (bin) Unloaded->Constructed->Pre-initialized->Errored mod_YellowArmor [mod_YellowArmor] (bin) Unloaded->Constructed->Pre-initialized->Errored LWJGL: 2.4.2 OpenGL: AMD Radeon HD 7570 GL version 4.2.11750 Compatibility Profile Context, ATI Technologies Inc. Is Modded: Definitely; Client brand changed to 'forge,fml' Type: Client (map_client.txt) Texture Pack: Default Profiler Position: N/A (disabled) Vec3 Pool Size: ~~ERROR~~ NullPointerException: null java.lang.IndexOutOfBoundsException: bitIndex < 0: -1 at java.util.BitSet.clear(Unknown Source) at cpw.mods.fml.client.SpriteHelper.getFreeSlot(SpriteHelper.java:129) at cpw.mods.fml.client.SpriteHelper.getUniqueSpriteIndex(SpriteHelper.java:105) at cpw.mods.fml.client.registry.RenderingRegistry.addTextureOverride(RenderingRegistry.java:95) at net.minecraft.src.ModLoader.addOverride(ModLoader.java:236) at armorMod.mod_RedArmor.load(mod_RedArmor.java:30) at cpw.mods.fml.common.modloader.ModLoaderModContainer.init(ModLoaderModContainer.java:545) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.propogateStateMessage(LoadController.java:153) 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 com.google.common.eventbus.EventHandler.handleEvent(EventHandler.java:69) at com.google.common.eventbus.SynchronizedEventHandler.handleEvent(SynchronizedEventHandler.java:45) at com.google.common.eventbus.EventBus.dispatch(EventBus.java:317) at com.google.common.eventbus.EventBus.dispatchQueuedEvents(EventBus.java:300) at com.google.common.eventbus.EventBus.post(EventBus.java:268) at cpw.mods.fml.common.LoadController.distributeStateMessage(LoadController.java:86) at cpw.mods.fml.common.Loader.initializeMods(Loader.java:676) at cpw.mods.fml.client.FMLClientHandler.finishMinecraftLoading(FMLClientHandler.java:207) at net.minecraft.client.Minecraft.startGame(Minecraft.java:456) at net.minecraft.client.MinecraftAppletImpl.startGame(MinecraftAppletImpl.java:44) at net.minecraft.client.Minecraft.run(Minecraft.java:744) at java.lang.Thread.run(Unknown Source) --- END ERROR REPORT 29da5b36 ---------- Also the minecraft forge im modding with is up to date! If you need any other information tell me and I will get it to you! Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 16, 2013 Author Share Posted February 16, 2013 Oh ok thanks! Well can you tell me how I can fix this and the easiest way to do it? If I wanted to keep the modloader could I do something like a terrain1? or should I do a forge method? Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 16, 2013 Author Share Posted February 16, 2013 The only problem is if I use this im pretty sure I have to reconfigure everything and I don't know how to do anything. I also don't really understand the proxies. I have looked into this before but couldn't figure out how to use it. diesieben07 do you think you could possibly like team view with me to help? or do you have a Skype?! Im also not trying to be stupid but could you just one of my armor classes and rearrange it to be forge? I cant find anyone help me. Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 16, 2013 Author Share Posted February 16, 2013 Problem is I have to change everything to forge right? that's all I want to know. Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 17, 2013 Author Share Posted February 17, 2013 Ok so good news, im switching to forge and im getting it down. Bad news is I did everything and the mod just isn't working. Its not showing up, like its just not loading. I can get on the game with no errors, but I cant craft any armor or find in it creative. Here is my mod_tutorial(main class file): https://www.dropbox.com/s/4i9sv3kd2ofk5x5/mod_tutorial.java Here is my tutorial armor class files: Chest https://www.dropbox.com/s/y1440fpnwnfzvnh/ItemTutorialPlate.java Legs https://www.dropbox.com/s/r6irevc3k43ft3g/ItemTutorialLegs.java Boots https://www.dropbox.com/s/dd2twxkwl3ez08q/ItemTutorialBoots.java Helmet https://www.dropbox.com/s/naurzysp64ysetv/ItemTutorialHelmet.java Thanks Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 17, 2013 Author Share Posted February 17, 2013 Thanks die! Your helping me so much and I appreciate it! Will this work for the @Mod notation? @Mod(modid = "ArmorTest-Tutorial", name = "Tutorial", version = "1.4.7") @NetworkMod(clientSideRequired = true, serverSideRequired = false) Quote Link to comment Share on other sites More sharing options...
shinyquagsire23 Posted February 17, 2013 Share Posted February 17, 2013 Well, if he does per-version updates, this isn't necessarily a bad thing. Some mod developers like to version their mods with Minecraft to avoid confusion. However, he probably did misinterpret it. Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 17, 2013 Author Share Posted February 17, 2013 Ive heard in the version field it doesn't really matter what you put. For me would I need to put 1.0.0? Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 17, 2013 Author Share Posted February 17, 2013 Ok so great news! My mod runs! I can see it in creative bad news is the texture is a white square with black dots. In forge to change the texture Is harder. Do I need to make proxies? If I do, when im making my png what do I save it as? In a 16x16 file like what modloader does. Or do I drag it into a 256x256 area? That's the only thing im still confused about with forge! Quote Link to comment Share on other sites More sharing options...
Mazetar Posted February 17, 2013 Share Posted February 17, 2013 check the tutorial made just for that! http://www.minecraftforge.net/wiki/Icons_and_Textures Quote If you guys dont get it.. then well ya.. try harder... Link to comment Share on other sites More sharing options...
vandy22 Posted February 17, 2013 Author Share Posted February 17, 2013 Im still kind of confused on where and how to save it. With ModLoader, you have directories. So i know 0 is top left, but Im confused because do you use a 256x256 that you make? Or do you use the items.png 256x256 thats already made? In youtube videos i see people that have a 256x256 picture that has a purple/pinkish background with a bunch of 16x16 squares. Also when i make my 16x16 armor for helmet, chestplate, boots, and leggings where do i save them? Because if im making a items.png im not sure what i do with the actual 16x16 armor png's. Quote Link to comment Share on other sites More sharing options...
Mazetar Posted February 17, 2013 Share Posted February 17, 2013 You create a .png file which is 256x256 in size. You let the first of your textures be at position 0,0 which would be top left. Since all textures are 16px wide and tall there should be space for 16 textures on each line. The first texture has the ID of 0, the last one on the first line has ID 15. And the first one on the second row would be ID 16 and so on. Quote If you guys dont get it.. then well ya.. try harder... Link to comment Share on other sites More sharing options...
vandy22 Posted February 17, 2013 Author Share Posted February 17, 2013 Where in the code do i set the 0, 1, 2, 3 and so on set for the slots of the 256x256 items.png im going to make? Quote Link to comment Share on other sites More sharing options...
Mazetar Posted February 18, 2013 Share Posted February 18, 2013 Myitem itemofMine; itemofMine = new MyItem(itemID, TextureIDHere); What you enter as the texture ID is what slot number it will use inn the file. The file it will use is wahtever yout old it to use inn the item or block's getTextureFile() method. Please read the above tutorial and this one: http://www.minecraftforge.net/wiki/Tutorials/Basic_Items The last one should tell you everything you want to know Quote If you guys dont get it.. then well ya.. try harder... Link to comment Share on other sites More sharing options...
vandy22 Posted February 18, 2013 Author Share Posted February 18, 2013 Ok so im running into a problem with making my BlueIngot. Like before its just not loading in the game. I have the texture made its just not there and/or loading. Heres my main class: package tutorialtest; import cpw.mods.fml.common.Mod; import cpw.mods.fml.common.Mod.Init; import cpw.mods.fml.common.event.FMLInitializationEvent; import net.minecraft.block.Block; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.EnumArmorMaterial; import net.minecraft.item.Item; import cpw.mods.fml.common.network.NetworkMod; import cpw.mods.fml.common.registry.GameRegistry; import net.minecraft.item.ItemStack; import cpw.mods.fml.common.registry.LanguageRegistry; import net.minecraft.src.ModLoader; @Mod(modid = "ArmorTest-Tutorial", name = "Tutorial", version = "1.4.7") @NetworkMod(clientSideRequired = true, serverSideRequired = false) public class mod_tutorial { //blue public static Item TutorialHelmet; public static Item TutorialPlate; public static Item TutorialLegs; public static Item TutorialBoots; public static Item BlueIngot; public static Item BlueDust; public static Item BlueToolFragment; //yellow public static Item YellowHelmet; public static Item YellowPlate; public static Item YellowLegs; public static Item YellowBoots; public static Item YellowToolFragment; public static Item YellowIngot; public static Item YellowDust; //White/Silver public static Item WhiteHelmet; public static Item WhitePlate; public static Item WhiteLegs; public static Item WhiteBoots; public static Item WhiteIngot; public static Item SilverIngot; public static Item WhitePowder; public static Item SilverDust; //red public static Item RedHelmet; public static Item RedPlate; public static Item RedLegs; public static Item RedBoots; public static Item RedIngot; public static Item RedToolFragment; public static Item RedDust; //green public static Item GreenHelmet; public static Item GreenPlate; public static Item GreenLegs; public static Item GreenBoots; public static Item GreenIngot; public static Item GreenToolFragment; public static Item GreenDust; //Pink public static Item PinkHelmet; public static Item PinkPlate; public static Item PinkLegs; public static Item PinkBoots; public static Item PinkIngot; public static Item PinkToolFragment; public static Item PinkDust; @Init public void load(FMLInitializationEvent event){ TutorialHelmet = new ItemTutorialHelmet(508,EnumArmorMaterial.BLUE, ModLoader.addArmor("Tutorial"),0).setItemName("TutHelm").setIconIndex(7); TutorialPlate = new ItemTutorialPlate(509,EnumArmorMaterial.BLUE, ModLoader.addArmor("Tutorial"),1).setItemName("TutPlate").setIconIndex(; TutorialLegs = new ItemTutorialLegs(510,EnumArmorMaterial.BLUE, ModLoader.addArmor("Tutorial"),2).setItemName("TutLeg").setIconIndex(9); TutorialBoots = new ItemTutorialBoots(511,EnumArmorMaterial.BLUE, ModLoader.addArmor("Tutorial"),3).setItemName("TutBoot").setIconIndex(10); BlueIngot = new BlueIngot(532).setItemName("BlueIngot").setIconIndex(31); //BlueIngot = new GenericItem(5001).setIconIndex(31).setItemName("BlueIngot").setCreativeTab(CreativeTabs.tabMisc); //Yellow YellowHelmet = new ItemYellowHelmet(512,EnumArmorMaterial.YELLOW, ModLoader.addArmor("Tutorial"),0).setItemName("YellowHelm").setIconIndex(11); YellowPlate = new ItemYellowPlate(513,EnumArmorMaterial.YELLOW, ModLoader.addArmor("Tutorial"),1).setItemName("YellowPlate").setIconIndex(12); YellowLegs = new ItemYellowLegs(514,EnumArmorMaterial.YELLOW, ModLoader.addArmor("Tutorial"),2).setItemName("YellowLeg").setIconIndex(13); YellowBoots = new ItemYellowBoots(515,EnumArmorMaterial.YELLOW, ModLoader.addArmor("Tutorial"),3).setItemName("YellowBoot").setIconIndex(14); //White WhiteHelmet = new ItemWhiteHelmet(516, EnumArmorMaterial.DIAMOND, ModLoader.addArmor("Tutorial"),0).setItemName("WhiteHelm").setIconIndex(15); WhitePlate = new ItemWhitePlate(517,EnumArmorMaterial.DIAMOND, ModLoader.addArmor("Tutorial"),1).setItemName("WhitePlate").setIconIndex(16); WhiteLegs = new ItemWhiteLegs(518,EnumArmorMaterial.DIAMOND, ModLoader.addArmor("Tutorial"),2).setItemName("WhiteLeg").setIconIndex(17); WhiteBoots = new ItemWhiteBoots(519,EnumArmorMaterial.DIAMOND, ModLoader.addArmor("Tutorial"),3).setItemName("WhiteBoot").setIconIndex(18); //Blue RedHelmet = new ItemRedHelmet(520, EnumArmorMaterial.RED, ModLoader.addArmor("Tutorial"),0).setItemName("WhiteHelm").setIconIndex(19); RedPlate = new ItemRedPlate(521,EnumArmorMaterial.RED, ModLoader.addArmor("Tutorial"),1).setItemName("WhitePlate").setIconIndex(20); RedLegs = new ItemRedLegs(522,EnumArmorMaterial.RED, ModLoader.addArmor("Tutorial"),2).setItemName("WhiteLeg").setIconIndex(21); RedBoots = new ItemRedBoots(523,EnumArmorMaterial.RED, ModLoader.addArmor("Tutorial"),3).setItemName("WhiteBoot").setIconIndex(22); //Green GreenHelmet = new ItemGreenHelmet(524, EnumArmorMaterial.GREEN, ModLoader.addArmor("Tutorial"),0).setItemName("WhiteHelm").setIconIndex(23); GreenPlate = new ItemGreenPlate(525,EnumArmorMaterial.GREEN, ModLoader.addArmor("Tutorial"),1).setItemName("WhitePlate").setIconIndex(24); GreenLegs = new ItemGreenLegs(526,EnumArmorMaterial.GREEN, ModLoader.addArmor("Tutorial"),2).setItemName("WhiteLeg").setIconIndex(25); GreenBoots = new ItemGreenBoots(527,EnumArmorMaterial.GREEN, ModLoader.addArmor("Tutorial"),3).setItemName("WhiteBoot").setIconIndex(26); //Pink PinkHelmet = new ItemPinkHelmet(528, EnumArmorMaterial.PINK, ModLoader.addArmor("Tutorial"),0).setItemName("WhiteHelm").setIconIndex(27); PinkPlate = new ItemPinkPlate(529,EnumArmorMaterial.PINK, ModLoader.addArmor("Tutorial"),1).setItemName("WhitePlate").setIconIndex(28); PinkLegs = new ItemPinkLegs(530,EnumArmorMaterial.PINK, ModLoader.addArmor("Tutorial"),2).setItemName("WhiteLeg").setIconIndex(29); PinkBoots = new ItemPinkBoots(531,EnumArmorMaterial.PINK, ModLoader.addArmor("Tutorial"),3).setItemName("WhiteBoot").setIconIndex(30); GameRegistry.addRecipe(new ItemStack(mod_tutorial.TutorialHelmet,1), new Object[]{ "TTT","T T"," ",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.TutorialPlate,1), new Object[]{ "TTT","TTT","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.TutorialLegs,1), new Object[]{ "TTT","T T","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.TutorialBoots,1), new Object[]{ " ","T T","T T",'T',Block.dirt }); //Yellow GameRegistry.addRecipe(new ItemStack(mod_tutorial.YellowHelmet,1), new Object[]{ "TTT","T T"," ",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.YellowPlate,1), new Object[]{ "TTT","TTT","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.YellowLegs,1), new Object[]{ "TTT","T T","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.YellowBoots,1), new Object[]{ " ","T T","T T",'T',Block.dirt }); //white GameRegistry.addRecipe(new ItemStack(mod_tutorial.WhiteHelmet,1), new Object[]{ "TTT","T T"," ",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.WhitePlate,1), new Object[]{ "TTT","TTT","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.WhiteLegs,1), new Object[]{ "TTT","T T","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.WhiteBoots,1), new Object[]{ " ","T T","T T",'T',Block.dirt }); //red GameRegistry.addRecipe(new ItemStack(mod_tutorial.RedHelmet,1), new Object[]{ "TTT","T T"," ",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.RedPlate,1), new Object[]{ "TTT","TTT","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.RedLegs,1), new Object[]{ "TTT","T T","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.RedBoots,1), new Object[]{ " ","T T","T T",'T',Block.dirt }); //green GameRegistry.addRecipe(new ItemStack(mod_tutorial.GreenHelmet,1), new Object[]{ "TTT","T T"," ",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.GreenPlate,1), new Object[]{ "TTT","TTT","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.GreenLegs,1), new Object[]{ "TTT","T T","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.GreenBoots,1), new Object[]{ " ","T T","T T",'T',Block.dirt }); //pink GameRegistry.addRecipe(new ItemStack(mod_tutorial.PinkHelmet,1), new Object[]{ "TTT","T T"," ",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.PinkPlate,1), new Object[]{ "TTT","TTT","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.PinkLegs,1), new Object[]{ "TTT","T T","T T",'T',Block.dirt }); GameRegistry.addRecipe(new ItemStack(mod_tutorial.PinkBoots,1), new Object[]{ " ","T T","T T",'T',Block.dirt }); //Blue LanguageRegistry.addName(TutorialHelmet, "Blue Helmet"); LanguageRegistry.addName(TutorialPlate, "Blue ChestPlate"); LanguageRegistry.addName(TutorialLegs, "Blue Leggings"); LanguageRegistry.addName(TutorialBoots, "Blue Boots"); LanguageRegistry.addName(BlueIngot, "Blue Ingot"); //Yellow LanguageRegistry.addName(YellowHelmet, "Yellow Helmet"); LanguageRegistry.addName(YellowPlate, "Yellow ChestPlate"); LanguageRegistry.addName(YellowLegs, "Yellow Leggings"); LanguageRegistry.addName(YellowBoots, "Yellow Boots"); //White LanguageRegistry.addName(WhiteHelmet, "White Helmet"); LanguageRegistry.addName(WhitePlate, "White ChestPlate"); LanguageRegistry.addName(WhiteLegs, "White Leggings"); LanguageRegistry.addName(WhiteBoots, "White Boots"); //Red LanguageRegistry.addName(RedHelmet, "Red Helmet"); LanguageRegistry.addName(RedPlate, "Red ChestPlate"); LanguageRegistry.addName(RedLegs, "Red Leggings"); LanguageRegistry.addName(RedBoots, "Red Boots"); //Green LanguageRegistry.addName(GreenHelmet, "Green Helmet"); LanguageRegistry.addName(GreenPlate, "Green ChestPlate"); LanguageRegistry.addName(GreenLegs, "Green Leggings"); LanguageRegistry.addName(GreenBoots, "Green Boots"); //Pink LanguageRegistry.addName(PinkHelmet, "Pink Helmet"); LanguageRegistry.addName(PinkPlate, "Pink ChestPlate"); LanguageRegistry.addName(PinkLegs, "Pink Leggings"); LanguageRegistry.addName(PinkBoots, "Green Boots"); } } And here is my BlueIngot.java: package tutorialtest; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class BlueIngot extends Item { public BlueIngot(int id) { super(id); this.setCreativeTab(CreativeTabs.tabMaterials); } public String getTextureFile() { return CommonProxy.ITEMS_PNG; } } Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 19, 2013 Author Share Posted February 19, 2013 Ok so turns out I had the iconIndex screwed up like you said. Now I have another problem though, when I put on my armor I only get the leggings to show. I have both tut_1 and tut_2 in the right places. Here is a picture of what it looks like, if u need any other information just ask: https://www.dropbox.com/s/e96dn4tgaqmbbgz/Armor%20Error.png Thanks! Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 19, 2013 Author Share Posted February 19, 2013 Ok so I understand everything your saying except when I used some of these things before it didn't work. For the ModLoader.addArmor I have a client proxy its just now how will I use it? What will the line be called, ClientProxy.addArmor? I can change the tutorial thing to tut instead of changing my pictures names. Also last time I used enum helper it didn't work. Ill use it again and if It doesn't work ill post error and code. Thanks! Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 19, 2013 Author Share Posted February 19, 2013 Ok so double bad news. I did almost everything you said for the armor except it still wont work. The only that u told me to do and didn't work was the EnumHelper thing. Also I didn't understand what you ment in your last comment so let me go ahead and post both my client proxy, common proxy and my mod_tutorial classes: ClientProxy https://www.dropbox.com/s/fdqd08xm3v8hmj8/ClientProxy.java CommonProxy https://www.dropbox.com/s/zn85jqubnzkx011/CommonProxy.java mod_tutorial(EnumHelper problem) https://www.dropbox.com/s/4i9sv3kd2ofk5x5/mod_tutorial.java Also the error im receiving for EnumHelper is: EnumHelper cannot be resolved I hope you can help! Thanks! Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 20, 2013 Author Share Posted February 20, 2013 Can you please show me an example, or a website? Quote Link to comment Share on other sites More sharing options...
Mazetar Posted February 20, 2013 Share Posted February 20, 2013 vandy22: http://thenewboston.org/list.php?cat=31 Or to be quite serious about learning, start here: Cs106 Quote If you guys dont get it.. then well ya.. try harder... Link to comment Share on other sites More sharing options...
vandy22 Posted February 20, 2013 Author Share Posted February 20, 2013 Mazetor which one should I watch for proxies? Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 20, 2013 Author Share Posted February 20, 2013 Do you think this is a good website?? http://www.minecraftforge.net/wiki/Proxies Quote Link to comment Share on other sites More sharing options...
vandy22 Posted February 21, 2013 Author Share Posted February 21, 2013 Dude i mean ive looked at all the armor proxy tutorial's and the only difference is in there ClientProxy it says: public int addArmor(String armor) { return RenderingRegistry.addNewArmourRendererPrefix(armor); } } and i just have it as public static int. I dont understand why cant you just tell me? I mean its just one thing. Im not trying to be a jerk, but i mean couldnt you just help me out with my script?! Thanks! Quote Link to comment Share on other sites More sharing options...
Mazetar Posted February 21, 2013 Share Posted February 21, 2013 It's not a simple script, it's code. If static word is the only difference why dotou have it there? Do youknow what static means? The problem is not only a simple word or two, the problem is with the programming basics therefore helping you with this problem whon't solve the next one you meet. Learning java will! Quote If you guys dont get it.. then well ya.. try harder... Link to comment Share on other sites More sharing options...
vandy22 Posted February 21, 2013 Author Share Posted February 21, 2013 Im just saying ive seen like 4 tutorials on it and they all say the same thing and work. So I don't know whats wrong.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.