[SPIGOT-6473] No "fake" enchantment glint for item without enchantments Created: 25/May/21  Updated: 04/Jun/21  Resolved: 04/Jun/21

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: David Tsi Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: enchantment, visual

Attachments: PNG File SpigotMC.png     PNG File Vanilla.png    
Version: This server is running CraftBukkit version 3084-Spigot-9fb885e-afa0678 (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
Plugin: None - COMPLETELY fresh run of latest SpigotMC
Guidelines Read: Yes

 Description   

Minecraft allows items with "fake" enchantment glint without them having an actual enchantment - one of the ways to do this is with the command:

/give @p baked_potato{Enchantments:[{}]}

(not necessarily a Baked Potato, can be any material). Another way is with a plugin.

But when running a COMPLETELY fresh run of latest SpigotMC the glint doesn't show.

I tested this on both the latest Spigot and latest Vanilla servers - on Spigot it doesn't show the glint and on Vanilla it does - the NBT tag is maintained though (images attached).

 

P.S: for all those that say: "Why are you doing this?! Just apply some random enchantment and add a HIDE_ENCHANTS flag!", I say: I have MANY reasons why I do it this way (cuz of plugins - there, I said it) so please don't suggest that as a "fix".



 Comments   
Comment by Black Hole [ 25/May/21 ]

This is a duplicate of SPIGOT-2991, do you have new ideas to add that without breaking the API?

Generated at Tue Apr 01 10:13:14 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.