Skip to content

Fix all doors sounding like train doors when placed/broken #8575

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: mc1.20.1/dev
Choose a base branch
from

Conversation

VoidLeech
Copy link
Collaborator

@VoidLeech VoidLeech commented May 30, 2025

Fixes #5738

1.19.4 has moved the soundtype property into the DoorBlock/TrapdoorBlock constructors, overriding the property set in the allblocks file.
Trapdoor wasn't using the glass set type to begin with.
Additionally, the glass type was a duplicated train set type, and no stone set type existed for the andesite/brass/copper doors, which all tried to set the stone soundtype (matching the casings; edit: wait no the casings have the wood sound, should that change the soundtype for the doors? and as pointed out in #8683, the copper casing tries to assign the copper soundtype but still sounds like wood, should that door sound like copper then?).

Deprecates the old TrainTrapdoorBlock constructor (the new constructor + static helpers cover that case), but doesn't remove it since it's used by addons.
Prepended the blocksettypes with create:. Waifu analysis shows the name field isn't used by anyone, but it is safer should something start using it.

@VoidLeech VoidLeech added pr type: fix PR fixes a bug pr flag: simple PR has minimal changes labels May 30, 2025
@VoidLeech VoidLeech force-pushed the mc1.20.1/throwing-rocks-through-a-glass-door branch from 4de707d to 92e0945 Compare July 16, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr flag: simple PR has minimal changes pr type: fix PR fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The sound type of framed glass door / trapdoor is stone.
1 participant