Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-7605

Boundingbox not on current player location

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Minor Minor
    • None
    • None
    • None
    •  CraftBukkit version 3976-Spigot-06d602e-b3b43a6 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT)
    • Yes

      Player#getBoundinBox is not consistent with player location

      while the method on the api say

      "Gets the entity's current bounding box.

      The returned bounding box reflects the entity's current location and size."

      i didn't test the not-player entities

      on the video i print with red particles for 2-4 seconds the current player BoundingBox when a movement event occurs
      https://imgur.com/a/S3iW8uO

      that's not a big issue since you can just move player hitbox to it's current location, but the javadoc should at least tell you the hitbox is not consistent with player location

            Unassigned Unassigned
            emanon Flavio
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: