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

@@ -624,6 +624,17 @@ public class EntityAbilityLaser extends EntityEnergyProjectile {
return -1;
}
// ==================== DEBUG ====================
@Override
protected String debugLogExtra() {
return String.format("dir=(%.3f,%.3f,%.3f) desired=%.2f current=%.2f max=%.2f " +
"fullyExtended=%b end=(%.2f,%.2f,%.2f) width=%.2f expSpd=%.2f origin=(%.2f,%.2f,%.2f)",
dirX, dirY, dirZ, desiredLength, currentLength, maxLength,
fullyExtended, endX, endY, endZ, laserWidth, expansionSpeed,
startX, startY, startZ);
}
// ==================== GETTERS / SETTERS ====================
public float getLaserWidth() {