Uses of Class
net.minecraft.world.GameRules
Package | Description |
---|---|
net.minecraft.client.gui.screen.world | |
net.minecraft.client.world | |
net.minecraft.server | |
net.minecraft.test | |
net.minecraft.world | |
net.minecraft.world.level |
-
Uses of GameRules in net.minecraft.client.gui.screen.world
Fields in net.minecraft.client.gui.screen.world declared as GameRules Modifier and Type Field Description private GameRules
CreateWorldScreen. gameRules
private GameRules
EditGameRulesScreen. gameRules
Fields in net.minecraft.client.gui.screen.world with type parameters of type GameRules Modifier and Type Field Description private Consumer<Optional<GameRules>>
EditGameRulesScreen. ruleSaver
Constructors in net.minecraft.client.gui.screen.world with parameters of type GameRules Constructor Description EditGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer)
RuleListWidget(GameRules gameRules)
Constructor parameters in net.minecraft.client.gui.screen.world with type arguments of type GameRules Constructor Description EditGameRulesScreen(GameRules gameRules, Consumer<Optional<GameRules>> ruleSaveConsumer)
-
Uses of GameRules in net.minecraft.client.world
Fields in net.minecraft.client.world declared as GameRules Modifier and Type Field Description private GameRules
ClientWorld.Properties. gameRules
Methods in net.minecraft.client.world that return GameRules Modifier and Type Method Description GameRules
ClientWorld.Properties. getGameRules()
-
Uses of GameRules in net.minecraft.server
Methods in net.minecraft.server that return GameRules Modifier and Type Method Description GameRules
MinecraftServer. getGameRules()
-
Uses of GameRules in net.minecraft.test
Fields in net.minecraft.test declared as GameRules Modifier and Type Field Description private static GameRules
TestServer. gameRules
-
Uses of GameRules in net.minecraft.world
Methods in net.minecraft.world that return GameRules Modifier and Type Method Description GameRules
GameRules. copy()
GameRules
SaveProperties. getGameRules()
GameRules
World. getGameRules()
GameRules
WorldProperties. getGameRules()
Methods in net.minecraft.world with parameters of type GameRules Modifier and Type Method Description void
GameRules. setAllValues(GameRules rules, @Nullable MinecraftServer server)
private <T extends GameRules.Rule<T>>
voidGameRules. setValue(GameRules.Key<T> key, GameRules rules, @Nullable MinecraftServer server)
-
Uses of GameRules in net.minecraft.world.level
Fields in net.minecraft.world.level declared as GameRules Modifier and Type Field Description private GameRules
LevelInfo. gameRules
Methods in net.minecraft.world.level that return GameRules Modifier and Type Method Description GameRules
LevelInfo. getGameRules()
GameRules
LevelProperties. getGameRules()
GameRules
UnmodifiableLevelProperties. getGameRules()
Constructors in net.minecraft.world.level with parameters of type GameRules Constructor Description LevelInfo(String name, GameMode gameMode, boolean hardcore, Difficulty difficulty, boolean allowCommands, GameRules gameRules, DataPackSettings dataPackSettings)