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

Registry aliasing #4231

Open
wants to merge 3 commits into
base: 1.21.3
Choose a base branch
from
Open

Registry aliasing #4231

wants to merge 3 commits into from

Conversation

Syst3ms
Copy link
Contributor

@Syst3ms Syst3ms commented Nov 15, 2024

Adds a small API to add aliases to registries, useful for when mods want to change IDs without losing compatibility with existing saves, and without having to resort to datafixer hacks.

The API just consists of a new FabricRegistry interface, implemented on all Registry instances via interface injection, with an addAlias method.

@Syst3ms Syst3ms requested review from a team November 16, 2024 14:56
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.

1 participant