Skip to content

Fix Naga breaking unbreakable blocks#128

Merged
Dream-Master merged 2 commits intoGTNewHorizons:masterfrom
ModularityEnjoyer:naga-destruction-fix
Dec 26, 2025
Merged

Fix Naga breaking unbreakable blocks#128
Dream-Master merged 2 commits intoGTNewHorizons:masterfrom
ModularityEnjoyer:naga-destruction-fix

Conversation

@ModularityEnjoyer
Copy link

Fixes GTNewHorizons/GT-New-Horizons-Modpack#22990

This PR prevents the Naga from breaking unbreakable blocks, such as Bedrock.
It prevents this by checking that the block targeted for destruction does not have a hardness value < 0.

@Dream-Master Dream-Master added the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Dec 25, 2025
Copy link

@FourIsTheNumber FourIsTheNumber left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What a strange variable naming scheme

@ModularityEnjoyer
Copy link
Author

What a strange variable naming scheme

I'd originally just gone with 'hardness', but I didn't want to feel left out :)

@Dream-Master Dream-Master merged commit 2d0c72c into GTNewHorizons:master Dec 26, 2025
1 check passed
@Dream-Master Dream-Master removed the 🚧 Testing on Zeta Do not merge yet, testing this PR on Zeta label Dec 26, 2025
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.

Get bedrock by naga

3 participants