Uses of Class
net.minecraft.world.GameRules.BooleanRule
-
Uses of GameRules.BooleanRule in net.minecraft.client.gui.screen.world
ModifierConstructorDescriptionBooleanRuleWidget(Text name, List<OrderedText> description, String ruleName, GameRules.BooleanRule rule)
-
Uses of GameRules.BooleanRule in net.minecraft.world
Modifier and TypeFieldDescriptionstatic GameRules.Key<GameRules.BooleanRule>
GameRules.ANNOUNCE_ADVANCEMENTS
A game rule which regulates whether a player's advancements should be announced in chat.static GameRules.Key<GameRules.BooleanRule>
GameRules.COMMAND_BLOCK_OUTPUT
static GameRules.Key<GameRules.BooleanRule>
GameRules.DISABLE_ELYTRA_MOVEMENT_CHECK
static GameRules.Key<GameRules.BooleanRule>
GameRules.DISABLE_RAIDS
A game rule which regulates whether raids should occur.static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_DAYLIGHT_CYCLE
static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_ENTITY_DROPS
static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_FIRE_TICK
static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_IMMEDIATE_RESPAWN
A game rule which regulates whether a player should immediately respawn upon death.static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_INSOMNIA
static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_LIMITED_CRAFTING
static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_MOB_GRIEFING
A game rule which regulates whether mobs can modify the world.static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_MOB_LOOT
A game rule which regulates whether mobs should drop loot on death.static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_MOB_SPAWNING
A game rule which regulates whether mobs can spawn naturally.static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_PATROL_SPAWNING
static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_TILE_DROPS
A game rule which regulates whether blocks should drop their items when broken.static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_TRADER_SPAWNING
static GameRules.Key<GameRules.BooleanRule>
GameRules.DO_WEATHER_CYCLE
static GameRules.Key<GameRules.BooleanRule>
GameRules.DROWNING_DAMAGE
static GameRules.Key<GameRules.BooleanRule>
GameRules.FALL_DAMAGE
static GameRules.Key<GameRules.BooleanRule>
GameRules.FIRE_DAMAGE
static GameRules.Key<GameRules.BooleanRule>
GameRules.FORGIVE_DEAD_PLAYERS
static GameRules.Key<GameRules.BooleanRule>
GameRules.FREEZE_DAMAGE
static GameRules.Key<GameRules.BooleanRule>
GameRules.KEEP_INVENTORY
A game rule which regulates whether player inventories should be persist through respawning.static GameRules.Key<GameRules.BooleanRule>
GameRules.LOG_ADMIN_COMMANDS
static GameRules.Key<GameRules.BooleanRule>
GameRules.NATURAL_REGENERATION
static GameRules.Key<GameRules.BooleanRule>
GameRules.REDUCED_DEBUG_INFO
static GameRules.Key<GameRules.BooleanRule>
GameRules.SEND_COMMAND_FEEDBACK
static GameRules.Key<GameRules.BooleanRule>
GameRules.SHOW_DEATH_MESSAGES
static GameRules.Key<GameRules.BooleanRule>
GameRules.SPECTATORS_GENERATE_CHUNKS
static GameRules.Key<GameRules.BooleanRule>
GameRules.UNIVERSAL_ANGER
Modifier and TypeMethodDescriptionprotected GameRules.BooleanRule
GameRules.BooleanRule.copy()
protected GameRules.BooleanRule
GameRules.BooleanRule.getThis()
Modifier and TypeMethodDescription(package private) static GameRules.Type<GameRules.BooleanRule>
GameRules.BooleanRule.create(boolean initialValue)
(package private) static GameRules.Type<GameRules.BooleanRule>
GameRules.BooleanRule.create(boolean initialValue, BiConsumer<MinecraftServer,GameRules.BooleanRule> changeCallback)
Modifier and TypeMethodDescriptionvoid
GameRules.BooleanRule.setValue(GameRules.BooleanRule booleanRule, @Nullable MinecraftServer minecraftServer)
Modifier and TypeMethodDescription(package private) static GameRules.Type<GameRules.BooleanRule>
GameRules.BooleanRule.create(boolean initialValue, BiConsumer<MinecraftServer,GameRules.BooleanRule> changeCallback)
boolean
GameRules.getBoolean(GameRules.Key<GameRules.BooleanRule> rule)
default void
GameRules.Visitor.visitBoolean(GameRules.Key<GameRules.BooleanRule> key, GameRules.Type<GameRules.BooleanRule> type)
Visit a boolean rule.default void
GameRules.Visitor.visitBoolean(GameRules.Key<GameRules.BooleanRule> key, GameRules.Type<GameRules.BooleanRule> type)
Visit a boolean rule.ModifierConstructorDescriptionBooleanRule(GameRules.Type<GameRules.BooleanRule> type, boolean initialValue)