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
named net/minecraft/client/gui/screen/world/EditGameRulesScreen$RuleWidgetFactory
intermediary net/minecraft/class_5235$class_5238
official fsj$c
  • Method Details

    • create

      EditGameRulesScreen.AbstractRuleWidget create(Text name, List<OrderedText> description, String ruleName, T rule)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official create Lfsj$c;create(Lwu;Ljava/util/List;Ljava/lang/String;Ldcc$g;)Lfsj$f;