Uses of Interface
net.minecraft.world.GameRules.Visitor
-
Uses of GameRules.Visitor in net.minecraft.world
Modifier and TypeMethodDescriptionvoid
GameRules.accept
(GameRules.Visitor visitor) Make the visitor visit all registered game rules.private <T extends GameRules.Rule<T>>
voidGameRules.accept
(GameRules.Visitor visitor, 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)