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
Fields 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.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.CODECMethods in net.minecraft.world.level.gamerules that return GameRuleMapModifier and TypeMethodDescriptionGameRuleMap.Builder.build()static GameRuleMapGameRuleMap.copyOf(GameRuleMap other) 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 other) voidGameRules.setAll(GameRuleMap gameRules, @Nullable MinecraftServer server) voidGameRuleMap.setFromIf(GameRuleMap map, Predicate<GameRule<?>> predicate) private <T> voidGameRules.setFromOther(GameRuleMap gameRules, GameRule<T> gameRule, @Nullable MinecraftServer server) private static <T> voidGameRuleMap.setGameRule(GameRuleMap map, GameRule<T> gameRule, GameRuleMap source) GameRuleMap.withOther(GameRuleMap other) Constructors in net.minecraft.world.level.gamerules with parameters of type GameRuleMap