[Ornithe] add: Data Tag Utils / NbtKeys, etc.#184
[Ornithe] add: Data Tag Utils / NbtKeys, etc.#184sakura-ryoko wants to merge 3 commits intomaruohon:ornithe/1.12.2from
Conversation
…veral notes - add: NbtKeys library - Update Data Tags system, and stage a few items for Masa to look at; such as adding "EmptyData" and Staging most of the future DFU compat items. - add: DataOps for future `Codec<>` DFU use. - add: DataInventory for Abstracting Inventory sources. - add: DataByteBufUtils - Minor updates to Identifier and RegistryUtils to support Tile Entities - add: DataTileEntityUtils as a revised/re-written version of the 1.21.11 code. - add: DataEntityUtils as a revised/re-written version of the 1.21.11 code. - add: Identifier.of() / DyeColorCode fromString, etc.
|
I am sure there will be questions xD |
|
Anyways Masa; the idea here is to bring some "familiar" items to Ornithe; at least in terms of Utility. The IMPL for these NBT parsing functions is a bit jank using custom classes; but it's really the "easiest" way to ensure future proofing the Syntax as much as I can until it requires the use of DataOps and the Registry in future versions; especially when many of the Entity types do not yet exist in Minecraft under 1.12. And to be fair; I also saw the |
|
Also, a lot of the Data Tag changes; I added in a way that shouldn't break any of your existing code; but realistically; it's for your review to make the changes when your downstream mods are ready to be verified that they would work as such; and I have omitted the |
Codec<>DFU use (Commented out)