mojira.dev
MC-191169

Skeletons attempt to use melee attacks when wielding bows

As of 1.16, skeletons don't fire their bows, but instead walk up to you as if they intend to use a melee attack. This behavior is clearly incorrect, as they don't even look at the player when they walk towards you, nor do they actually use a melee attack, rendering them completely harmless and easy to kill.

Comments 8

Did you spawn in the skeleton, or did it naturally spawn?

All instances were spawned in by myself. Also, i just noticed that they hold up their bows as they are supposed to do when they have immunity frames, although they still attempt to walk towards the player.

How exactly are you spawning them in?

It would seem as though the issue is caused by the entity constantly getting the Health value altered via a datapack i'm making. I am fully aware that you can just disclose this post because of this, but i still don't see why this command would cause the skeleton to have incorrect behavior.

execute as <selector(Skeleton)> store result entity @s Health double 0.001 run scoreboard players get @s <score>

Sorry, didn't see your second comment, internet is a bit slow. Some were spawned via command, others were spawned with eggs, but judging from the discovery above, i don't think it plays a role.

Do the skeletons still carry a bow or not?

Can you provide a screenshot with your debug screen enabled (F3) along with a video of this happening. If the video is to big you can upload it on YouTube under unlisted then post the link here.

nottellingyou

(Unassigned)

Unconfirmed

(Unassigned)

1.16

Retrieved