BlockDropItemEvent's multi-block structure support doesn't applies to sugarcane/bamboo/cactus/scaffolding
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
BlockDropItemEvent's #getItems() should return multi block structure's all drops. but it doesn't return when it's sugarcane, bamboo, cactus, scaffolding. it can be more that I don't tested.
so, If I brake 3-layers sugar canes, BlockDropItemEvent's #getItems() should return 3 sugar canes.
Observed/Actual behavior
If I brake 3-layers sugar canes, BlockDropItemEvent's #getItems() return just 1 sugar cane.
Steps/models to reproduce
- Listen BlockDropItemEvent and broadcast #getItems()
- brake multi-block structures like sugarcane etc.
- see broadcasted message - it contains only one item that player breaks.
Plugin and Datapack List
[05:23:01 INFO]: ℹ Server Plugins (6):
[05:23:01 INFO]: Paper Plugins (2):
[05:23:01 INFO]: - SkBee, SkNMS
[05:23:01 INFO]: Bukkit Plugins (4):
[05:23:01 INFO]: - PlaceholderAPI, Skript, skript-reflect, skript-yaml
[05:23:35 INFO]: There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)]
[05:23:35 INFO]: There are no more data packs available
Paper version
[05:23:51 INFO]: Checking version, please wait...
[05:23:51 INFO]: This server is running Paper version 1.21.11-128-ver/1.21.11@1fdbce1 (2026-04-04T20:51:11Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.11-92-e7445e1 (MC: 1.21.11)
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 reproducing the issue with BlockDropItemEvent and inspect its getItems() behavior for sugarcane, bamboo, cactus, and scaffolding. Verify the event handling for multi-block structures, then confirm that breaking a three-layer structure reports all corresponding drops rather than only the broken block's item.
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
- 48/100