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