Interface CyclingButtonWidget.Values<T>

Enclosing class:
CyclingButtonWidget<T>

@Environment(CLIENT) private static interface CyclingButtonWidget.Values<T>
Mappings:
Namespace Name
official eak$d
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 Leak$d;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 Leak$d;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(List<T> values)
      Mappings:
      Namespace Name Mixin selector
      official a Leak$d;a(Ljava/util/List;)Leak$d;
      intermediary method_32627 Lnet/minecraft/class_5676$class_5680;method_32627(Ljava/util/List;)Lnet/minecraft/class_5676$class_5680;
      named of Lnet/minecraft/client/gui/widget/CyclingButtonWidget$Values;of(Ljava/util/List;)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 Leak$d;a(Ljava/util/function/BooleanSupplier;Ljava/util/List;Ljava/util/List;)Leak$d;
      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;