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