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