Package net.minecraft.loot.conditions
Class SurvivesExplosion.Serializer
java.lang.Object
net.minecraft.loot.conditions.SurvivesExplosion.Serializer
- All Implemented Interfaces:
ILootSerializer<SurvivesExplosion>
- Enclosing class:
- SurvivesExplosion
public static class SurvivesExplosion.Serializer
extends Object
implements ILootSerializer<SurvivesExplosion>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_) void
serialize
(com.google.gson.JsonObject p_230424_1_, SurvivesExplosion p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_)
-
Constructor Details
-
Serializer
public Serializer()
-
-
Method Details
-
serialize
public void serialize(com.google.gson.JsonObject p_230424_1_, SurvivesExplosion p_230424_2_, com.google.gson.JsonSerializationContext p_230424_3_) - Specified by:
serialize
in interfaceILootSerializer<SurvivesExplosion>
-
deserialize
public SurvivesExplosion deserialize(com.google.gson.JsonObject p_230423_1_, com.google.gson.JsonDeserializationContext p_230423_2_) - Specified by:
deserialize
in interfaceILootSerializer<SurvivesExplosion>
-