• Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • None

      This shulker will not have a yaw of 90 when teleported, it will always face south.

       

      Shulker shulker = world.spawnEntity(location, EntityType.SHULKER);
      location.setYaw(90);
      shulker.teleport(location);

          [SPIGOT-3253] Entities ignoring yaw when teleported

          Ricky Fisher added a comment - - edited

          I had it working earlier today on 1.11.2, now I've updated to 1.12-pre2 and this bug has occurred.

          I deleted that comment because it turns out NoAI has nothing to do with it, yaw doesn't get changed whether it's true or false

          Ricky Fisher added a comment - - edited I had it working earlier today on 1.11.2, now I've updated to 1.12-pre2 and this bug has occurred. I deleted that comment because it turns out NoAI has nothing to do with it, yaw doesn't get changed whether it's true or false

          md_5 added a comment -

          Don't know why your comment isn't showing, but it sounds like its not a new thing and it's because the entities are NoAI, and Mojang doesn't do yaw updates for such entities.

          md_5 added a comment - Don't know why your comment isn't showing, but it sounds like its not a new thing and it's because the entities are NoAI, and Mojang doesn't do yaw updates for such entities.

          No, this is a new thing in 1.12 prereleases

          Ricky Fisher added a comment - No, this is a new thing in 1.12 prereleases

          md_5 added a comment -

          Does this occur in 1.11.2?

          md_5 added a comment - Does this occur in 1.11.2?

          Ricky Fisher added a comment - - edited

          Version: 1.12-pre2

          This bug happens with shulkers and zombies, they're all I've tested.

          Pitch works fine, it's the yaw which is always set to zero.

          Ricky Fisher added a comment - - edited Version: 1.12-pre2 This bug happens with shulkers and zombies, they're all I've tested. Pitch works fine, it's the yaw which is always set to zero.

            Assignee:
            Unassigned
            Reporter:
            Ricky Fisher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: