public class KilledByCrossbowTrigger extends AbstractCriterionTrigger<KilledByCrossbowTrigger.Instance>
Modifier and Type | Class and Description |
---|---|
static class |
KilledByCrossbowTrigger.Instance |
ICriterionTrigger.Listener<T extends ICriterionInstance>
Modifier and Type | Field and Description |
---|---|
private static ResourceLocation |
ID |
Constructor and Description |
---|
KilledByCrossbowTrigger() |
Modifier and Type | Method and Description |
---|---|
KilledByCrossbowTrigger.Instance |
deserializeInstance(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
ResourceLocation |
getId() |
void |
trigger(ServerPlayerEntity p_215105_1_,
java.util.Collection<Entity> p_215105_2_,
int p_215105_3_) |
addListener, func_227070_a_, func_227071_b_, removeAllListeners, removeListener
private static final ResourceLocation ID
public ResourceLocation getId()
public KilledByCrossbowTrigger.Instance deserializeInstance(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public void trigger(ServerPlayerEntity p_215105_1_, java.util.Collection<Entity> p_215105_2_, int p_215105_3_)