This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
I am writing a mod to add some new trees to the game. So far, I wrote the code for the logs and leaves. The mod works. But I cannot for the life of me figure out why the textures refuse to show up in game.. What am I doing wrong?
My Code:
Main Mod class: https://pastebin.com/DXBFtJBk
Log Block class: https://pastebin.com/HMUngQMX
Log Block Item class: https://pastebin.com/PTFvT4Kp
Leaves Block class: https://pastebin.com/fvrfF08k
Leaves Block Item class https://pastebin.com/RigZ4NaU
The jar file so far so you can see the folder structure by winrar or some other extracting tool
http://www.mediafire.com/file/q4epmhjh9hw6xma/modid-1.0.jar
I followed neale gaming's tutorial on youtube... his seems to work?
I do call getunlocalized name... and names and the Lang file work perfectly so that won't be the problem.
I also just went back to the video to make sure I did follow it correctly as well so yeah
I just went back to the video again and my code is exactly the same as in the video. and that's not the problem anyway because leaves also don't work
I changed the modid and my code... and changed so it doesnt call gettexturename... but the textures still isnt working.....
I am writing a mod to add some new trees to the game. So far, I wrote the code for the logs and leaves. The mod works. But I cannot for the life of me figure out why the textures refuse to show up in game.. What am I doing wrong?
My Code:
Main Mod class: https://pastebin.com/DXBFtJBk
Log Block class: https://pastebin.com/HMUngQMX
Log Block Item class: https://pastebin.com/PTFvT4Kp
Leaves Block class: https://pastebin.com/fvrfF08k
Leaves Block Item class https://pastebin.com/RigZ4NaU
The jar file so far so you can see the folder structure by winrar or some other extracting tool
http://www.mediafire.com/file/q4epmhjh9hw6xma/modid-1.0.jar
I followed neale gaming's tutorial on youtube... his seems to work?
I do call getunlocalized name... and names and the Lang file work perfectly so that won't be the problem.
I also just went back to the video to make sure I did follow it correctly as well so yeah
I just went back to the video again and my code is exactly the same as in the video. and that's not the problem anyway because leaves also don't work
I changed the modid and my code... and changed so it doesnt call gettexturename... but the textures still isnt working.....