Projectiles sometimes ignore player entities
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 3.5k
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 11
Description
Expected behavior
Projectile is expected to hit the entity, however, occasionally goes ignores the entity.
Observed/Actual behavior
The projectile completely ignores entities.
Steps/models to reproduce
I can consistently reproduce with an arrow or fishing rod in survival mode. It was impossible for me to reproduce this while in creative mode.
Latest version of Paper with a plugin to spawn the bot (no event listeners).
https://youtu.be/_Uk5kCJ3Z0o
https://youtu.be/B-FhIEWiy1Q
https://youtu.be/OPEVF-fKsdc
Plugin and Datapack List
Only 1 private plugin. Only event listener is a chat listener.
Paper version
This server is running Paper version 1.21.4-185-main@0a6e743 (2025-02-26T13:10:43Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)\nYou are running the latest version\nPrevious version: 1.21.4-177-e5a8ee8 (MC: 1.21.4)
Other
I attempted to fix this by using a task to manually check if bounding box between projectile and entities overlap, and this also failed.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing the issue in Paper 1.21.4-185 using an arrow or fishing rod in survival mode with the reported bot-spawning plugin, then compare behavior in creative mode. Done means projectiles consistently hit player entities without the private plugin or manual bounding-box checks changing the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100