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(EditGameRulesScreen screen, Component description, List<FormattedCharSequence> tooltip, String str, GameRule<T> gameRule) default EditGameRulesScreen.EntryFactory<T> toVanilla(EditGameRulesScreen screen)
-
Method Details
-
create
EditGameRulesScreen.RuleEntry create(EditGameRulesScreen screen, Component description, List<FormattedCharSequence> tooltip, String str, GameRule<T> gameRule) -
toVanilla
-