When a mob is killed by a Trident thrown by an offline player, the mob doesn’t drop any XP.
Steps to Reproduce:
Open Realm
Throw Trident inside a Trident auto killer (pushed by piston, for example)
Throw any mob that drops XP inside and check if XP is being dropped.
Logout
Login in the Realm with another account.
Run the auto killer again (pushing pistons to move Trident)
Verify if XP is being dropped
Expected Result: all mob kills should drop XP, if killed by a player, regardless if the player is online or not at the time of kill
Actual Result: XP is only being dropped if the player that accounts for the kill is online in the Realm
This is because the game cannot find a player ID in the world that matches the ID of the trident’s owner, so it does not count as player kill. The same would occur with other projectiles. This has been a well-known behavior for years, and many trident killer designs already address how to safely re-throw tridents in a shared farm.