PaperMC / PaperMC/Paper

Infinite Hanging Roots Duplication via Hoe Right-Click on Rooted Dirt + `BlockPlaceEvent` Cancellation

Open
#13,536 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Expected behavior

Canceling the BlockPlaceEvent when right-clicking rooted_dirt with a Hoe should not cause hanging_roots to drop.

Observed/Actual behavior

Canceling the BlockPlaceEvent when right-clicking rooted_dirt with a Hoe allows for infinite duplication of hanging_roots.

Steps/models to reproduce

Cancel the BlockPlaceEvent, then right-click rooted_dirt with a Hoe.

Plugin and Datapack List

testPlugin

Paper version

paper-1.21.11-#91

Other

Hope someone can reproduce this to make sure it’s not my mistake.

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 interaction with the reported testPlugin: cancel BlockPlaceEvent, then right-click rooted_dirt with a Hoe. Trace the rooted_dirt and hanging_roots interaction around BlockPlaceEvent cancellation; done means the canceled event no longer causes hanging_roots to drop or duplicate.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.