Uses of Class
net.minecraft.world.level.GameRules.BooleanValue
Packages that use GameRules.BooleanValue
Package
Description
-
Uses of GameRules.BooleanValue in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection with type parameters of type GameRules.BooleanValueModifier and TypeFieldDescriptionprivate final Set
<GameRules.Key<GameRules.BooleanValue>> InitialWorldCreationOptions.disabledGameRules
The field for thedisabledGameRules
record component.Methods in net.minecraft.client.gui.screens.worldselection that return types with arguments of type GameRules.BooleanValueModifier and TypeMethodDescriptionInitialWorldCreationOptions.disabledGameRules()
Returns the value of thedisabledGameRules
record component.Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type GameRules.BooleanValueModifierConstructorDescriptionBooleanRuleEntry
(Component pLabel, List<FormattedCharSequence> pTooltip, String pDescription, GameRules.BooleanValue pValue) Constructor parameters in net.minecraft.client.gui.screens.worldselection with type arguments of type GameRules.BooleanValueModifierConstructorDescriptionInitialWorldCreationOptions
(WorldCreationUiState.SelectedGameMode selectedGameMode, Set<GameRules.Key<GameRules.BooleanValue>> disabledGameRules, ResourceKey<FlatLevelGeneratorPreset> flatLevelPreset) Creates an instance of aInitialWorldCreationOptions
record class. -
Uses of GameRules.BooleanValue in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework with type parameters of type GameRules.BooleanValueModifier and TypeFieldDescriptionTestEnvironmentDefinition.SetGameRules.boolRules
The field for theboolRules
record component.Methods in net.minecraft.gametest.framework that return types with arguments of type GameRules.BooleanValueModifier and TypeMethodDescriptionTestEnvironmentDefinition.SetGameRules.boolRules()
Returns the value of theboolRules
record component.Constructor parameters in net.minecraft.gametest.framework with type arguments of type GameRules.BooleanValueModifierConstructorDescriptionSetGameRules
(List<TestEnvironmentDefinition.SetGameRules.Entry<Boolean, GameRules.BooleanValue>> boolRules, List<TestEnvironmentDefinition.SetGameRules.Entry<Integer, GameRules.IntegerValue>> intRules) Creates an instance of aSetGameRules
record class. -
Uses of GameRules.BooleanValue in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type GameRules.BooleanValueModifier and TypeMethodDescriptionprivate Explosion.BlockInteraction
ServerLevel.getDestroyType
(GameRules.Key<GameRules.BooleanValue> pDecayGameRule) -
Uses of GameRules.BooleanValue in net.minecraft.world.level
Fields in net.minecraft.world.level with type parameters of type GameRules.BooleanValueModifier and TypeFieldDescriptionstatic final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_ALLOWFIRETICKAWAYFROMPLAYERS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_ANNOUNCE_ADVANCEMENTS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_BLOCK_EXPLOSION_DROP_DECAY
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_COMMANDBLOCKOUTPUT
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DAYLIGHT
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DISABLE_ELYTRA_MOVEMENT_CHECK
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DISABLE_PLAYER_MOVEMENT_CHECK
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DISABLE_RAIDS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DO_IMMEDIATE_RESPAWN
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DO_PATROL_SPAWNING
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DO_TRADER_SPAWNING
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DO_VINES_SPREAD
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DO_WARDEN_SPAWNING
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DOBLOCKDROPS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DOENTITYDROPS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DOFIRETICK
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DOINSOMNIA
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DOMOBLOOT
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DOMOBSPAWNING
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_DROWNING_DAMAGE
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_ENDER_PEARLS_VANISH_ON_DEATH
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_FALL_DAMAGE
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_FIRE_DAMAGE
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_FORGIVE_DEAD_PLAYERS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_FREEZE_DAMAGE
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_GLOBAL_SOUND_EVENTS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_KEEPINVENTORY
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_LAVA_SOURCE_CONVERSION
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_LIMITED_CRAFTING
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_LOCATOR_BAR
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_LOGADMINCOMMANDS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_MOB_EXPLOSION_DROP_DECAY
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_MOBGRIEFING
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_NATURAL_REGENERATION
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_PROJECTILESCANBREAKBLOCKS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_REDUCEDDEBUGINFO
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_SENDCOMMANDFEEDBACK
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_SHOWDEATHMESSAGES
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_SPECTATORSGENERATECHUNKS
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_TNT_EXPLODES
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_TNT_EXPLOSION_DROP_DECAY
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_UNIVERSAL_ANGER
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_WATER_SOURCE_CONVERSION
static final GameRules.Key
<GameRules.BooleanValue> GameRules.RULE_WEATHER_CYCLE
Methods in net.minecraft.world.level that return GameRules.BooleanValueModifier and TypeMethodDescriptionprotected GameRules.BooleanValue
GameRules.BooleanValue.copy()
protected GameRules.BooleanValue
GameRules.BooleanValue.getSelf()
Methods in net.minecraft.world.level that return types with arguments of type GameRules.BooleanValueModifier and TypeMethodDescriptionstatic GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean pDefaultValue) static GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean pDefaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> pChangeListener) private static GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean pDefaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> pChangeListener, FeatureFlagSet pRequiredFeatures) Methods in net.minecraft.world.level with parameters of type GameRules.BooleanValueModifier and TypeMethodDescriptionvoid
GameRules.BooleanValue.setFrom
(GameRules.BooleanValue pValue, MinecraftServer pServer) Method parameters in net.minecraft.world.level with type arguments of type GameRules.BooleanValueModifier and TypeMethodDescriptionstatic GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean pDefaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> pChangeListener) private static GameRules.Type
<GameRules.BooleanValue> GameRules.BooleanValue.create
(boolean pDefaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> pChangeListener, FeatureFlagSet pRequiredFeatures) boolean
GameRules.getBoolean
(GameRules.Key<GameRules.BooleanValue> pKey) default void
GameRules.GameRuleTypeVisitor.visitBoolean
(GameRules.Key<GameRules.BooleanValue> pKey, GameRules.Type<GameRules.BooleanValue> pType) default void
GameRules.GameRuleTypeVisitor.visitBoolean
(GameRules.Key<GameRules.BooleanValue> pKey, GameRules.Type<GameRules.BooleanValue> pType) Constructor parameters in net.minecraft.world.level with type arguments of type GameRules.BooleanValueModifierConstructorDescriptionBooleanValue
(GameRules.Type<GameRules.BooleanValue> pType, boolean pValue)