Class CopyNbtFunction.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Serializer<CopyNbtFunction>
net.minecraft.world.level.storage.loot.functions.CopyNbtFunction.Serializer
- All Implemented Interfaces:
Serializer<CopyNbtFunction>
- Enclosing class:
- CopyNbtFunction
public static class CopyNbtFunction.Serializer
extends LootItemConditionalFunction.Serializer<CopyNbtFunction>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_80395_, com.google.gson.JsonDeserializationContext p_80396_, LootItemCondition[] p_80397_) void
serialize
(com.google.gson.JsonObject p_80399_, CopyNbtFunction p_80400_, com.google.gson.JsonSerializationContext p_80401_) 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_80399_, CopyNbtFunction p_80400_, com.google.gson.JsonSerializationContext p_80401_) - Specified by:
serialize
in interfaceSerializer<CopyNbtFunction>
- Overrides:
serialize
in classLootItemConditionalFunction.Serializer<CopyNbtFunction>
-
deserialize
public CopyNbtFunction deserialize(com.google.gson.JsonObject p_80395_, com.google.gson.JsonDeserializationContext p_80396_, LootItemCondition[] p_80397_) - Specified by:
deserialize
in classLootItemConditionalFunction.Serializer<CopyNbtFunction>
-