DataFixerUpper
DataFixerUpper copied to clipboard
Expand the set of primitive codecs and operations in DynamicOps
Figure out what is the strategy for adding a new primitive codec/serialization operation, and implement missing ones
Ability to differentiate between different numerical types (byte, short, int, etc.) on deserialization would be nice to have (instead of getNumberValue have different getIntegerValue, getDoubleValue, getShortValue, etc.). Currently, there are only operations to differentiate between them on serialization (createDouble, createFloat). It requires encoding number type together with value (like NBT) or having a format where all numbers are encoded and decoded the same way (like GSON does I assume) which is not always possible or desirable