Class FillPlayerHead.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<FillPlayerHead>
net.minecraft.world.level.storage.loot.functions.FillPlayerHead.Serializer
- All Implemented Interfaces:
Serializer<FillPlayerHead>
- Enclosing class:
- FillPlayerHead
public static class FillPlayerHead.Serializer
extends LootItemConditionalFunction.Serializer<FillPlayerHead>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_80615_, com.google.gson.JsonDeserializationContext p_80616_, LootItemCondition[] p_80617_) void
serialize
(com.google.gson.JsonObject p_80619_, FillPlayerHead p_80620_, com.google.gson.JsonSerializationContext p_80621_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer
deserialize
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_80619_, FillPlayerHead p_80620_, com.google.gson.JsonSerializationContext p_80621_) - Specified by:
serialize
in interfaceSerializer<FillPlayerHead>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<FillPlayerHead>
-
deserialize
public FillPlayerHead deserialize(com.google.gson.JsonObject p_80615_, com.google.gson.JsonDeserializationContext p_80616_, LootItemCondition[] p_80617_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<FillPlayerHead>
-