Class RealmsRegionSelectionPreference.SelectionMethodTypeAdapter

java.lang.Object
com.google.gson.TypeAdapter<RealmsRegionSelectionPreference.SelectionMethod>
net.minecraft.client.realms.dto.RealmsRegionSelectionPreference.SelectionMethodTypeAdapter
Enclosing class:
RealmsRegionSelectionPreference

@Environment(CLIENT) private static class RealmsRegionSelectionPreference.SelectionMethodTypeAdapter extends TypeAdapter<RealmsRegionSelectionPreference.SelectionMethod>
Mappings:
Namespace Name
named net/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethodTypeAdapter
intermediary net/minecraft/class_11310$class_11312
official fol$b
  • Constructor Details

    • SelectionMethodTypeAdapter

      private SelectionMethodTypeAdapter()
  • Method Details

    • write

      public void write(JsonWriter jsonWriter, RealmsRegionSelectionPreference.SelectionMethod selectionMethod) throws IOException
      Specified by:
      write in class TypeAdapter<RealmsRegionSelectionPreference.SelectionMethod>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named write Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethodTypeAdapter;write(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;)V
      intermediary method_71192 Lnet/minecraft/class_11310$class_11312;method_71192(Lcom/google/gson/stream/JsonWriter;Lnet/minecraft/class_11310$class_11311;)V
      official a Lfol$b;a(Lcom/google/gson/stream/JsonWriter;Lfol$a;)V
    • read

      Specified by:
      read in class TypeAdapter<RealmsRegionSelectionPreference.SelectionMethod>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      named read Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethodTypeAdapter;read(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/client/realms/dto/RealmsRegionSelectionPreference$SelectionMethod;
      intermediary method_71191 Lnet/minecraft/class_11310$class_11312;method_71191(Lcom/google/gson/stream/JsonReader;)Lnet/minecraft/class_11310$class_11311;
      official a Lfol$b;a(Lcom/google/gson/stream/JsonReader;)Lfol$a;