public static class SurvivesExplosionLootCondition.Factory extends LootCondition.Factory<SurvivesExplosionLootCondition>
Modifier | Constructor and Description |
---|---|
protected |
Factory() |
Modifier and Type | Method and Description |
---|---|
SurvivesExplosionLootCondition |
fromJson(JsonObject jsonObject,
JsonDeserializationContext jsonDeserializationContext) |
void |
toJson(JsonObject jsonObject,
SurvivesExplosionLootCondition survivesExplosionLootCondition,
JsonSerializationContext jsonSerializationContext) |
getConditionClass, getId
public void toJson(JsonObject jsonObject, SurvivesExplosionLootCondition survivesExplosionLootCondition, JsonSerializationContext jsonSerializationContext)
toJson
in class LootCondition.Factory<SurvivesExplosionLootCondition>
public SurvivesExplosionLootCondition fromJson(JsonObject jsonObject, JsonDeserializationContext jsonDeserializationContext)
fromJson
in class LootCondition.Factory<SurvivesExplosionLootCondition>