Class ContextLootNbtProvider.Serializer

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

public static class ContextLootNbtProvider.Serializer extends Object implements JsonSerializer<ContextLootNbtProvider>
Mappings:
Namespace Name
official dum$c
intermediary net/minecraft/class_5646$class_5649
named net/minecraft/loot/provider/nbt/ContextLootNbtProvider$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, ContextLootNbtProvider contextLootNbtProvider, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<ContextLootNbtProvider>
      Mappings:
      Namespace Name Mixin selector
      official a Ldum$c;a(Lcom/google/gson/JsonObject;Ldum;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_32437 Lnet/minecraft/class_5646$class_5649;method_32437(Lcom/google/gson/JsonObject;Lnet/minecraft/class_5646;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public ContextLootNbtProvider fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
      Specified by:
      fromJson in interface JsonSerializer<ContextLootNbtProvider>
      Mappings:
      Namespace Name Mixin selector
      official b Ldum$c;b(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Ldum;
      intermediary method_32438 Lnet/minecraft/class_5646$class_5649;method_32438(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/class_5646;
      named fromJson Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;)Lnet/minecraft/loot/provider/nbt/ContextLootNbtProvider;