Interface CyclingButtonWidget.Values<T>

Enclosing class:
CyclingButtonWidget<T>

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

    • getCurrent

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

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

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

      static <T> CyclingButtonWidget.Values<T> of(BooleanSupplier alternativeToggle, List<T> defaults, List<T> alternatives)
      Mappings:
      Namespace Name Mixin selector
      official a Legy$c;a(Ljava/util/function/BooleanSupplier;Ljava/util/List;Ljava/util/List;)Legy$c;
      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;
      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;