Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Commit

Permalink
the distance was increased
Browse files Browse the repository at this point in the history
  • Loading branch information
anviaan committed Jul 25, 2023
1 parent af4872e commit d79c5fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/net/anvian/perfume/custom/ModTemptGoal.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
import java.util.EnumSet;

public class ModTemptGoal extends Goal {
private static final TargetPredicate TEMPTING_ENTITY_PREDICATE = TargetPredicate.createNonAttackable().setBaseMaxDistance(10.0).ignoreVisibility();
//more distance
private static final TargetPredicate TEMPTING_ENTITY_PREDICATE = TargetPredicate.createNonAttackable().setBaseMaxDistance(15.0).ignoreVisibility();
private final TargetPredicate predicate;
protected final PathAwareEntity mob;
private final double speed;
Expand Down

0 comments on commit d79c5fd

Please sign in to comment.