I have been trying to take the icon from one of my items and use it in the getIcon() method, however it doesn't display this. Instead, it displays this: http://puu.sh/cyeRU/54d322217b.png when it should be displaying this: https://github.com/a...radeCompass.png
Relevant Code:
Upgrade Item-
https://github.com/a...adeCompass.java
Actual turtle upgrade-
https://github.com/a...tleCompass.java
Thanks!
Turtle upgrade not using the correct icon
Started by austinv11, Nov 01 2014 12:08 AM
2 replies to this topic
#1
Posted 01 November 2014 - 12:08 AM
#2
Posted 01 November 2014 - 12:17 AM
You're probably better off using Forge Event's to load textures instead of creating an item for that purpose. An example can be seen in my mod MoarPeripherals with my Compass upgrade and Solar Upgrade. With upgrades being registered to my Icon object, which receives the Forge Event and then in turn invokes the texture loader for each upgrade that requires it.
Edited by theoriginalbit, 01 November 2014 - 12:18 AM.
#3
Posted 01 November 2014 - 01:26 AM
Thanks!
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











