mojira.dev
MC-90842

Sweep attack knocks back marker armor stands

The bug

You can knock back armor stands with a sword. See

[media]

.
This could be maybe considered as works as intended for regular armor stands, but definitely not so for armor stands whose Marker-tag is set to true; those shouldn't be affected at all by sweep attacks or anything at all, except commands, as they're used by mapmakers who partially also still have to rely on Marker-true-Armor stands.

How to reproduce

  1. Give yourself an armor stand with Marker set to true, e.g. with:

    /give @p minecraft:armor_stand{EntityTag:{CustomNameVisible:1b,Marker:1b,CustomName:"{\"text\":\"Marker 1\"}"}} 1
  2. Place a couple of those armor stands close to each other.

  3. Spawn an entity with a spawn egg (Pigmen work well) right in front of or also inbetween those Marker-true-Armor stands, notice the armor stands get knock-backed as well.

:info: With the above test setup, this doesn't seem to be reproducible while you're flying (hovering) or swimming.

Linked issues

Attachments

Comments 22

This happens even when the stand is tagged Marker:1 which is a big problem for custom maps

Confirmed to affect 17w14a and 17w13b.

@unknown ticket is yours now.

@unknown Thank you very much! 🙂

Confirmed for 1.13pre4.

12 more comments
rockenroll4life (Josh Letellier)

The fix for this was to have marker armor stands ignored when a swipe attack is made, as they normally will ignore attacks against them anyways.

rockenroll4life (Josh Letellier)

As for MC-107529, I can make a note to look into it when I get the opportunity.

@unknown Awesome, thank you very much, for both 🙂

CreeperMagnet_

Thanks! It'd be awesome to have MC-107529 fixed. 🙂

Can't reproduce in 18w48b with the previous/described method for Marker-true armor stands.

Anybody else?

bleuthoot

Meri Diana

migrated

Confirmed

armor_stand, knockback, marker, sweepAttack, sword

Minecraft 15w42a, Minecraft 15w43a, Minecraft 1.9, Minecraft 1.9.1 Pre-Release 3, Minecraft 1.10.2, ..., Minecraft 1.13, Minecraft 18w30a, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a

Minecraft 18w33a

Retrieved