Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor entity data types #1069

Draft
wants to merge 2 commits into
base: 2.0
Choose a base branch
from

Conversation

booky10
Copy link
Collaborator

@booky10 booky10 commented Nov 26, 2024

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

@Axionize
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants