Interface SimpleOption.TooltipFactory<T>

Enclosing class:
SimpleOption<T>
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) public static interface SimpleOption.TooltipFactory<T>
Mappings:
Namespace Name
official emk$l
intermediary net/minecraft/class_7172$class_7277
named net/minecraft/client/option/SimpleOption$TooltipFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    apply(T value)
     
  • Method Details

    • apply

      @Nullable @Nullable Tooltip apply(T value)
      Mappings:
      Namespace Name Mixin selector
      official apply Lemk$l;apply(Ljava/lang/Object;)Leph;
      intermediary apply Lnet/minecraft/class_7172$class_7277;apply(Ljava/lang/Object;)Lnet/minecraft/class_7919;
      named apply Lnet/minecraft/client/option/SimpleOption$TooltipFactory;apply(Ljava/lang/Object;)Lnet/minecraft/client/gui/tooltip/Tooltip;