-
Bug
-
Resolution: Fixed
-
20w13a, 20w13b
-
None
-
Confirmed
-
Rendering
-
Low
The bug
Not to be confuse with the lodestone compasses.
If you enchant your compass in creative mode with an enchanted book, the compass is enchanted, but the glint is not shown. This is likely caused by the fuction of the lodestone compass.
How to reproduce
- Go to creative mode
- Have a compass and an enchanted book with a random enchantment
- Put the compass and the book in an anvil
→ The compass is enchanted without having the glint.
Code analysis
20w13b
The method returning for whether the enchantment glint should be shown for a compass item only checks if it is a lodestone compass.
The logic should instead be: If lodestone, then show glint, otherwise fall back to default logic.