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.test
Classes in net.minecraft.test with type parameters of type GameRules.RuleModifier and TypeClassDescriptionstatic final record
TestEnvironmentDefinition.GameRules.RuleValue<S,
T extends GameRules.Rule<T>> Methods in net.minecraft.test with type parameters of type GameRules.RuleModifier and TypeMethodDescriptionstatic <S,
T extends GameRules.Rule<T>>
com.mojang.serialization.Codec<TestEnvironmentDefinition.GameRules.RuleValue<S, T>> TestEnvironmentDefinition.GameRules.RuleValue.createCodec
(Class<T> ruleClass, com.mojang.serialization.Codec<S> valueCodec) static <S,
T extends GameRules.Rule<T>>
TestEnvironmentDefinition.GameRules.RuleValue<S, T> TestEnvironmentDefinition.GameRules.ruleValue
(GameRules.Key<T> key, S value) -
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 <T extends GameRules.Rule<T>>
voidGameRules.accept
(GameRules.Visitor visitor, GameRules.Key<?> key, GameRules.Type<?> type) static <T extends GameRules.Rule<T>>
com.mojang.serialization.Codec<GameRules.Key<T>> GameRules.createKeyCodec
(Class<T> ruleClass) <T extends GameRules.Rule<T>>
TGameRules.get
(GameRules.Key<T> key) static <T extends GameRules.Rule<T>>
GameRules.Type<T> GameRules.getRuleType
(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.RuleModifierConstructorDescriptionprivate
GameRules
(Map<GameRules.Key<?>, GameRules.Rule<?>> rules, FeatureSet enabledFeatures)