packetevents icon indicating copy to clipboard operation
packetevents copied to clipboard

Refactor entity data types

Open booky10 opened this issue 1 year ago • 1 comments

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...?

booky10 avatar Nov 26 '24 02:11 booky10

Would you consider letting us switch over the (non-abstract) entity types?

Axionize avatar Nov 26 '24 03:11 Axionize