Uses of Class
net.minecraft.world.GameRules.IntRule
-
Uses of GameRules.IntRule in net.minecraft.client.gui.screen.world
ModifierConstructorDescriptionIntRuleWidget(Text name, List<OrderedText> description, String ruleName, GameRules.IntRule rule)
-
Uses of GameRules.IntRule in net.minecraft.world
Modifier and TypeFieldDescriptionstatic GameRules.Key<GameRules.IntRule>
GameRules.MAX_COMMAND_CHAIN_LENGTH
static GameRules.Key<GameRules.IntRule>
GameRules.MAX_ENTITY_CRAMMING
A game rule which regulates the number of entities that can be crammed into a block space before they incur cramming damage.static GameRules.Key<GameRules.IntRule>
GameRules.PLAYERS_SLEEPING_PERCENTAGE
static GameRules.Key<GameRules.IntRule>
GameRules.RANDOM_TICK_SPEED
static GameRules.Key<GameRules.IntRule>
GameRules.SPAWN_RADIUS
Modifier and TypeMethodDescriptionprotected GameRules.IntRule
GameRules.IntRule.copy()
protected GameRules.IntRule
GameRules.IntRule.getThis()
Modifier and TypeMethodDescription(package private) static GameRules.Type<GameRules.IntRule>
GameRules.IntRule.create(int initialValue)
private static GameRules.Type<GameRules.IntRule>
GameRules.IntRule.create(int initialValue, BiConsumer<MinecraftServer,GameRules.IntRule> changeCallback)
Modifier and TypeMethodDescriptionvoid
GameRules.IntRule.setValue(GameRules.IntRule intRule, @Nullable MinecraftServer minecraftServer)
Modifier and TypeMethodDescriptionprivate static GameRules.Type<GameRules.IntRule>
GameRules.IntRule.create(int initialValue, BiConsumer<MinecraftServer,GameRules.IntRule> changeCallback)
int
GameRules.getInt(GameRules.Key<GameRules.IntRule> rule)
default void
GameRules.Visitor.visitInt(GameRules.Key<GameRules.IntRule> key, GameRules.Type<GameRules.IntRule> type)
Visit an integer rule.default void
GameRules.Visitor.visitInt(GameRules.Key<GameRules.IntRule> key, GameRules.Type<GameRules.IntRule> type)
Visit an integer rule.