yarn/mappings/net/minecraft/nbt/NbtOps.mapping

22 lines
1.1 KiB
Plaintext

CLASS net/minecraft/class_2509 net/minecraft/nbt/NbtOps
COMMENT Used to handle Minecraft NBTs within {@link com.mojang.serialization.Dynamic
COMMENT dynamics} for DataFixerUpper, allowing generalized serialization logic
COMMENT shared across different type of data structures. Use {@link NbtOps#INSTANCE}
COMMENT for the ops singleton.
COMMENT
COMMENT <p>For instance, dimension data may be stored as JSON in data packs, but
COMMENT they will be transported in packets as NBT. DataFixerUpper allows
COMMENT generalizing the dimension serialization logic to prevent duplicate code,
COMMENT where the NBT ops allow the DataFixerUpper dimension serialization logic
COMMENT to interact with Minecraft NBTs.</p>
COMMENT
COMMENT @see NbtOps#INSTANCE
FIELD field_11560 INSTANCE Lnet/minecraft/class_2509;
COMMENT An singleton of the NBT dynamic ops.
COMMENT
COMMENT <p>This ops does not compress maps (replace field name to value pairs
COMMENT with an ordered list of values in serialization). In fact, since
COMMENT Minecraft NBT lists can only contain elements of the same type, this op
COMMENT cannot compress maps.</p>
CLASS class_5320 MapBuilder