mojira.dev
MC-209960

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

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

Attachments

Comments 1

I can confirm this behavior in 1.19.2.

Earthcomputer

(Unassigned)

Confirmed

Entities

1.16.4, 20w51a, 1.18.1, 1.19.2, 24w46a

Retrieved