Interface GameRuleEntryFactory<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptioncreate(AbstractGameRulesScreen screen, Component description, List<FormattedCharSequence> tooltip, String str, GameRule<T> gameRule) default AbstractGameRulesScreen.EntryFactory<T> toVanilla(AbstractGameRulesScreen screen)
-
Method Details
-
create
AbstractGameRulesScreen.RuleEntry create(AbstractGameRulesScreen screen, Component description, List<FormattedCharSequence> tooltip, String str, GameRule<T> gameRule) -
toVanilla
-