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