@FunctionalInterface @Environment(value=CLIENT) static interface EditGameRulesScreen.RuleWidgetFactory<T extends GameRules.Rule<T>>
Modifier and Type | Method and Description |
---|---|
EditGameRulesScreen.AbstractRuleWidget |
create(Text name,
List<OrderedText> description,
String ruleName,
T rule) |
EditGameRulesScreen.AbstractRuleWidget create(Text name, List<OrderedText> description, String ruleName, T rule)