Interface EditGameRulesScreen.RuleWidgetFactory<T extends GameRules.Rule<T>>

Enclosing class:
EditGameRulesScreen
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface @Environment(CLIENT) private static interface EditGameRulesScreen.RuleWidgetFactory<T extends GameRules.Rule<T>>
Mappings:
Namespace Name
official epm$c
intermediary net/minecraft/class_5235$class_5238
named net/minecraft/client/gui/screen/world/EditGameRulesScreen$RuleWidgetFactory
  • Method Details

    • create

      EditGameRulesScreen.AbstractRuleWidget create(Text name, List<OrderedText> description, String ruleName, T rule)
      Mappings:
      Namespace Name Mixin selector
      official create Lepm$c;create(Lrq;Ljava/util/List;Ljava/lang/String;Lcgt$g;)Lepm$f;
      intermediary create Lnet/minecraft/class_5235$class_5238;create(Lnet/minecraft/class_2561;Ljava/util/List;Ljava/lang/String;Lnet/minecraft/class_1928$class_4315;)Lnet/minecraft/class_5235$class_5240;
      named create Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$RuleWidgetFactory;create(Lnet/minecraft/text/Text;Ljava/util/List;Ljava/lang/String;Lnet/minecraft/world/GameRules$Rule;)Lnet/minecraft/client/gui/screen/world/EditGameRulesScreen$AbstractRuleWidget;