public static class BlockStatePropertyLootCondition.Serializer extends Object implements JsonSerializer<BlockStatePropertyLootCondition>
Constructor and Description |
---|
Serializer() |
Modifier and Type | Method and Description |
---|---|
BlockStatePropertyLootCondition |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
void |
toJson(JsonObject jsonObject,
BlockStatePropertyLootCondition blockStatePropertyLootCondition,
JsonSerializationContext jsonSerializationContext) |
public void toJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext)
toJson
in interface JsonSerializer<BlockStatePropertyLootCondition>
public BlockStatePropertyLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
fromJson
in interface JsonSerializer<BlockStatePropertyLootCondition>