Jump to content

onWrite & onRead to NBT Hooks


roza330

Recommended Posts

***Please lock this topic if I've just been stupid and there already are hooks for onWriteToNBT and onReadFromNBT.***

 

^^^

What I think would be a good addition to Minecraft Forge are hooks so that you can write additional data to entities. For example I am currently writing a mod that adds warmth to the game, and trying to write the warmth level into the player's NBT, however I can't figure out a way to do this unless there's a way to detect when the NBT is being written to/read from.

 

Thanks for reading.

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.