Compatibility
Minecraft: Java Edition
1.21.x
1.20.x
1.19.x
1.18.x
1.17.x
1.16.x
1.15.x
1.14.x
1.13.x
1.12.x
1.11.x
1.10.x
1.9.x
1.8.x
1.7.x
Platforms
Supported environments
Creators
Details
Licensed GPL-3.0-or-later
Published 6 months ago
Updated 4 days ago
Generic Registry
An object-storing type-based modify-on-fly single-end-origin registry.
Feature
- Store any object
- Add or remove at any time
Registry
Register to Registry
Registries.register(Identifier id, T object);
Get from Registry
Registries.get(Class<T> type, Identifier id);
Unregister from Registry
Registries.unregister(Class<T> type, Identifier id);
Registries.unregister(Identifier id, T object);


