CNPC+ Debug Command for Energy Projectiles + Compile Fixes

This commit is contained in:
Kam committed 2026-02-25 04:31:17 -05:00
1 parent 744ffc5ab7
commit d8bc3d4177
16 files changed
+438 -32

No files matched your search

@@ -122,6 +122,8 @@ public class EntityAbilityDome extends EntityAbilityBarrier {
if (worldObj.isRemote && barrierData.meleeEnabled && !isCharging()) {
adjustMeleeBoundingBox();
}
debugLogBarrierTick();
}
// ==================== INCOMING CHECK ====================
@@ -548,6 +550,14 @@ public class EntityAbilityDome extends EntityAbilityBarrier {
return surfaceDist * surfaceDist;
}
// ==================== DEBUG ====================
@Override
protected String debugLogBarrierExtra() {
return String.format("radius=%.2f targetRadius=%.2f follow=%b",
domeRadius, targetDomeRadius, followCaster);
}
// ==================== GETTERS ====================
public float getDomeRadius() {