public static class BlockStateProperty.Serializer extends ILootCondition.AbstractSerializer<BlockStateProperty>
Modifier | Constructor and Description |
---|---|
protected |
Serializer() |
Modifier and Type | Method and Description |
---|---|
BlockStateProperty |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
void |
serialize(com.google.gson.JsonObject json,
BlockStateProperty value,
com.google.gson.JsonSerializationContext context) |
getConditionClass, getLootTableLocation
public void serialize(com.google.gson.JsonObject json, BlockStateProperty value, com.google.gson.JsonSerializationContext context)
serialize
in class ILootCondition.AbstractSerializer<BlockStateProperty>
public BlockStateProperty deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
deserialize
in class ILootCondition.AbstractSerializer<BlockStateProperty>