public static class CopyNbt.Serializer extends LootFunction.Serializer<CopyNbt>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
CopyNbt |
deserialize(com.google.gson.JsonObject object,
com.google.gson.JsonDeserializationContext deserializationContext,
ILootCondition[] conditionsIn) |
void |
serialize(com.google.gson.JsonObject object,
CopyNbt functionClazz,
com.google.gson.JsonSerializationContext serializationContext) |
deserialize
getFunctionClass, getFunctionName
public void serialize(com.google.gson.JsonObject object, CopyNbt functionClazz, com.google.gson.JsonSerializationContext serializationContext)
serialize
in class LootFunction.Serializer<CopyNbt>
public CopyNbt deserialize(com.google.gson.JsonObject object, com.google.gson.JsonDeserializationContext deserializationContext, ILootCondition[] conditionsIn)
deserialize
in class LootFunction.Serializer<CopyNbt>