merge-radius not working as expected
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
Using spigot's config option: merge-radius: items:
Throwing an item towards a stack of the same item on the floor will combine the single item with the stack.
The existing stack of Items will be pulled to the position of the newly dropped item.
Observed/Actual behavior
Now in paper versions >=1.21.5 the new item will be pulled to the existing stack in the world, thus rendering most sugarcane and bamboo farms useless.
Steps/models to reproduce
Change merge-radius: items: -1 to merge-radius: items: 4 in spigot.yml
Plugin and Datapack List
Plugins: PlugManX, *SecondThreadAPI
Datapacks: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)]
Paper version
This server is running Paper version 1.21.8-60-main@29c8822 (2025-09-06T21:49:13Z) (Implementing API version 1.21.8-R0.1-SNAPSHOT)
Other
I narrowed down the issue to be paper specific, as spigot 1.21.8 works as expected.
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 behavior with merge-radius: items: 4 in spigot.yml on Paper 1.21.8, then compare it with Spigot 1.21.8 using the listed reproduction steps. Done means the existing item stack is pulled to the newly dropped item and the items merge as described, without the listed plugins or datapacks changing the result.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100