PaperMC / PaperMC/Paper

sulfur_cube_bucket does not trigger PlayerBucketEmptyEvent

Open
#14,149 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: accepted version: 26.2
Dominant language
Java
Stars
12.7k
Forks
3.5k
Avg merge
3d 13h
Merged PRs (30d)
11

Description

Expected behavior

When a player empties a sulfur_cube_bucket, PlayerBucketEmptyEvent should be triggered

Observed/Actual behavior

sulfur_cube_bucket does not trigger PlayerBucketEmptyEvent

Steps/models to reproduce

When the PlayerBucketEmptyEvent is cancelled, try to right-click to empty the sulfur_cube_bucket.

Plugin and Datapack List

test plugin

Paper version

paper26.2#98

Other

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with the test plugin while cancelling PlayerBucketEmptyEvent, then trace the handling path for sulfur_cube_bucket. Done means the event fires when the bucket is emptied and cancellation prevents the bucket action, matching other bucket types.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.