The player is unable to rename stuff in an anvil, no matter what the item is or what gamemode they are in or how much XP they have. You are unable to click or interact with text bar in the anvil to rename it whatsoever.
Related issues
duplicates
Comments

Duplicate of MC-173725