Skip to content

Unable to Rename Items in Anvil #13691

@strad-dev

Description

@strad-dev

Expected behavior

When an item is in the first anvil slot and the second slot is empty, I should be able to rename the item.

Observed/Actual behavior

  • The Anvil GUI resets each keystroke. The name at the top gets reset back to whatever the item's original name was.
  • The resultant item contains the last keystroke's changes.

Steps/models to reproduce

  1. Place a clean Netherite Sword into the first slot. Leave the second slot empty.
  2. Type ! into the item's name field.
  3. Observe that the name field gets reset to "Netherite Sword" while the output item is renamed to "Netherite Sword!"
  4. I would expect the name field to stay as "Netherite Sword!"

Plugin and Datapack List

Issue occurs even with no plugins. Server has BlazeandCave advancements datapack.

Paper version

This server is running Paper version 1.21.11-126-main@3f5728e (2026-02-28T11:49:07Z) (Implementing API version 1.21.11-R0.1-SNAPSHOT)
You are running the latest version
Previous version: 1.21.11-116-6f71be8 (MC: 1.21.11)

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions