mojira.dev
MC-89016

Execute With Setworldspawn Unusual Bugs

Two glitches:
1) If you run a clock to execute /setworldspawn around an entity, teleport the entity into ungenerated chunks, then teleport to the entity, it will delete said entity.
2) Previous to 15w39a/b/c, teleporting away and back to the entity would have the same effect.

To Replicate:
1) Create a new superflat creative world.
2) Give yourself a repeating command block and place it down.
3) Put in '/execute @e[type=ArmorStand] ~ ~ ~ /setworldspawn ~ ~ ~' the command block, and apply any kind of redstone.
4) Summon an ArmorStand at your feet.
5) Run in chat '/tp @e[type=ArmorStand] ~2000 ~ ~', followed by '/tp ~2000 ~ ~'.
6) Armorstand is nowhere to be found.

The superflat world is just to guarantee you'll be on the ground. This still happens in default world type too. Even running an /execute command doesn't work. I hope you can get this solved, and I thank you for your time.

Linked issues

Attachments

Comments 34

Did you teleport the ArmorStand right (in the same tick) after you spawned it?

No, I teleported it using the chat.

Duplicate of MC-65040. Please re-check after next snapshot.

They don't become invisible. They stop existing. I've tried running /execute on the armorstand, but I get nothing.

[Mod] redstonehelper

So this still happens in 15w39a?

24 more comments

Sorry misunderstood what you meant. I thought you meant that the entity was gone (not just invisible).

Confirmed for

  • 15w40b Only happens when /setworldspawn command is running on a clock; The entity does not render

Relates to:

You didn't misunderstand. From what I see, it gets deleted completely.

When I use /testfor @e[type=ArmorStand] it finds it

Is this still an issue in the most recent versions (currently that is 1.10.2, or 16w42a) of Minecraft? If so, please update the affected versions and help us keeping this ticket updated from time to time.

The issue has been resolved. Thanks!

Will S.

(Unassigned)

Community Consensus

delete, entity, execute, setworldspawn

Minecraft 15w38b, Minecraft 15w39a, Minecraft 15w39c, Minecraft 15w40a, Minecraft 15w40b, Minecraft 15w41b, Minecraft 15w42a, Minecraft 15w43b, Minecraft 15w43c

Minecraft 1.11.2

Retrieved