Interface GameOptions.Visitor

Enclosing class:
GameOptions

@Environment(CLIENT) private static interface GameOptions.Visitor
Mappings:
Namespace Name
official evm$a
intermediary net/minecraft/class_315$class_5823
named net/minecraft/client/option/GameOptions$Visitor
  • Method Details

    • accept

      <T> void accept(String key, SimpleOption<T> option)
      Mappings:
      Namespace Name Mixin selector
      official a Levm$a;a(Ljava/lang/String;Levl;)V
      intermediary method_42570 Lnet/minecraft/class_315$class_5823;method_42570(Ljava/lang/String;Lnet/minecraft/class_7172;)V
      named accept Lnet/minecraft/client/option/GameOptions$Visitor;accept(Ljava/lang/String;Lnet/minecraft/client/option/SimpleOption;)V
    • visitInt

      int visitInt(String key, int current)
      Mappings:
      Namespace Name Mixin selector
      official a Levm$a;a(Ljava/lang/String;I)I
      intermediary method_33680 Lnet/minecraft/class_315$class_5823;method_33680(Ljava/lang/String;I)I
      named visitInt Lnet/minecraft/client/option/GameOptions$Visitor;visitInt(Ljava/lang/String;I)I
    • visitBoolean

      boolean visitBoolean(String key, boolean current)
      Mappings:
      Namespace Name Mixin selector
      official a Levm$a;a(Ljava/lang/String;Z)Z
      intermediary method_33684 Lnet/minecraft/class_315$class_5823;method_33684(Ljava/lang/String;Z)Z
      named visitBoolean Lnet/minecraft/client/option/GameOptions$Visitor;visitBoolean(Ljava/lang/String;Z)Z
    • visitString

      String visitString(String key, String current)
      Mappings:
      Namespace Name Mixin selector
      official a Levm$a;a(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
      intermediary method_33683 Lnet/minecraft/class_315$class_5823;method_33683(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
      named visitString Lnet/minecraft/client/option/GameOptions$Visitor;visitString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    • visitFloat

      float visitFloat(String key, float current)
      Mappings:
      Namespace Name Mixin selector
      official a Levm$a;a(Ljava/lang/String;F)F
      intermediary method_33679 Lnet/minecraft/class_315$class_5823;method_33679(Ljava/lang/String;F)F
      named visitFloat Lnet/minecraft/client/option/GameOptions$Visitor;visitFloat(Ljava/lang/String;F)F
    • visitObject

      <T> T visitObject(String key, T current, Function<String,T> decoder, Function<T,String> encoder)
      Mappings:
      Namespace Name Mixin selector
      official a Levm$a;a(Ljava/lang/String;Ljava/lang/Object;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/lang/Object;
      intermediary method_33681 Lnet/minecraft/class_315$class_5823;method_33681(Ljava/lang/String;Ljava/lang/Object;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/lang/Object;
      named visitObject Lnet/minecraft/client/option/GameOptions$Visitor;visitObject(Ljava/lang/String;Ljava/lang/Object;Ljava/util/function/Function;Ljava/util/function/Function;)Ljava/lang/Object;