Uses of Class
net.minecraft.world.GameRules.Rule
Packages that use GameRules.Rule
Package
Description
The base package for all Minecraft classes.
-
Uses of GameRules.Rule in net.minecraft
Methods in net.minecraft with type parameters of type GameRules.RuleModifier and TypeMethodDescription<T extends GameRules.Rule<T>>
Tclass_11829.method_73755(GameRules.Key<T> key) Methods in net.minecraft that return GameRules.RuleModifier and TypeMethodDescriptionprivate GameRules.Rule<?> class_11829.method_73759(String string) Methods in net.minecraft with parameters of type GameRules.RuleModifier and TypeMethodDescriptionvoidclass_11806.method_73667(String string, GameRules.Rule<?> rule) voidclass_11869.method_73667(String string, GameRules.Rule<?> rule) voidclass_11870.method_73667(String string, GameRules.Rule<?> rule) voidclass_11871.method_73667(String string, GameRules.Rule<?> rule) class_11829.method_73757(String string, GameRules.Rule<?> rule) static class_11844.class_11846class_11844.method_73876(class_11827 class_11827, String string, GameRules.Rule<?> rule) -
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 interfaceEditGameRulesScreen.RuleWidgetFactory<T extends GameRules.Rule<T>> -
Uses of GameRules.Rule in net.minecraft.server
Methods in net.minecraft.server with parameters of type GameRules.RuleModifier and TypeMethodDescriptionvoidMinecraftServer.method_74058(String string, GameRules.Rule<?> rule) -
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 recordTestEnvironmentDefinition.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 interfaceGameRules.Acceptor<T extends GameRules.Rule<T>>static final classGameRules.Key<T extends GameRules.Rule<T>>static classGameRules.Rule<T extends GameRules.Rule<T>>static classGameRules.Type<T extends GameRules.Rule<T>>Subclasses of GameRules.Rule in net.minecraft.worldModifier and TypeClassDescriptionstatic classstatic classFields in net.minecraft.world with type parameters of type GameRules.RuleModifier and TypeFieldDescriptionprivate final Map<GameRules.Key<?>, GameRules.Rule<?>> GameRules.rulesMethods 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.RuleModifierConstructorDescriptionprivateGameRules(Map<GameRules.Key<?>, GameRules.Rule<?>> rules, FeatureSet enabledFeatures)