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