Class StorageLootNbtProvider.Serializer

java.lang.Object
net.minecraft.loot.provider.nbt.StorageLootNbtProvider.Serializer
All Implemented Interfaces:
JsonSerializer<StorageLootNbtProvider>
Enclosing class:
StorageLootNbtProvider

public static class StorageLootNbtProvider.Serializer
extends Object
implements JsonSerializer<StorageLootNbtProvider>
Mappings:
Namespace Name
official dhq$a
intermediary net/minecraft/class_5653$class_5654
named net/minecraft/loot/provider/nbt/StorageLootNbtProvider$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson​(JsonObject jsonObject, StorageLootNbtProvider storageLootNbtProvider, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<StorageLootNbtProvider>
      Mappings:
      Namespace Name Mixin selector
      official a Ldhq$a;a(Lcom/google/gson/JsonObject;Ldhq;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_32445 Lnet/minecraft/class_5653$class_5654;method_32445(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5653;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/provider/nbt/StorageLootNbtProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/nbt/StorageLootNbtProvider;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public StorageLootNbtProvider fromJson​(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<StorageLootNbtProvider>
      Mappings:
      Namespace Name Mixin selector
      official b Ldhq$a;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldhq;
      intermediary method_32446 Lnet/minecraft/class_5653$class_5654;method_32446(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5653;
      named fromJson Lnet/minecraft/loot/provider/nbt/StorageLootNbtProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/nbt/StorageLootNbtProvider;