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.disabledGameRulesThe field for thedisabledGameRulesrecord 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 thedisabledGameRulesrecord component.Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type GameRules.BooleanValueModifierConstructorDescriptionBooleanRuleEntry(Component label, List<FormattedCharSequence> tooltip, String description, GameRules.BooleanValue value) 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 aInitialWorldCreationOptionsrecord 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.boolRulesThe field for theboolRulesrecord component.Methods in net.minecraft.gametest.framework that return types with arguments of type GameRules.BooleanValueModifier and TypeMethodDescriptionTestEnvironmentDefinition.SetGameRules.boolRules()Returns the value of theboolRulesrecord 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 aSetGameRulesrecord 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.BlockInteractionServerLevel.getDestroyType(GameRules.Key<GameRules.BooleanValue> decayGameRule) -
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_ALLOWFIRETICKAWAYFROMPLAYERSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_ANNOUNCE_ADVANCEMENTSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_BLOCK_EXPLOSION_DROP_DECAYstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_COMMANDBLOCKOUTPUTstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DAYLIGHTstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DISABLE_ELYTRA_MOVEMENT_CHECKstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DISABLE_PLAYER_MOVEMENT_CHECKstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DISABLE_RAIDSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DO_IMMEDIATE_RESPAWNstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DO_PATROL_SPAWNINGstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DO_TRADER_SPAWNINGstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DO_VINES_SPREADstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DO_WARDEN_SPAWNINGstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DOBLOCKDROPSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DOENTITYDROPSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DOFIRETICKstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DOINSOMNIAstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DOMOBLOOTstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DOMOBSPAWNINGstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_DROWNING_DAMAGEstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_ENDER_PEARLS_VANISH_ON_DEATHstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_FALL_DAMAGEstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_FIRE_DAMAGEstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_FORGIVE_DEAD_PLAYERSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_FREEZE_DAMAGEstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_GLOBAL_SOUND_EVENTSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_KEEPINVENTORYstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_LAVA_SOURCE_CONVERSIONstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_LIMITED_CRAFTINGstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_LOGADMINCOMMANDSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_MOB_EXPLOSION_DROP_DECAYstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_MOBGRIEFINGstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_NATURAL_REGENERATIONstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_PROJECTILESCANBREAKBLOCKSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_REDUCEDDEBUGINFOstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_SENDCOMMANDFEEDBACKstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_SHOWDEATHMESSAGESstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_SPECTATORSGENERATECHUNKSstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_TNT_EXPLODESstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_TNT_EXPLOSION_DROP_DECAYstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_UNIVERSAL_ANGERstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_WATER_SOURCE_CONVERSIONstatic final GameRules.Key<GameRules.BooleanValue> GameRules.RULE_WEATHER_CYCLEMethods in net.minecraft.world.level that return GameRules.BooleanValueModifier and TypeMethodDescriptionprotected GameRules.BooleanValueGameRules.BooleanValue.copy()protected GameRules.BooleanValueGameRules.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 defaultValue) static GameRules.Type<GameRules.BooleanValue> GameRules.BooleanValue.create(boolean defaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> changeListener) Methods in net.minecraft.world.level with parameters of type GameRules.BooleanValueModifier and TypeMethodDescriptionvoidGameRules.BooleanValue.setFrom(GameRules.BooleanValue value, MinecraftServer server) Method parameters in net.minecraft.world.level with type arguments of type GameRules.BooleanValueModifier and TypeMethodDescriptionstatic GameRules.Type<GameRules.BooleanValue> GameRules.BooleanValue.create(boolean defaultValue, BiConsumer<MinecraftServer, GameRules.BooleanValue> changeListener) booleanGameRules.getBoolean(GameRules.Key<GameRules.BooleanValue> key) default voidGameRules.GameRuleTypeVisitor.visitBoolean(GameRules.Key<GameRules.BooleanValue> key, GameRules.Type<GameRules.BooleanValue> type) default voidGameRules.GameRuleTypeVisitor.visitBoolean(GameRules.Key<GameRules.BooleanValue> key, GameRules.Type<GameRules.BooleanValue> type) Constructor parameters in net.minecraft.world.level with type arguments of type GameRules.BooleanValueModifierConstructorDescriptionBooleanValue(GameRules.Type<GameRules.BooleanValue> type, boolean value)