Package org.spongepowered.api.registry
Interface RegistryEntry<T>
-
- Type Parameters:
T
- The type of the registry
public interface RegistryEntry<T>
An entry within aRegistry
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RegistryReference<T>
asReference()
ResourceKey
key()
T
value()
Gets thevalue
this entry points to.
-
-
-
Method Detail
-
key
ResourceKey key()
- Returns:
- The key
-
asReference
RegistryReference<T> asReference()
-
-