Skip to content

Commit

Permalink
Also remove tiger prawns when far away
Browse files Browse the repository at this point in the history
  • Loading branch information
brnbrd committed Dec 9, 2024
1 parent 9a4046e commit dd8bb18
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ public Clam(EntityType<? extends Clam> type, Level level) {
super(type, level);
}

@Override
public boolean removeWhenFarAway(double pDistanceToClosestPlayer) {
return !this.fromBucket() && !this.hasCustomName();
}

public static AttributeSupplier.@NotNull Builder createAttributes() {
return Mob.createMobAttributes()
.add(Attributes.MOVEMENT_SPEED, 0.0D)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ public Urchin(EntityType<? extends Urchin> type, Level level) {
super(type, level);
}

@Override
public boolean removeWhenFarAway(double pDistanceToClosestPlayer) {
return !this.fromBucket() && !this.hasCustomName();
}

public static AttributeSupplier.@NotNull Builder createAttributes() {
return Mob.createMobAttributes()
.add(Attributes.MOVEMENT_SPEED, 0.1D)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ public static boolean checkWaterGroundSpawnRules(EntityType<? extends WaterAnima
pos.getY() < level.getSeaLevel() - 3;
}

@Override
public boolean removeWhenFarAway(double pDistanceToClosestPlayer) {
return false;
}

@Override
public void jumpInFluid(FluidType type) {
}
Expand Down

0 comments on commit dd8bb18

Please sign in to comment.