PlayerBucketEmptyEvent event is only called for fluid buckets but not for powder snow bucket
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
PlayerBucketEmptyEvent events should be called for all types of bucket items (water/lava/powder snow) like PlayerBucketFillEvent is.
Observed/Actual behavior
The event isn't called for powder snow buckets.
Steps/models to reproduce
- Setup a Paper plugin
- Add listeners to the events mentioned above
- See that PlayerBucketEmptyEvent isn't called when using powdered snow buckets while the other one is.
Plugin and Datapack List
The server is running plain except my testing plugin adding event listeners to both events.
Paper version
[00:01:34 INFO]: Checking version, please wait...
[00:01:34 INFO]: This server is running Paper version 1.21.4-DEV (2025-03-07T23:01:15Z) (Implementing API version 1.21.4-R0.1-SNAPSHOT)
You are running a development version without access to version information
Previous version: 1.21.4-DEV-5538d24 (MC: 1.21.4)
Other
No response
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
Start by tracing where PlayerBucketEmptyEvent is dispatched for fluid buckets and compare it with the PlayerBucketFillEvent handling for powder snow. Reproduce with listeners in a Paper plugin, then verify that using a powder snow bucket invokes PlayerBucketEmptyEvent like the other bucket types.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100