static class GameRules.Value
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private GameRules.ValueType |
type |
private boolean |
valueBoolean |
private double |
valueDouble |
private int |
valueInteger |
private java.lang.String |
valueString |
Constructor and Description |
---|
Value(java.lang.String value,
GameRules.ValueType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean() |
int |
getInt() |
java.lang.String |
getString() |
GameRules.ValueType |
getType() |
void |
setValue(java.lang.String value) |
private java.lang.String valueString
private boolean valueBoolean
private int valueInteger
private double valueDouble
private final GameRules.ValueType type
public Value(java.lang.String value, GameRules.ValueType type)
public void setValue(java.lang.String value)
public java.lang.String getString()
public boolean getBoolean()
public int getInt()
public GameRules.ValueType getType()