public class KilledTrigger extends AbstractCriterionTrigger<KilledTrigger.Instance>
修飾子とタイプ | クラスと説明 |
---|---|
static class |
KilledTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>
コンストラクタと説明 |
---|
KilledTrigger(ResourceLocation id) |
修飾子とタイプ | メソッドと説明 |
---|---|
KilledTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context)
Deserialize a ICriterionInstance of this trigger from the data in the JSON.
|
ResourceLocation |
getId() |
void |
trigger(ServerPlayerEntity player,
Entity entity,
DamageSource source) |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListener
public KilledTrigger(ResourceLocation id)
public ResourceLocation getId()
public KilledTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void trigger(ServerPlayerEntity player, Entity entity, DamageSource source)