packetevents
packetevents copied to clipboard
Refactor entity data types
The entity data types were a mess and incomplete in some parts for modern versions. This PR refactors the entire class to the registry system and adjusts names to match mojang mappings. Old names have been kept for backwards compatibility.
This PR also implements frog variant and cat variant registries, as well as proper painting variant network codec for 1.21.2+.
TODO
- [ ] Update references to entity data types
- [ ] Add proper api for interacting with specific metadata indexes
- [ ] Probably more...?
Would you consider letting us switch over the (non-abstract) entity types?