Currently, this is how the display name for motes is serialized and sent to the client:
|
tag.putString(TAG_DISPLAY_NAME, rec.getDisplayName().getString()); |
This is unideal for a couple of reasons. Calling getString() on the server means that the item name in the mote will always be in English instead of the client's language. Also, it might be convenient for various purposes to send the actual item information to the client, like with MoreIotas' item stack iotas. (My use case would be to implement item rendering in HexDebug's Splicing Table.)
Currently, this is how the display name for motes is serialized and sent to the client:
Hexal/Common/src/main/java/ram/talia/hexal/api/casting/iota/MoteIota.java
Line 201 in 6e2d94a
This is unideal for a couple of reasons. Calling
getString()on the server means that the item name in the mote will always be in English instead of the client's language. Also, it might be convenient for various purposes to send the actual item information to the client, like with MoreIotas' item stack iotas. (My use case would be to implement item rendering in HexDebug's Splicing Table.)