Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Avatar for castledking

A fork of GriefPrevention that adds 3D subdivisions

Report GriefPrevention3D?

R

18.3.7

GriefPrevention3D v18.3.7

Wiki: https://github.com/castledking/GriefPrevention3D/wiki

Overview

This is a fix release for the shaped claim cuts introduced in v18.3.6. Cut clicks only worked when every click landed at the same Y level; otherwise the path failed to close and players saw "The resulting shape is not valid".

Root cause

Cut click classification used the claim's 3D containment check (claim.contains(location, ...)), which requires the clicked block's Y to fall inside the claim's height range. Shaped claims are 2D — their geometry lives entirely in the X/Z plane — so a player clicking on terrain above or below that band produced a point that counted as neither interior nor boundary. The cut path could then never detect closure, and finalization rejected the shape.

Fix

All six cut-flow classification checks now test the click's X/Z coordinates against the boundary polygon directly (polygon.containsCell(x, z)) instead of the 3D location check:

  • interior-cut-click detection (both handler paths);
  • general interior-click detection;
  • boundary-closure detection (clicking back onto the boundary to finish the cut).

Y level no longer plays any role in shaped claim cuts: you can seed, shape, and close a cut from any elevation.

Upgrade notes

No configuration, storage, or migration changes. Drop-in replacement for v18.3.6.

Information

Published
August 24, 2026
12Downloads

Platforms

Paper
Paper
1.8.8–26.2