Skip to content

Fix physics property crash with some modded blocks#685

Merged
Ocelot5836 merged 1 commit intomainfrom
fix/physics-properties
May 4, 2026
Merged

Fix physics property crash with some modded blocks#685
Ocelot5836 merged 1 commit intomainfrom
fix/physics-properties

Conversation

@Ocelot5836
Copy link
Copy Markdown
Collaborator

Twilight forest uses neighboring blocks to determine what its voxel shape should be. However, this is not allowed when calculating physics properties as it causes a recursive update in some cases. This prevents mods from loading chunks when calculating physics properties by treating the block as a single block in a void world. This will likely produce incorrect results for twilight forest, but they should be trying to set the voxel shape based on neighbors.

Closes #387 and related duplicates

@Ocelot5836 Ocelot5836 requested a review from ryanhcode May 1, 2026 16:05
@Ocelot5836 Ocelot5836 self-assigned this May 1, 2026
@Ocelot5836 Ocelot5836 added minor change For prs changing a small amount of code compatibility Issues when another mod is installed labels May 1, 2026
@Ocelot5836 Ocelot5836 merged commit 729ddc0 into main May 4, 2026
2 checks passed
@Ocelot5836 Ocelot5836 deleted the fix/physics-properties branch May 4, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

compatibility Issues when another mod is installed minor change For prs changing a small amount of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mod Incompatibility: Twilight Forest

2 participants