PaperMC / PaperMC/Paper

BlockDropItemEvent's multi-block structure support doesn't applies to sugarcane/bamboo/cactus/scaffolding

Open
#13,761 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

status: needs triage version: 1.21.11
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
  1. Listen BlockDropItemEvent and broadcast #getItems()
  2. brake multi-block structures like sugarcane etc.
  3. 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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.