I Can't Get The Textures To Work!

25 views
Skip to first unread message

braino...@gmail.com

unread,
May 5, 2015, 7:08:12 PM5/5/15
to sams-teach-yourself-minecraf...@googlegroups.com
I have followed the book's instructions to create a texture for an item in chapter 4 "Making Your First Item" but when i call the texture using the setTextureName line of code, i get an error under setTextureName. The error says "the method setTextureName(String) is undefined for the type ItemKey". I thought it would be easiest if i created the key for my first item and made my own 16x16 texture, made sure it was in the right file, made sure it was .png , and made sure the code was all correct. The error still shows up and i can't figure out what is wrong. By The Way, you should know this is for 1.8

Jimmy Koene

unread,
May 7, 2015, 2:49:28 AM5/7/15
to sams-teach-yourself-minecraf...@googlegroups.com
Hello,

Thank you for purchasing my book.

One thing you should know is that there have been a lot of changes when it comes to textures in 1.8. You can follow this tutorial on how to get item textures to work in 1.8: http://www.wuppy29.com/minecraft/1-8-tutorial/updating-1-7-to-1-8-part-2-basic-items/

Thanks,
Jimmy Koene
Reply all
Reply to author
Forward
0 new messages