Class TypedRegistry<T,Y>
java.lang.Object
com.github.darksoulq.abyssallib.server.registry.Registry<T>
com.github.darksoulq.abyssallib.server.registry.TypedRegistry<T,Y>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TypedRegistry
-
-
Method Details
-
register
Description copied from class:RegistryRegisters a new object with a unique identifier.If the ID is already present in the registry, the registration is rejected and a severe error is logged to the console to prevent accidental overwrites.
-
remove
Description copied from class:RegistryRemoves an entry from the registry by its ID.Warning: This method is intended for internal use only. Removing entries from a registry at runtime can cause significant issues with existing data references and serialization.
-
clear
-
getByType
-