monkeypatches-0.7.1.jar
Curse Maven Snippet
What's new
Added
- Physics Mod vine unload fix
- DoublyLinkedListMixin: Skips
removeNodefor nodes that aren't linked into the list, and detaches all nodes inclear() - Resolves
NullPointerException: Cannot assign field "next" because "node.prev" is nullinnet.diebuddies.util.DoublyLinkedList.removeNodewhen Sodium deletes chunk sections with vine physics (e.g. at the end of a resource pack reload), and the follow-upIllegalStateException: Worker threads are not runningcrash - Not reported upstream (Physics Mod Pro is closed source)
- Only loads for Physics Mod
3.0.32(Pro v185) - Configuration option:
patches.physicsmod.vine_unload_fix_enabled(default: true)
- DoublyLinkedListMixin: Skips
Technical Details
PhysicsWorld.destroy()callsDoublyLinkedList.clear(), which dropshead/tailbut leaves nodes linked and stored on their elements; removing the old first element later takes the middle-node branch with anullprev- Physics Mod isn't available at compile time: the
Nodeparameter is taken as@Coerce Object, andLinkedListGuardreaches private fields through aMethodHandles.Lookupcreated inside the target class
This mod has no additional files

