So basically there is this annoying bug on the snapshot 21w10a where if you put any item (for example: a sword) on the Enchanting table it will not show up any enchants even if you put lapis.
please fix this my hardcore world is bricked because of this
Environment
Windows 10 Home 64x
Duplicate of MC-218626, which has been fixed for a future version of Minecraft.