Class FillPlayerHeadLootFunction.Serializer

java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Serializer<FillPlayerHeadLootFunction>
net.minecraft.loot.function.FillPlayerHeadLootFunction.Serializer
All Implemented Interfaces:
JsonSerializer<FillPlayerHeadLootFunction>
Enclosing class:
FillPlayerHeadLootFunction

public static class FillPlayerHeadLootFunction.Serializer extends ConditionalLootFunction.Serializer<FillPlayerHeadLootFunction>
Mappings:
Namespace Name
official dtk$a
intermediary net/minecraft/class_3668$class_3669
named net/minecraft/loot/function/FillPlayerHeadLootFunction$Serializer
  • Constructor Details

    • Serializer

      public Serializer()
  • Method Details

    • toJson

      public void toJson(JsonObject jsonObject, FillPlayerHeadLootFunction fillPlayerHeadLootFunction, JsonSerializationContext jsonSerializationContext)
      Specified by:
      toJson in interface JsonSerializer<FillPlayerHeadLootFunction>
      Overrides:
      toJson in class ConditionalLootFunction.Serializer<FillPlayerHeadLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldtk$a;a(Lcom/google/gson/JsonObject;Ldtk;Lcom/google/gson/JsonSerializationContext;)V
      intermediary method_15957 Lnet/minecraft/class_3668$class_3669;method_15957(Lcom/google/gson/JsonObject;Lnet/minecraft/class_3668;Lcom/google/gson/JsonSerializationContext;)V
      named toJson Lnet/minecraft/loot/function/FillPlayerHeadLootFunction$Serializer;toJson(Lcom/google/gson/JsonObject;Lnet/minecraft/loot/function/FillPlayerHeadLootFunction;Lcom/google/gson/JsonSerializationContext;)V
    • fromJson

      public FillPlayerHeadLootFunction fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition)
      Specified by:
      fromJson in class ConditionalLootFunction.Serializer<FillPlayerHeadLootFunction>
      Mappings:
      Namespace Name Mixin selector
      official a Ldtk$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldux;)Ldtk;
      intermediary method_15958 Lnet/minecraft/class_3668$class_3669;method_15958(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/class_5341;)Lnet/minecraft/class_3668;
      named fromJson Lnet/minecraft/loot/function/FillPlayerHeadLootFunction$Serializer;fromJson(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Lnet/minecraft/loot/condition/LootCondition;)Lnet/minecraft/loot/function/FillPlayerHeadLootFunction;