| Modifier and Type | Method and Description |
|---|---|
Boolean |
getDefaultValue() |
String |
getName() |
Class<Boolean> |
getValueClass() |
int |
hashCode() |
static BooleanGameRule |
of(String name) |
static BooleanGameRule |
of(String name,
boolean defaultValue) |
Boolean |
parse(String value) |
String |
toString() |
public static BooleanGameRule of(String name)
public static BooleanGameRule of(String name, boolean defaultValue)
public Class<Boolean> getValueClass()
getValueClass in interface GameRule<Boolean>public Boolean getDefaultValue()
getDefaultValue in interface GameRule<Boolean>Copyright © 2020. All rights reserved.