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 final GameRules.Key<GameRules.BooleanRule>
GameRules.ANNOUNCE_ADVANCEMENTS
A game rule which regulates whether a player's advancements should be announced in chat.static final GameRules.Key<GameRules.BooleanRule>
GameRules.COMMAND_BLOCK_OUTPUT
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DISABLE_ELYTRA_MOVEMENT_CHECK
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DISABLE_RAIDS
A game rule which regulates whether raids should occur.static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_DAYLIGHT_CYCLE
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_ENTITY_DROPS
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_FIRE_TICK
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_IMMEDIATE_RESPAWN
A game rule which regulates whether a player should immediately respawn upon death.static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_INSOMNIA
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_LIMITED_CRAFTING
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_MOB_GRIEFING
A game rule which regulates whether mobs can modify the world.static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_MOB_LOOT
A game rule which regulates whether mobs should drop loot on death.static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_MOB_SPAWNING
A game rule which regulates whether mobs can spawn naturally.static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_PATROL_SPAWNING
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_TILE_DROPS
A game rule which regulates whether blocks should drop their items when broken.static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_TRADER_SPAWNING
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_WEATHER_CYCLE
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DROWNING_DAMAGE
static final GameRules.Key<GameRules.BooleanRule>
GameRules.FALL_DAMAGE
static final GameRules.Key<GameRules.BooleanRule>
GameRules.FIRE_DAMAGE
static final GameRules.Key<GameRules.BooleanRule>
GameRules.FORGIVE_DEAD_PLAYERS
static final GameRules.Key<GameRules.BooleanRule>
GameRules.FREEZE_DAMAGE
static final GameRules.Key<GameRules.BooleanRule>
GameRules.KEEP_INVENTORY
A game rule which regulates whether player inventories should be persist through respawning.static final GameRules.Key<GameRules.BooleanRule>
GameRules.LOG_ADMIN_COMMANDS
static final GameRules.Key<GameRules.BooleanRule>
GameRules.NATURAL_REGENERATION
static final GameRules.Key<GameRules.BooleanRule>
GameRules.REDUCED_DEBUG_INFO
static final GameRules.Key<GameRules.BooleanRule>
GameRules.SEND_COMMAND_FEEDBACK
static final GameRules.Key<GameRules.BooleanRule>
GameRules.SHOW_DEATH_MESSAGES
static final GameRules.Key<GameRules.BooleanRule>
GameRules.SPECTATORS_GENERATE_CHUNKS
static final 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)