Package | Description |
---|---|
net.minecraft.world |
Modifier and Type | Field and Description |
---|---|
static GameRules.RuleKey<GameRules.IntegerValue> |
GameRules.MAX_COMMAND_CHAIN_LENGTH |
static GameRules.RuleKey<GameRules.IntegerValue> |
GameRules.MAX_ENTITY_CRAMMING |
static GameRules.RuleKey<GameRules.IntegerValue> |
GameRules.RANDOM_TICK_SPEED |
static GameRules.RuleKey<GameRules.IntegerValue> |
GameRules.SPAWN_RADIUS |
Modifier and Type | Method and Description |
---|---|
protected GameRules.IntegerValue |
GameRules.IntegerValue.getValue() |
Modifier and Type | Method and Description |
---|---|
private static GameRules.RuleType<GameRules.IntegerValue> |
GameRules.IntegerValue.create(int defaultValue) |
private static GameRules.RuleType<GameRules.IntegerValue> |
GameRules.IntegerValue.create(int defaultValue,
java.util.function.BiConsumer<MinecraftServer,GameRules.IntegerValue> changeListener) |
Modifier and Type | Method and Description |
---|---|
private static GameRules.RuleType<GameRules.IntegerValue> |
GameRules.IntegerValue.create(int defaultValue,
java.util.function.BiConsumer<MinecraftServer,GameRules.IntegerValue> changeListener) |
int |
GameRules.getInt(GameRules.RuleKey<GameRules.IntegerValue> key) |
Constructor and Description |
---|
IntegerValue(GameRules.RuleType<GameRules.IntegerValue> type,
int defaultValue) |