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