public static class TargetHitCriterion.Conditions extends AbstractCriterionConditions
Modifier and Type | Field and Description |
---|---|
private EntityPredicate |
projectile |
private EntityPredicate |
shooter |
private NumberRange.IntRange |
signalStrength |
Constructor and Description |
---|
Conditions(NumberRange.IntRange signalStrength,
EntityPredicate projectile,
EntityPredicate shooter) |
Modifier and Type | Method and Description |
---|---|
static TargetHitCriterion.Conditions |
create(NumberRange.IntRange signalStrength) |
boolean |
method_24952(ServerPlayerEntity serverPlayerEntity,
Entity entity,
Vec3d vec3d,
int int2) |
JsonElement |
toJson() |
getId, toString
private final NumberRange.IntRange signalStrength
private final EntityPredicate projectile
private final EntityPredicate shooter
public Conditions(NumberRange.IntRange signalStrength, EntityPredicate projectile, EntityPredicate shooter)
public static TargetHitCriterion.Conditions create(NumberRange.IntRange signalStrength)
public JsonElement toJson()
public boolean method_24952(ServerPlayerEntity serverPlayerEntity, Entity entity, Vec3d vec3d, int int2)