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