GriefPrevention3D v18.3.6
What's new
v18.3.6: shaped claim cuts
GriefPrevention3D v18.3.6
Wiki: https://github.com/castledking/GriefPrevention3D/wiki
Overview
This release adds shaped claim cuts — the ability to carve inward cuts from an existing claim boundary using the shaped claim tool. Where v18.3.x introduced outward reshaping (extending claim boundaries into unclaimed land), this release completes the shaped-claim workflow by allowing players to subtract irregular shapes from their own claims.
A cut is started by clicking a boundary segment to seed the path, then clicking inward into the claim interior. Each interior click adds an orthogonal corner point (snapped automatically), and the cut is finalized by clicking back onto any boundary point. The carved region is unclaimed.
How it works
- Enter shaped claim mode (
/shapedclaimsor equivalent shovel mode). - Click a boundary point on your claim — this seeds the cut path from that boundary edge.
- Click inward into the claim interior — the first interior click starts the cut and shows a warning message.
- Continue clicking interior points to shape the cut — each point is snapped to be orthogonal with the previous point.
- Click back onto any boundary point to complete the cut — the shaped interior region is unclaimed.
Cut message
When a cut is started, the player sees:
Starting a shaped cut of your claim. Continue to shape and merge back to a boundary to complete the cut. Warning: cut means to unclaim that shaped land.
Technical details
- Cut points are validated to be inside the claim polygon (
containsCell), not just non-boundary points. This ensures interior cut clicks are distinguished from exterior reshape-extension clicks. - Interior points are automatically snapped to be orthogonal with the previous path point, matching the behavior of the existing shaped-claim extension path.
- The cut polygon is constructed by walking the claim boundary between the two cut-edge endpoints and inserting the cut path. The resulting polygon is validated via
OrthogonalPolygonValidator.validatePathfor self-intersection, orthogonal edges, and closed-path requirements. - Same-edge cuts (both cut points on the same boundary edge) produce correct non-overlapping polygon geometry with proper corner-to-cutPoint pairings.
Also in this release
- Fix: cut path interior points now snap orthogonally to the previous point when the click is not axis-aligned, matching the extension reshape path behavior.
This mod has no additional files

