Skip to content

Fixed NoRender's block particle setting also muting the block breaking sound - #6853

Open
dekrom wants to merge 1 commit into
MeteorDevelopment:masterfrom
dekrom:fix/norender-breaking-sound
Open

dekrom wants to merge 1 commit into
MeteorDevelopment:masterfrom
dekrom:fix/norender-breaking-sound

Conversation

@dekrom

@dekrom dekrom commented Dec 1, 2026

Copy link
Copy Markdown
Contributor

Type of change

  • Bug fix
  • New feature

Description

NoRender's block particle filter cancels ClientLevel#addBreakingBlockEffects at HEAD. On 26.3
that method plays the block hit sound first and then calls addBreakingParticles, so hiding block
particles also muted the mining sound. In 26.2 addBreakingBlockEffect only spawned the
particles, so this came in with the 26.3 port.

Injecting into addBreakingParticles instead hides the same particles and leaves the sound alone.
It's private and only called from addBreakingBlockEffects, so nothing else is affected.

Related issues

None that I found.

How Has This Been Tested?

Survival with subtitles on, NoRender on with minecraft:block in particles, holding left click on
grass. Before, only "Block broken" showed up. After, "Block breaking" is back while mining, and
there are still no block particles.

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant