What's new

Vanilla Issue "FollowRange" Attribute only targets mobs on the same y-level [REPOST IN CORRECT FORMAT]

GreatKnightJ

New Member
Joined
Sep 28, 2017
Messages
18
What version or build # are you using? (If this bug report is about an add-on, please prefix the thread with the add-on name i.e. [Artifacts])
4.2.0

What server jar are you using?

Spigot 1.12.2

Describe the bug. Be as specific as possible, images or short gifs/videos are welcome but save configuration files for later sections. Write a whole paragraph if needed, help us bug testers replicate your issue!

Basically I have set a custom archer and melee unit to have a range of 75 and they only attack when a mob is within 75 blocks on the x/z axis. If I set one of them 10 blocks above an enemy they are designed to attack, they will not persue or even notice the enemy below them. The issue also extends to vanilla mobs spawned with custom NBT. This is a pretty detrimental issue and I'm wondering how it is fixed?

Mob file config:

Type: SKELETON
Display: '&EVoltarus Archer'
Health: 20
Damage: 2
Faction: Voltarus
Skills:
- command{c="minecraft:execute <target.uuid> ~ ~ ~ /scoreboard teams join Voltarus @s"} @Self ~onSpawn
Equipment:
- VoltarusHelm:4
- iron_chestplate:3
- iron_leggings:2
- iron_boots:1
- bow:0
AIGoalSelectors:
- 0 clear
- 1 skeletonbowattack
- 2 randomstroll
AITargetSelectors:
- 0 clear
- 1 specificfactionmonsters Aquaria
- 1 specificfactionmonsters Embreshire
- 2 players
Options:
AlwaysShowName: true
MovementSpeed: 0.3
PreventOtherDrops: true
FollowRange: 75

Items File Config: (working correctly)

VoltarusHelm:
Id: 397
Data: 3
Options:
SkinTexture: 'eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZmVmNDdiNjE3NzQzZjU0MTE0OTkyNmFlZTc4ZGFiMjc4NWIxZWJkNmEzMzRmMDg3NzgzNDdlZTdjNjY0NjEifX19'
 
Top