Jump to content

[Solved] [1.9.4] Text Formatting


Ronaldi2001

Recommended Posts

I have items in my mod that have durability and I wanted to get the durability of the item and return it in a tool tip (Text Formatting). This is what ic2 does for their cutters and forge tool. I liked the idea and I wanted to add it to my mod but I cant figure out how  to do it.

~ Ronaldi2001

Link to comment
Share on other sites

You'll want to use the addInformation method and add what you want to be displayed to the list that is one of the parameters. Also i suggest you update to 1.10 because there wasn't much change from 1.9 to 1.10.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.