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