mojira.dev
MC-266063

Copper Doors and Trapdoors make generic metal sounds when placing

When placing a Copper Door a Copper Trapdoor, the generic metal sound is played rather than the copper placing sound. This is inconsistent with all other copper blocks.

Linked issues

Attachments

Comments 2

This also applies to step sounds, which also use the generic metal step sounds.

Code analysis in net/minecraft/world/level/block/state/properties/BlockSetType.java:

public static final BlockSetType COPPER = BlockSetType.register(new BlockSetType("copper", true, false, PressurePlateSensitivity.EVERYTHING, SoundType.METAL, SoundEvents.COPPER_DOOR_CLOSE, SoundEvents.COPPER_DOOR_OPEN, SoundEvents.COPPER_TRAPDOOR_CLOSE, SoundEvents.COPPER_TRAPDOOR_OPEN, SoundEvents.METAL_PRESSURE_PLATE_CLICK_OFF, SoundEvents.METAL_PRESSURE_PLATE_CLICK_ON, SoundEvents.STONE_BUTTON_CLICK_OFF, SoundEvents.STONE_BUTTON_CLICK_ON));

This defines copper blocks to use SoundType.METAL, which is the wrong one.

ThePiDay

(Unassigned)

1131666

Confirmed

Expansion B

Normal

Sound

vanilla-parity

23w43a, 23w44a

23w45a

Retrieved