Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-88309

check for ground when exiting a minecart/boat is off by one in negative coordinates

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.8.8
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      Windows 8
      Java 1.8.0_25
    • Confirmation Status:
      Unconfirmed

      Description

      When exiting a minecart/boat the game checks if there is a block either one or two blocks below a tested location. However in negative coordinates this check tests the blocks next to the desired location.
      So when trying to place the player at the coordinate -10/60/10 the game checks -9/59/10 and -9/58/10 for solid blocks instead of -10/(59/58)/10.
      This doesn't happen with positive coordinates.

      Steps to Reproduce:
      1. place minecart on a pillar (at least two blocks high) in a location with either a negative x or z coordinate. (eg -10/60/10)
      2. exit the minecart
      3. observe that you where placed next to the minecart in the air.

        Attachments

        1. 2015-09-09_10.55.57.png
          2015-09-09_10.55.57.png
          661 kB
        2. 2015-09-09_10.58.51.png
          2015-09-09_10.58.51.png
          487 kB
        3. 2015-09-09_10.59.07.png
          2015-09-09_10.59.07.png
          575 kB
        4. 2015-09-09_10.59.14.png
          2015-09-09_10.59.14.png
          530 kB

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              malus Malus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: