Package org.spongepowered.api.registry
Interface RegistryEntry<T>
- Type Parameters:
T- The type of the registry
public interface RegistryEntry<T>
An entry within a
Registry.-
Method Details
-
key
ResourceKey key()- Returns:
- The key
-
value
T value()Gets thevaluethis entry points to.- Returns:
- The value
-
asReference
RegistryReference<T> asReference()
-