Skip to content

Conversation

@mat-1
Copy link
Collaborator

@mat-1 mat-1 commented Dec 1, 2025

hehe 53 files changed, 2334 insertions(+), 835 deletions(-) jumpscare :3

This PR refactors registries so RegistryHolder no longer represents all registries internally as NBT (partially based on past conversations I had with @urisinger), it implements definitions for most parts of the enchantment registry, and it adds support for attribute-based enchantments (i.e. efficiency).

Note that some of the definitions are written in ugly ways due to current limitations with simdnbt, hopefully that can be improved soon.

@mat-1
Copy link
Collaborator Author

mat-1 commented Dec 1, 2025

I think I'm gonna wait until 1.21.11 is released before merging this.

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