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

XP orbs from fishing spawn 0.5 blocks to the south of the player

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.16.4, 20w51a, 1.18.1, 1.19.2
    • None
    • Confirmed
    • Items

      The bug

      The XP orb spawned from fishing is spawned (0.0, 0.5, 0.5) relative to the player, rather than the (0.0, 0.5, 0.0) probably intended.

      Code analysis

      This is caused by adding 0.5 to the Z on the line that spawns the XP orb in net.minecraft.world.entity.projectile.FishingHook.retrieve.
      Keyword for search: experience

            Unassigned Unassigned
            Earthcomputer Earthcomputer
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              CHK: