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