Package net.minecraft.loot.function
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionfromJson
(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext, LootCondition[] lootCondition) void
toJson
(JsonObject jsonObject, FillPlayerHeadLootFunction fillPlayerHeadLootFunction, JsonSerializationContext jsonSerializationContext) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Serializer
fromJson
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, FillPlayerHeadLootFunction fillPlayerHeadLootFunction, JsonSerializationContext jsonSerializationContext) - Specified by:
toJson
in interfaceJsonSerializer<FillPlayerHeadLootFunction>
- Overrides:
toJson
in classConditionalLootFunction.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 classConditionalLootFunction.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;
-