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