Generic Registry

Quick rating

Community listing page, reviews here may not be monitored by the author.

Generic Registry

No reviews yet

An object-storing type-based modify-on-fly single-end-origin registry.

Mod Loaders
Minecraft

About

Description

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);
Registries.unregister(Class<T> type, Identifier id);
Registries.unregister(Identifier id, T object);