mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-22 20:09:49 +00:00
CNPC+ Debug Command for Energy Projectiles + Compile Fixes
This commit is contained in:
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() {
|
||||
|
||||
Reference in new issue
Block a user