Skip to content

Stacked tridents with increased max_stack_size are duplicated when thrown and picked up #13390

@ColinNason

Description

@ColinNason

Expected behavior

Only one trident item would be picked up.

Observed/Actual behavior

The player picks up the number of tridents held at the time of throwing.

Steps/models to reproduce

Give yourself a trident with a greater than one max stack size. (Note: You also need to remove the max damage component to change max stack size)
/give @p minecraft:trident[minecraft:max_stack_size=64,!minecraft:max_damage] 64

In survival mode, throw the trident into the ground.
Pick up the trident.

Plugin and Datapack List

FancyNpcs
ProtocolLib
Custom plugin, no impact on this functionality.

Datapacks:
Vanilla, Bukkit, Paper.

Paper version

This server is running Paper version 1.21.11-38-main@4446f17 (2025-12-09T22:51:57Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
You are 1 version(s) behind
Download the new version at: https://papermc.io/downloads/paper
Previous version: 1.21.10-105-1f31ee5 (MC: 1.21.10)

Other

https://github.com/PaperMC/Paper/blob/e5e2c50ed3f7a6e4dbe7451c089cb1ad3f77f8f9/paper-server/patches/sources/net/minecraft/world/item/TridentItem.java.patch#L27C62-L27C67

thrownTrident.pickupItemStack = stack.copy(); // SPIGOT-4511 update since damage call moved

Should be using itemstack variable created here

+ ItemStack itemStack = stack.copyWithCount(1); // Paper

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: acceptedDisputed bug is accepted as valid or Feature accepted as desired to be added.version: 1.21.11Game version 1.21.11

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions