Class CopyNameFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<CopyNameFunction>
net.minecraft.world.level.storage.loot.functions.CopyNameFunction.Serializer
- All Implemented Interfaces:
Serializer<CopyNameFunction>
- Enclosing class:
- CopyNameFunction
public static class CopyNameFunction.Serializer
extends LootItemConditionalFunction.Serializer<CopyNameFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize(com.google.gson.JsonObject p_80215_, com.google.gson.JsonDeserializationContext p_80216_, LootItemCondition[] p_80217_)
void
serialize(com.google.gson.JsonObject p_80219_, CopyNameFunction p_80220_, com.google.gson.JsonSerializationContext p_80221_)
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_80219_, CopyNameFunction p_80220_, com.google.gson.JsonSerializationContext p_80221_)- Specified by:
serialize
in interfaceSerializer<CopyNameFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<CopyNameFunction>
-
deserialize
public CopyNameFunction deserialize(com.google.gson.JsonObject p_80215_, com.google.gson.JsonDeserializationContext p_80216_, LootItemCondition[] p_80217_)- Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<CopyNameFunction>
-