mojira.dev
MC-97426

Teleporting an Armor Stand that is not impacted by gravity to another entity doesn't work

I was trying to teleport an armor stand with zero gravity to a cow and the command block says it teleported the entities. However, I go into spectator mode and it still shows the armor stand is in the air.

Steps to reproduce:
1. Set up a command block that is teleporting a armor stand to a entity; I was using a cow.
2. Summon an armor stand with no gravity.
3. Spawn in an entity with a spawn egg.
4. Try to teleport the armor stand to the other entity.

Comments 4

Does the issue persist after reopening the world? Please provide all the commands you used. Are you running them once or continuously?

The issue teleporting seems to be fixed. However, occasionally the armor stand fails to render in spectator mode. The armor stand also doesn't keep its no gravity.

I know how you can reproduce this, I have the same problem in 1.10.

I was coding a bukkit plugin, and my code was:

ArmorStand as = (ArmorStand) main.overworld.spawnEntity(new Location(main.overworld, 0, 0, 0), EntityType.ARMOR_STAND);
as.setGravity(false);
as.teleport(loc);

The armor stand absolutely refuses to teleport if it's gravity is off

Please provide steps to reproduce the issue in vanilla 1.10.

thexman4019k

(Unassigned)

Unconfirmed

Minecraft 16w07a, Minecraft 16w07b, Minecraft 1.9 Pre-Release 1

Retrieved