Fabric Game Rule Visitor
An extended game rule visitor which supports Fabric's own rule types.
Game rule visitors are typically used iterating all game rules. In vanilla, the visitor is used to register game rule commands and populate the {@code Edit Game Rules}
screen.
Rule types specified by this interface are not exhaustive. New entries may be added in the future.
Functions
visitBoolean
Link copied to clipboard
void visitBoolean(GameRules.Key<GameRules.BooleanRule> key, GameRules.Type<GameRules.BooleanRule> type)
Content copied to clipboard
visitDouble
Link copied to clipboard
void visitDouble(GameRules.Key<DoubleRule> key, GameRules.Type<DoubleRule> type)
Content copied to clipboard
Inheritors
RuleListWidgetVisitorMixin
Link copied to clipboard
Sources
jvm source
Link copied to clipboard