Package net.minecraft.loot.condition
Class BlockStatePropertyLootCondition.Serializer
java.lang.Object
net.minecraft.loot.condition.BlockStatePropertyLootCondition.Serializer
- All Implemented Interfaces:
JsonSerializer<BlockStatePropertyLootCondition>
- Enclosing class:
- BlockStatePropertyLootCondition
public static class BlockStatePropertyLootCondition.Serializer extends Object implements JsonSerializer<BlockStatePropertyLootCondition>
-
Constructor Summary
Constructors Constructor Description Serializer()
-
Method Summary
Modifier and Type Method Description BlockStatePropertyLootCondition
fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
void
toJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
toJson
public void toJson(JsonObject jsonObject, BlockStatePropertyLootCondition blockStatePropertyLootCondition, JsonSerializationContext jsonSerializationContext)- Specified by:
toJson
in interfaceJsonSerializer<BlockStatePropertyLootCondition>
-
fromJson
public BlockStatePropertyLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)- Specified by:
fromJson
in interfaceJsonSerializer<BlockStatePropertyLootCondition>
-