The IDs contain "firecharge" and "flintandsteel", which should be changed to "fire_charge" and "flint_and_steel" to fit the item IDs.
Linked issues
relates to 1
Attachments
Comments 13
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 FIRECHARGE_USE = register("item.firecharge.use");
...
public static final SoundEvent FLINTANDSTEEL_USE = register("item.flintandsteel.use");
...
If we look at the above class, we can see that the "firecharge use" and "flintandsteel use" sound events both use the incorrect item IDs for fire charges and flint and steels. The incorrect and current item IDs for both of these sound events are "firecharge" and "flintandsteel" and the correct and expected item IDs would instead be "fire_charge" and "flint_and_steel".
Potential Fix:
Simply renaming these two sound events accordingly to match their item IDs 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 FIRE_CHARGE_USE = register("item.fire_charge.use");
...
public static final SoundEvent FLINT_AND_STEEL_USE = register("item.flint_and_steel.use");
...
Can confirm in 20w51a.