Wither Skeletons' pathfinding is broken when their NBT is updated every tick
The bug
Originally I had a data pack but I narrowed down to 3 commands with 2 being ran every tick.
First command:
scoreboard objectives add Health dummy
Repeating command block:
execute as @e[type=minecraft:wither_skeleton,sort=nearest] store result score @s Health run data get entity @s Health 1
Chain command block attached to the repeating one:
execute as @e[type=minecraft:wither_skeleton,sort=nearest] store result entity @s Health float 1 run scoreboard players get @s Health
The Wither Skeleton stops being able to get to the survival mode player when those 2 commands are active.
This didn't effect Zombies.
I didn't try other mobs.
I asked people to confirm that this is not only happening on my Windows 10 PC.
And it appears to be a bug in the code instead of my installation.
How to reproduce
- Enter the following command into a powered, repeating command block:
data merge entity @e[type=wither_skeleton,limit=1,sort=nearest] {Test:0} - Spawn a wither skeleton:
/summon wither_skeleton
- Switch to survival mode:
/gamemode survival
→
The wither skeleton has trouble pathfinding to you
2019-11-11, 08:53 PM
2024-06-04, 09:41 PM
11
6
-