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