PlayerPlacementPermissionProbe

Non-mutating, player-aware bridge to MagmaCore's protection providers.

Functions

Link copied to clipboard
public static boolean canPlace(Player player, Block placedAgainst, BlockFace face)
Link copied to clipboard
public static boolean canPlaceVolume(Player player, Location origin, int width, int height, int depth)
Checks every block cell occupied by a voxelized prop.
Link copied to clipboard
public static boolean forEachFootprintCell(Location origin, int width, int height, int depth, Predicate<Location> cellOk)
Iterates every block cell of a prop footprint anchored at origin, applying cellOk to each cell location in x → y → z order.