Class JsonSet

All Implemented Interfaces:
Iterable<String>, Collection<String>, Set<String>, JsonElementProvider

public class JsonSet extends ForwardingSet<String> implements JsonElementProvider
Mappings:
Namespace Name
official nc
intermediary net/minecraft/class_2144
named net/minecraft/util/JsonSet
  • Field Details

    • set

      private final Set<String> set
      Mappings:
      Namespace Name Mixin selector
      official a Lnc;a:Ljava/util/Set;
      intermediary field_9048 Lnet/minecraft/class_2144;field_9048:Ljava/util/Set;
      named set Lnet/minecraft/util/JsonSet;set:Ljava/util/Set;
  • Constructor Details

    • JsonSet

      public JsonSet()
  • Method Details

    • read

      public void read(JsonElement jsonElement)
      Specified by:
      read in interface JsonElementProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lmz;a(Lcom/google/gson/JsonElement;)V
      intermediary method_8289 Lnet/minecraft/class_2143;method_8289(Lcom/google/gson/JsonElement;)V
      named read Lnet/minecraft/util/JsonElementProvider;read(Lcom/google/gson/JsonElement;)V
    • write

      public JsonElement write()
      Specified by:
      write in interface JsonElementProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lmz;a()Lcom/google/gson/JsonElement;
      intermediary method_8288 Lnet/minecraft/class_2143;method_8288()Lcom/google/gson/JsonElement;
      named write Lnet/minecraft/util/JsonElementProvider;write()Lcom/google/gson/JsonElement;
    • delegate

      protected Set<String> delegate()
      Specified by:
      delegate in class ForwardingSet<String>
      Mappings:
      Namespace Name Mixin selector
      official delegate Lnc;delegate()Ljava/util/Set;
      intermediary delegate Lnet/minecraft/class_2144;delegate()Ljava/util/Set;
      named delegate Lnet/minecraft/util/JsonSet;delegate()Ljava/util/Set;