promotional bannermobile promotional banner

GriefPrevention3D

A fork of GriefPrevention that adds 3D subdivisions
Back to Files

GriefPrevention3D v18.3.7

File nameGriefPrevention3D.jar
Uploader
castledkingcastledking
Uploaded
Aug 24, 2026
Downloads
4
Size
1.6 MB
File ID
8724751
Type
R
Release
Supported game versions
  • 26.2
  • 26.1.2
  • 26.1.1
  • 26.1
  • 1.21.5-Snapshot
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.3-Snapshot
  • 1.20.5-Snapshot
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19
  • 1.18.2
  • 1.18.1
  • 1.18
  • 1.17
  • 1.16
  • 1.15
  • 1.14
  • 1.13
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8.3
  • 1.8.1
  • 1.8

What's new

v18.3.7: cut clicks work at any Y level

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.

This mod has no additional files