Uses of Class
net.minecraft.world.GameRules.Rule
Packages that use GameRules.Rule
Package
Description
-
Uses of GameRules.Rule in net.minecraft.client.gui.screen.world
Classes in net.minecraft.client.gui.screen.world with type parameters of type GameRules.RuleModifier and TypeInterfaceDescriptionprivate static interface
EditGameRulesScreen.RuleWidgetFactory<T extends GameRules.Rule<T>>
-
Uses of GameRules.Rule in net.minecraft.server.command
Methods in net.minecraft.server.command with type parameters of type GameRules.RuleModifier and TypeMethodDescription(package private) static <T extends GameRules.Rule<T>>
intGameRuleCommand.executeQuery
(ServerCommandSource source, GameRules.Key<T> key) (package private) static <T extends GameRules.Rule<T>>
intGameRuleCommand.executeSet
(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, GameRules.Key<T> key) -
Uses of GameRules.Rule in net.minecraft.world
Classes in net.minecraft.world with type parameters of type GameRules.RuleModifier and TypeInterfaceDescriptionprivate static interface
GameRules.Acceptor<T extends GameRules.Rule<T>>
static final class
GameRules.Key<T extends GameRules.Rule<T>>
static class
GameRules.Rule<T extends GameRules.Rule<T>>
static class
GameRules.Type<T extends GameRules.Rule<T>>
Subclasses of GameRules.Rule in net.minecraft.worldModifier and TypeClassDescriptionstatic class
static class
Fields in net.minecraft.world with type parameters of type GameRules.RuleModifier and TypeFieldDescriptionprivate final Map<GameRules.Key<?>,
GameRules.Rule<?>> GameRules.rules
Methods in net.minecraft.world with type parameters of type GameRules.RuleModifier and TypeMethodDescriptionprivate static <T extends GameRules.Rule<T>>
voidGameRules.accept
(GameRules.Visitor consumer, GameRules.Key<?> key, GameRules.Type<?> type) <T extends GameRules.Rule<T>>
TGameRules.get
(GameRules.Key<T> key) private static <T extends GameRules.Rule<T>>
GameRules.Key<T>GameRules.register
(String name, GameRules.Category category, GameRules.Type<T> type) private <T extends GameRules.Rule<T>>
voidGameRules.setValue
(GameRules.Key<T> key, GameRules rules, @Nullable MinecraftServer server) default <T extends GameRules.Rule<T>>
voidGameRules.Visitor.visit
(GameRules.Key<T> key, GameRules.Type<T> type) Visit a game rule.Constructor parameters in net.minecraft.world with type arguments of type GameRules.Rule