Package net.minecraft.world.rule
Interface GameRuleVisitor
public interface GameRuleVisitor
A visitor used to visit all game rules.
- Mappings:
Namespace Name named net/minecraft/world/rule/GameRuleVisitorintermediary net/minecraft/class_4311official esr
-
Method Summary
-
Method Details
-
visit
Visit a game rule.It is expected all game rules regardless of type will be visited using this method.
- Mappings:
Namespace Name Mixin selector named visitLnet/minecraft/world/rule/GameRuleVisitor;visit(Lnet/minecraft/world/rule/GameRule;)Vintermediary method_20762Lnet/minecraft/class_4311;method_20762(Lnet/minecraft/class_12279;)Vofficial aLesr;a(Lesn;)V
-
visitBoolean
Visit a boolean rule.Note
visit(GameRule)will be called before this method.- Mappings:
Namespace Name Mixin selector named visitBooleanLnet/minecraft/world/rule/GameRuleVisitor;visitBoolean(Lnet/minecraft/world/rule/GameRule;)Vintermediary method_27329Lnet/minecraft/class_4311;method_27329(Lnet/minecraft/class_12279;)Vofficial bLesr;b(Lesn;)V
-
visitInt
Visit an integer rule.Note
visit(GameRule)will be called before this method.- Mappings:
Namespace Name Mixin selector named visitIntLnet/minecraft/world/rule/GameRuleVisitor;visitInt(Lnet/minecraft/world/rule/GameRule;)Vintermediary method_27330Lnet/minecraft/class_4311;method_27330(Lnet/minecraft/class_12279;)Vofficial cLesr;c(Lesn;)V
-