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

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).

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
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