public static class ChanneledLightningTrigger.Instance extends CriterionInstance
| Modifier and Type | Field and Description |
|---|---|
private EntityPredicate[] |
victims |
| Constructor and Description |
|---|
Instance(EntityPredicate[] victims) |
| Modifier and Type | Method and Description |
|---|---|
static ChanneledLightningTrigger.Instance |
channeledLightning(EntityPredicate... p_204824_0_) |
com.google.gson.JsonElement |
serialize() |
boolean |
test(ServerPlayerEntity player,
java.util.Collection<? extends Entity> p_204823_2_) |
getId, toStringprivate final EntityPredicate[] victims
public Instance(EntityPredicate[] victims)
public static ChanneledLightningTrigger.Instance channeledLightning(EntityPredicate... p_204824_0_)
public boolean test(ServerPlayerEntity player, java.util.Collection<? extends Entity> p_204823_2_)
public com.google.gson.JsonElement serialize()