Posted July 5, 201312 yr My guess is that these errors are due to the tutorial not being updated for 1.6.1, so I just wanted to mention that and see if we can work together to get that tutorial updated. However it is also quite possible that I am doing something wrong as well. Here is the crash report: http://paste.minecraftforge.net/view/0470161a Thanks!
July 5, 201312 yr If that helps, I went through the tutorial with v1.5.2 and I had some problems as well. Are you using eclipse?
July 5, 201312 yr Reading through that crash report, it seems as though you are using the method "preloadTexture(String texture)"? If you are, I would suggest getting rid of it. I may actually (considering this is the second time now) update that tutorial... Hmmm... Ill get back to you on that one. But yeah, preloadTexture(String texture) is no longer "valid". Minecraft/forge no longer uses that to load the texture into memory. It does that via the icon registry in the block/item class. I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes. I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there
July 5, 201312 yr Havvy's tutorials are for 1.5 and earlier, chances are they wont work for 1.6. Forge is still in development for 1.6, so you may have to wait a while for new tutorials.
July 5, 201312 yr And even with 1.5.2 there are some tweaks needed in the blocks/items section. The rest are fine though, they work.
July 5, 201312 yr Author Yep, it was choking on MinecraftForgeClient.preloadTexture(String texture). Commented out those lines, builds fine. I think the idea behind the tutorial is to just get something added, compiled, and working. How should we change that tutorial for 1.6.1 so that at least one very basic line of code is executed? I was thinking about replacing those two lines with System.out.print("Hello world"); but....maybe there is something more Minecraft-centric that would make more sense I'm also going to complete that tutorial series and document everything that needs to be changed. Thanks!
July 5, 201312 yr I'm also going to complete that tutorial series and document everything that needs to be changed. Thanks! Please give me that documentation. I am fixing some stuff up now I am Mew. The Legendary Psychic. I behave oddly and am always playing practical jokes. I have also found that I really love making extremely long and extremely but sometimes not so descriptive variables. Sort of like what I just did there
July 5, 201312 yr Check out my other thread, I had a few things highlighted. The tutorials are really good, they just need a few corrections... I think additional explanations / comments / clarifications are always welcome of course... On the basic blocks tutorial, I think the Generic.Ore class is missing a import net.minecraft.client.renderer.texture.IconRegister; at the beginning.
July 7, 201312 yr Author I'm also going to complete that tutorial series and document everything that needs to be changed. Thanks! Please give me that documentation. I am fixing some stuff up now er, my plan was to do that next week. I'll let you know if I find anything that doesn't work for me. Cheers!!
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.