Interface CyclingButtonWidget.Values<T>

Enclosing class:
CyclingButtonWidget<T>

@Environment(CLIENT) public static interface CyclingButtonWidget.Values<T>
Mappings:
Namespace Name
named net/minecraft/client/gui/widget/CyclingButtonWidget$Values
intermediary net/minecraft/class_5676$class_5680
official fit$c
  • Method Details

    • getCurrent

      List<T> getCurrent()
      Mappings:
      Namespace Name Mixin selector
      named getCurrent Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;getCurrent()Ljava/util/List;
      intermediary method_32626 Lnet/minecraft/class_5676$class_5680;method_32626()Ljava/util/List;
      official a Lfit$c;a()Ljava/util/List;
    • getDefaults

      List<T> getDefaults()
      Mappings:
      Namespace Name Mixin selector
      named getDefaults Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;getDefaults()Ljava/util/List;
      intermediary method_32629 Lnet/minecraft/class_5676$class_5680;method_32629()Ljava/util/List;
      official b Lfit$c;b()Ljava/util/List;
    • of

      static <T> CyclingButtonWidget.Values<T> of(Collection<T> values)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;of(Ljava/util/Collection;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;
      intermediary method_32627 Lnet/minecraft/class_5676$class_5680;method_32627(Ljava/util/Collection;)Lnet/minecraft/class_5676$class_5680;
      official a Lfit$c;a(Ljava/util/Collection;)Lfit$c;
    • of

      static <T> CyclingButtonWidget.Values<T> of(BooleanSupplier alternativeToggle, List<T> defaults, List<T> alternatives)
      Mappings:
      Namespace Name Mixin selector
      named of Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;of(Ljava/util/function/BooleanSupplier;Ljava/util/List;Ljava/util/List;)Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;
      intermediary method_32628 Lnet/minecraft/class_5676$class_5680;method_32628(Ljava/util/function/BooleanSupplier;Ljava/util/List;Ljava/util/List;)Lnet/minecraft/class_5676$class_5680;
      official a Lfit$c;a(Ljava/util/function/BooleanSupplier;Ljava/util/List;Ljava/util/List;)Lfit$c;