Uses of Interface
net.minecraft.world.GameRules.Visitor
-
Uses of GameRules.Visitor in net.minecraft.world
Modifier and TypeMethodDescriptionstatic void
GameRules.accept(GameRules.Visitor visitor)
Make the visitor visit all registered game rules.private static <T extends GameRules.Rule<T>>
voidGameRules.accept(GameRules.Visitor consumer, GameRules.Key<?> key, GameRules.Type<?> type)
void
GameRules.Type.accept(GameRules.Visitor consumer, GameRules.Key<T> key)
void
GameRules.Acceptor.call(GameRules.Visitor consumer, GameRules.Key<T> key, GameRules.Type<T> type)