Uses of Class
net.minecraft.world.GameRules.RuleType
Packages that use GameRules.RuleType
-
Uses of GameRules.RuleType in net.minecraft.world
Fields in net.minecraft.world declared as GameRules.RuleTypeFields in net.minecraft.world with type parameters of type GameRules.RuleTypeModifier and TypeFieldDescriptionprivate final Function<GameRules.RuleType<T>,
T> GameRules.RuleType.constructor
private static final Map<GameRules.RuleKey<?>,
GameRules.RuleType<?>> GameRules.GAME_RULE_TYPES
Methods in net.minecraft.world that return GameRules.RuleTypeModifier and TypeMethodDescriptionprivate static GameRules.RuleType<GameRules.BooleanValue>
GameRules.BooleanValue.create
(boolean p_223568_0_) private static GameRules.RuleType<GameRules.BooleanValue>
GameRules.BooleanValue.create
(boolean p_223567_0_, BiConsumer<MinecraftServer, GameRules.BooleanValue> p_223567_1_) private static GameRules.RuleType<GameRules.IntegerValue>
GameRules.IntegerValue.create
(int p_223559_0_) private static GameRules.RuleType<GameRules.IntegerValue>
GameRules.IntegerValue.create
(int p_223564_0_, BiConsumer<MinecraftServer, GameRules.IntegerValue> p_223564_1_) Methods in net.minecraft.world with parameters of type GameRules.RuleTypeModifier and TypeMethodDescriptionvoid
GameRules.IRule.call
(GameRules.IRuleEntryVisitor p_call_1_, GameRules.RuleKey<T> p_call_2_, GameRules.RuleType<T> p_call_3_) private static <T extends GameRules.RuleValue<T>>
voidGameRules.callVisitorCap
(GameRules.IRuleEntryVisitor p_234897_0_, GameRules.RuleKey<?> p_234897_1_, GameRules.RuleType<?> p_234897_2_) static <T extends GameRules.RuleValue<T>>
GameRules.RuleKey<T>GameRules.register
(String p_234903_0_, GameRules.Category p_234903_1_, GameRules.RuleType<T> p_234903_2_) default <T extends GameRules.RuleValue<T>>
voidGameRules.IRuleEntryVisitor.visit
(GameRules.RuleKey<T> p_223481_1_, GameRules.RuleType<T> p_223481_2_) default void
GameRules.IRuleEntryVisitor.visitBoolean
(GameRules.RuleKey<GameRules.BooleanValue> p_230482_1_, GameRules.RuleType<GameRules.BooleanValue> p_230482_2_) default void
GameRules.IRuleEntryVisitor.visitInteger
(GameRules.RuleKey<GameRules.IntegerValue> p_230483_1_, GameRules.RuleType<GameRules.IntegerValue> p_230483_2_) Constructors in net.minecraft.world with parameters of type GameRules.RuleTypeModifierConstructorDescriptionBooleanValue
(GameRules.RuleType<GameRules.BooleanValue> p_i51535_1_, boolean p_i51535_2_) IntegerValue
(GameRules.RuleType<GameRules.IntegerValue> p_i51534_1_, int p_i51534_2_) RuleValue
(GameRules.RuleType<T> p_i51530_1_) Constructor parameters in net.minecraft.world with type arguments of type GameRules.RuleTypeModifierConstructorDescriptionprivate
RuleType
(Supplier<com.mojang.brigadier.arguments.ArgumentType<?>> p_i231615_1_, Function<GameRules.RuleType<T>, T> p_i231615_2_, BiConsumer<MinecraftServer, T> p_i231615_3_, GameRules.IRule<T> p_i231615_4_)