Uses of Class
net.minecraft.world.GameRules.Rule
Package
Description
-
Uses of GameRules.Rule in net.minecraft.client.gui.screen.world
Modifier and TypeInterfaceDescriptionprivate static interface
EditGameRulesScreen.RuleWidgetFactory<T extends GameRules.Rule<T>>
-
Uses of GameRules.Rule in net.minecraft.server.command
Modifier 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
Modifier 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>>
Modifier and TypeClassDescriptionstatic class
static class
Modifier and TypeFieldDescriptionprivate final Map<GameRules.Key<?>,
GameRules.Rule<?>> GameRules.rules
Modifier 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.