-
-
Nested Classes 修饰符和类 Class and Description static class
GameRules.Type
static class
GameRules.Value<T>
-
All Methods Static Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 boolean
getBoolean(GameRule gameRule)
static GameRules
getDefault()
float
getFloat(GameRule gameRule)
Map<GameRule,GameRules.Value>
getGameRules()
GameRules.Type
getGameRuleType(GameRule gameRule)
int
getInteger(GameRule gameRule)
GameRule[]
getRules()
String
getString(GameRule gameRule)
boolean
hasRule(GameRule gameRule)
boolean
isStale()
void
readNBT(CompoundTag nbt)
void
refresh()
void
setGameRule(GameRule gameRule, boolean value)
void
setGameRule(GameRule gameRule, float value)
void
setGameRule(GameRule gameRule, int value)
void
setGameRules(GameRule gameRule, String value)
CompoundTag
writeNBT()
-