Interface GameRule<V>
-
- Type Parameters:
V
- The type of the value
- All Superinterfaces:
DefaultedRegistryValue
,Nameable
@CatalogedBy(GameRules.class) public interface GameRule<V> extends DefaultedRegistryValue, Nameable
Represents a game rule.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
GameRule.Builder<V>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description V
defaultValue()
Gets the default value.Type
valueType()
Gets the valuetype
.-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-