public static interface GameRules.RuleTypeConsumer
| Modifier and Type | Method and Description |
|---|---|
default <T extends GameRules.Rule<T>> |
accept(GameRules.RuleKey<T> key,
GameRules.RuleType<T> type) |
default void |
acceptBoolean(GameRules.RuleKey<GameRules.BooleanRule> key,
GameRules.RuleType<GameRules.BooleanRule> type) |
default void |
acceptInt(GameRules.RuleKey<GameRules.IntRule> key,
GameRules.RuleType<GameRules.IntRule> type) |
default <T extends GameRules.Rule<T>> void accept(GameRules.RuleKey<T> key, GameRules.RuleType<T> type)
default void acceptBoolean(GameRules.RuleKey<GameRules.BooleanRule> key, GameRules.RuleType<GameRules.BooleanRule> type)
default void acceptInt(GameRules.RuleKey<GameRules.IntRule> key, GameRules.RuleType<GameRules.IntRule> type)