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 interfaceGameRule.Builder<V>
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VdefaultValue()Gets the default value.TypevalueType()Gets the valuetype.-
Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue
asDefaultedReference, findKey, key
-
-