Class LootItemBlockStatePropertyCondition.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.LootItemBlockStatePropertyCondition.Serializer
- All Implemented Interfaces:
Serializer<LootItemBlockStatePropertyCondition>
- Enclosing class:
- LootItemBlockStatePropertyCondition
public static class LootItemBlockStatePropertyCondition.Serializer
extends Object
implements Serializer<LootItemBlockStatePropertyCondition>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_81805_, com.google.gson.JsonDeserializationContext p_81806_) void
serialize
(com.google.gson.JsonObject p_81795_, LootItemBlockStatePropertyCondition p_81796_, com.google.gson.JsonSerializationContext p_81797_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_81795_, LootItemBlockStatePropertyCondition p_81796_, com.google.gson.JsonSerializationContext p_81797_) - Specified by:
serialize
in interfaceSerializer<LootItemBlockStatePropertyCondition>
-
deserialize
public LootItemBlockStatePropertyCondition deserialize(com.google.gson.JsonObject p_81805_, com.google.gson.JsonDeserializationContext p_81806_) - Specified by:
deserialize
in interfaceSerializer<LootItemBlockStatePropertyCondition>
-