[ci skip] changelog: add some information about NBT handling changes

This commit is contained in:
Dylan K. Taylor 2019-07-17 15:52:52 +01:00
parent ad4ed1c95c
commit 74572fde08

View File

@ -461,6 +461,13 @@ This version features substantial changes to the network system, improving coher
- `LeatherPants`
- `LeatherTunic`
#### NBT handling
- Serialized NBT byte array caches are no longer stored on itemstacks. These caches were a premature optimization used for network layer serialization and as such were dependent on the network NBT format.
- Internal NBT usage has been marginalized. It's no longer necessary to immediately write changes to NBT. The following hooks have been added:
- `Item->serializeCompoundTag()`
- `Item->deserializeCompoundTag()`
- It's planned to remove runtime NBT from items completely, but this currently presents unresolved backwards-compatibility problems.
#### Enchantment
- The following API methods have been renamed:
- `Enchantment::registerEnchantment()` -> `Enchantment::register()`