Move Hull and generic HullHider into HiderCore

Hull no longer depends on FightSystem: plugin, world, region, ground
visibility and hidden blocks are passed in. HullRegion is the common block
box hulls work on. The generic HullHider<K> manages one hull per key and does
the block, entity and REntity tracking; FightHullHider keeps the fight
specific parts (team hulls, viewer rules, state dependent registration).

Entities are now checked against the hull with block coordinates, so entities
in the bottom layer and at the max z edge are handled correctly.
This commit is contained in:
2026-10-31 14:49:00 +01:00
parent a3a97ee102
commit da4b684a4b
10 changed files with 334 additions and 119 deletions
+1
View File
@@ -34,6 +34,7 @@ dependencies {
compileOnly(libs.nms)
compileOnly(libs.netty)
compileOnly(libs.fastutil)
compileOnly(libs.authlib)
}
widener {