Class LootItemEntityPropertyCondition.Serializer
java.lang.Object
net.minecraft.world.level.storage.loot.predicates.LootItemEntityPropertyCondition.Serializer
- All Implemented Interfaces:
Serializer<LootItemEntityPropertyCondition>
- Enclosing class:
- LootItemEntityPropertyCondition
public static class LootItemEntityPropertyCondition.Serializer
extends Object
implements Serializer<LootItemEntityPropertyCondition>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_81892_, com.google.gson.JsonDeserializationContext p_81893_) void
serialize
(com.google.gson.JsonObject p_81884_, LootItemEntityPropertyCondition p_81885_, com.google.gson.JsonSerializationContext p_81886_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_81884_, LootItemEntityPropertyCondition p_81885_, com.google.gson.JsonSerializationContext p_81886_) - Specified by:
serialize
in interfaceSerializer<LootItemEntityPropertyCondition>
-
deserialize
public LootItemEntityPropertyCondition deserialize(com.google.gson.JsonObject p_81892_, com.google.gson.JsonDeserializationContext p_81893_) - Specified by:
deserialize
in interfaceSerializer<LootItemEntityPropertyCondition>
-