Sulfur Cube bucketing ignores cancellation PlayerInteractAtEntityEvent
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
Sulfur cube doesn't disappear if PlayerInteractAtEntityEvent cancelled, Bucket in player's hand remains empty.
Observed/Actual behavior
Bucket remains empty, sulfur cube no longer exists in the world
Steps/models to reproduce
- Install a plugin that has this:
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = false)
public void onPlayerInteractAtEntityEvent(PlayerInteractAtEntityEvent event) {
event.setCancelled(true);
}
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = false)
public void onPlayerInteractAtEntityEventMonitor(PlayerInteractAtEntityEvent event) {
getLogger().info(String.format("PlayerInteractAtEntityEvent %s: %b", event.getRightClicked(), event.isCancelled()));
}
@EventHandler(priority = EventPriority.MONITOR, ignoreCancelled = false)
public void onPlayerBucketEntityEvent(PlayerBucketEntityEvent event) {
getLogger().info(String.format("PlayerBucketEntityEvent %s: %b", event.getEntity(), event.isCancelled()));
}
- Start server and spawn some sulfur cubes.
- Try to bucket sulfur cube
Plugin and Datapack List
>plugins
ℹ Server Plugins (2):
Bukkit Plugins:
- LuckPerms, test
>datapack list
There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)]There are 1 data pack(s) available: [file/iframe (world)]
Paper version
>version
Checking version, please wait...
>version
This server is running Paper version 26.2-84-main@26e81c4 (2026-07-26T18:11:33Z) (Implementing API version 26.2.build.84-stable)
You are running the latest version
Previous version: 26.2-63-3a55f62 (MC: 26.2)
Other
Based on discord paper-help discussion, sulfur cube disappears only on client side and would be visible after rejoining server
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
Reproduce the issue with a plugin that cancels PlayerInteractAtEntityEvent, using the listed sulfur-cube and bucket steps while monitoring both events. Trace the interaction and cancellation flow; done means a cancelled interaction leaves the sulfur cube present and the bucket state correct, including after reconnecting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100