Uses of Class
net.minecraft.world.GameRules.Type
Packages that use GameRules.Type
-
Uses of GameRules.Type in net.minecraft.world
Fields in net.minecraft.world declared as GameRules.TypeFields in net.minecraft.world with type parameters of type GameRules.TypeModifier and TypeFieldDescriptionprivate static final Map<GameRules.Key<?>, GameRules.Type<?>> GameRules.RULE_TYPESprivate final Function<GameRules.Type<T>, T> GameRules.Type.ruleFactoryMethods in net.minecraft.world that return GameRules.TypeModifier and TypeMethodDescription(package private) static GameRules.Type<GameRules.BooleanRule> GameRules.BooleanRule.create(boolean initialValue) (package private) static GameRules.Type<GameRules.BooleanRule> GameRules.BooleanRule.create(boolean initialValue, BiConsumer<MinecraftServer, GameRules.BooleanRule> changeCallback) (package private) static GameRules.Type<GameRules.IntRule> GameRules.IntRule.create(int initialValue) (package private) static GameRules.Type<GameRules.IntRule> GameRules.IntRule.create(int initialValue, int min, int max, BiConsumer<MinecraftServer, GameRules.IntRule> changeCallback) private static GameRules.Type<GameRules.IntRule> GameRules.IntRule.create(int initialValue, BiConsumer<MinecraftServer, GameRules.IntRule> changeCallback) Methods in net.minecraft.world with parameters of type GameRules.TypeModifier and TypeMethodDescriptionprivate static <T extends GameRules.Rule<T>>
voidGameRules.accept(GameRules.Visitor consumer, GameRules.Key<?> key, GameRules.Type<?> type) voidGameRules.Acceptor.call(GameRules.Visitor consumer, GameRules.Key<T> key, GameRules.Type<T> type) private static <T extends GameRules.Rule<T>>
GameRules.Key<T> GameRules.register(String name, GameRules.Category category, GameRules.Type<T> type) default <T extends GameRules.Rule<T>>
voidGameRules.Visitor.visit(GameRules.Key<T> key, GameRules.Type<T> type) Visit a game rule.default voidGameRules.Visitor.visitBoolean(GameRules.Key<GameRules.BooleanRule> key, GameRules.Type<GameRules.BooleanRule> type) Visit a boolean rule.default voidGameRules.Visitor.visitInt(GameRules.Key<GameRules.IntRule> key, GameRules.Type<GameRules.IntRule> type) Visit an integer rule.Constructors in net.minecraft.world with parameters of type GameRules.TypeModifierConstructorDescriptionBooleanRule(GameRules.Type<GameRules.BooleanRule> type, boolean initialValue) IntRule(GameRules.Type<GameRules.IntRule> rule, int initialValue) Rule(GameRules.Type<T> type) Constructor parameters in net.minecraft.world with type arguments of type GameRules.TypeModifierConstructorDescription(package private)Type(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> argumentType, Function<GameRules.Type<T>, T> ruleFactory, BiConsumer<MinecraftServer, T> changeCallback, GameRules.Acceptor<T> ruleAcceptor)