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.BLOCK_EXPLOSION_DROP_DECAY
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_VINES_SPREAD
static final GameRules.Key<GameRules.BooleanRule>
GameRules.DO_WARDEN_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.ENDER_PEARLS_VANISH_ON_DEATH
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.GLOBAL_SOUND_EVENTS
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.LAVA_SOURCE_CONVERSION
static final GameRules.Key<GameRules.BooleanRule>
GameRules.LOG_ADMIN_COMMANDS
static final GameRules.Key<GameRules.BooleanRule>
GameRules.MOB_EXPLOSION_DROP_DECAY
static final GameRules.Key<GameRules.BooleanRule>
GameRules.NATURAL_REGENERATION
static final GameRules.Key<GameRules.BooleanRule>
GameRules.PROJECTILES_CAN_BREAK_BLOCKS
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.TNT_EXPLOSION_DROP_DECAY
static final GameRules.Key<GameRules.BooleanRule>
GameRules.UNIVERSAL_ANGER
static final GameRules.Key<GameRules.BooleanRule>
GameRules.WATER_SOURCE_CONVERSION
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) private Explosion.DestructionType
World.getDestructionType
(GameRules.Key<GameRules.BooleanRule> gameRuleKey) 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)