Class LogarithmicOption


@Environment(CLIENT) public class LogarithmicOption extends DoubleOption
Mappings:
Namespace Name
official dvn
intermediary net/minecraft/class_4287
named net/minecraft/client/option/LogarithmicOption
  • Constructor Details

    • LogarithmicOption

      public LogarithmicOption(String key, double min, double max, float step, Function<GameOptions,Double> getter, BiConsumer<GameOptions,Double> setter, BiFunction<GameOptions,DoubleOption,Text> displayStringGetter)
      Mappings:
      Namespace Name Mixin selector
      official <init> Ldvu;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)V
      intermediary <init> Lnet/minecraft/class_4067;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)V
      named <init> Lnet/minecraft/client/option/DoubleOption;<init>(Ljava/lang/String;DDFLjava/util/function/Function;Ljava/util/function/BiConsumer;Ljava/util/function/BiFunction;)V
  • Method Details

    • getRatio

      public double getRatio(double value)
      Overrides:
      getRatio in class DoubleOption
      Mappings:
      Namespace Name Mixin selector
      official a Ldvu;a(D)D
      intermediary method_18611 Lnet/minecraft/class_4067;method_18611(D)D
      named getRatio Lnet/minecraft/client/option/DoubleOption;getRatio(D)D
    • getValue

      public double getValue(double ratio)
      Overrides:
      getValue in class DoubleOption
      Mappings:
      Namespace Name Mixin selector
      official b Ldvu;b(D)D
      intermediary method_18616 Lnet/minecraft/class_4067;method_18616(D)D
      named getValue Lnet/minecraft/client/option/DoubleOption;getValue(D)D