The block was renamed from minecraft:enchantment_table to minecraft:enchanting_table in 1.13, however this sound event (and its subtitle string) still use the old ID for some reason.
Linked issues
relates to 1
Attachments
Comments 7
I can confirm this behavior in 1.18 Release Candidate 3.
Here's a code analysis along with a potential fix regarding this issue. The following is based on a decompiled version of Minecraft 1.17.1 using MCP-Reborn.
Code Analysis:
net.minecraft.sounds.SoundEvents.java
public class SoundEvents {
...
public static final SoundEvent ENCHANTMENT_TABLE_USE = register("block.enchantment_table.use");
...If we look at the above class, we can see that the "enchantment table use" sound event uses the old block ID for enchanting tables. The incorrect and current block ID for this sound event is "enchantment_table" and the correct and expected block ID would instead be "enchanting_table".
Potential Fix:
Simply renaming the word "enchantment" to "enchanting" within this sound event should resolve this issue. The correct line of code within its class should look something like the following:
net.minecraft.sounds.SoundEvents.java
public class SoundEvents {
...
public static final SoundEvent ENCHANTING_TABLE_USE = register("block.enchanting_table.use");
...
Can confirm