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 dsn$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 Ldsn$a;a(Lcom/google/gson/JsonObject;Ldsn;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 Ldsn$a;a(Lcom/google/gson/JsonObject;Lcom/google/gson/JsonDeserializationContext;[Ldua;)Ldsn;
      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;