public static class LevitationTrigger.Instance extends AbstractCriterionInstance
Modifier and Type | Field and Description |
---|---|
private DistancePredicate |
distance |
private MinMaxBounds |
duration |
Constructor and Description |
---|
Instance(DistancePredicate distance,
MinMaxBounds duration) |
Modifier and Type | Method and Description |
---|---|
boolean |
test(EntityPlayerMP player,
Vec3d startPos,
int durationIn) |
getId, toString
private final DistancePredicate distance
private final MinMaxBounds duration
public Instance(DistancePredicate distance, MinMaxBounds duration)
public boolean test(EntityPlayerMP player, Vec3d startPos, int durationIn)