Uses of Class
net.minecraft.world.level.gamerules.GameRuleMap
Packages that use GameRuleMap
Package
Description
-
Uses of GameRuleMap in net.minecraft.client.gui.screens.worldselection
Fields in net.minecraft.client.gui.screens.worldselection declared as GameRuleMapModifier and TypeFieldDescriptionprivate final GameRuleMapInitialWorldCreationOptions.gameRuleOverwritesThe field for thegameRuleOverwritesrecord component.Methods in net.minecraft.client.gui.screens.worldselection that return GameRuleMapModifier and TypeMethodDescriptionInitialWorldCreationOptions.gameRuleOverwrites()Returns the value of thegameRuleOverwritesrecord component.Constructors in net.minecraft.client.gui.screens.worldselection with parameters of type GameRuleMapModifierConstructorDescriptionInitialWorldCreationOptions(WorldCreationUiState.SelectedGameMode selectedGameMode, GameRuleMap gameRuleOverwrites, @Nullable ResourceKey<FlatLevelGeneratorPreset> flatLevelPreset) Creates an instance of aInitialWorldCreationOptionsrecord class. -
Uses of GameRuleMap in net.minecraft.gametest.framework
Classes in net.minecraft.gametest.framework that implement interfaces with type arguments of type GameRuleMapFields in net.minecraft.gametest.framework declared as GameRuleMapModifier and TypeFieldDescriptionprivate final GameRuleMapTestEnvironmentDefinition.SetGameRules.gameRulesMapThe field for thegameRulesMaprecord component.Methods in net.minecraft.gametest.framework that return GameRuleMapModifier and TypeMethodDescriptionTestEnvironmentDefinition.SetGameRules.gameRulesMap()Returns the value of thegameRulesMaprecord component.TestEnvironmentDefinition.SetGameRules.setup(ServerLevel level) Methods in net.minecraft.gametest.framework with parameters of type GameRuleMapModifier and TypeMethodDescriptionprivate static <T> voidTestEnvironmentDefinition.SetGameRules.setFromActive(GameRuleMap map, GameRule<T> rule, GameRules rules) voidTestEnvironmentDefinition.SetGameRules.teardown(ServerLevel level, GameRuleMap saveData) Constructors in net.minecraft.gametest.framework with parameters of type GameRuleMapModifierConstructorDescriptionSetGameRules(GameRuleMap gameRulesMap) Creates an instance of aSetGameRulesrecord class. -
Uses of GameRuleMap in net.minecraft.world.level.gamerules
Fields in net.minecraft.world.level.gamerules declared as GameRuleMapFields in net.minecraft.world.level.gamerules with type parameters of type GameRuleMapModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<GameRuleMap> GameRuleMap.CODECstatic final SavedDataType<GameRuleMap> GameRuleMap.TYPEMethods in net.minecraft.world.level.gamerules that return GameRuleMapModifier and TypeMethodDescriptionGameRuleMap.Builder.build()static GameRuleMapGameRuleMap.copyOf(GameRuleMap gameRuleMap) static GameRuleMapGameRuleMap.of()static GameRuleMapprivate static GameRuleMapGameRuleMap.withOther(GameRuleMap other) Methods in net.minecraft.world.level.gamerules with parameters of type GameRuleMapModifier and TypeMethodDescriptionstatic GameRuleMapGameRuleMap.copyOf(GameRuleMap gameRuleMap) voidGameRules.setAll(GameRuleMap gameRulesMap, @Nullable MinecraftServer server) voidGameRuleMap.setFromIf(GameRuleMap other, Predicate<GameRule<?>> predicate) private <T> voidGameRules.setFromOther(GameRuleMap gameRulesMap, GameRule<T> gameRule, @Nullable MinecraftServer server) private static <T> voidGameRuleMap.setGameRule(GameRuleMap other, GameRule<T> gameRule, GameRuleMap result) GameRuleMap.withOther(GameRuleMap other) Constructors in net.minecraft.world.level.gamerules with parameters of type GameRuleMap