mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 06:09:05 +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
@@ -330,6 +330,17 @@ public class EntityAbilityDisc extends EntityEnergyProjectile {
|
||||
updateRotation();
|
||||
}
|
||||
|
||||
// ==================== DEBUG ====================
|
||||
|
||||
@Override
|
||||
protected String debugLogExtra() {
|
||||
return String.format("motion=(%.3f,%.3f,%.3f) radius=%.2f thickness=%.2f " +
|
||||
"boomerang=%b returning=%b vertical=%b ticksSinceMiss=%d",
|
||||
motionX, motionY, motionZ,
|
||||
discRadius, discThickness,
|
||||
boomerang, returning, vertical, ticksSinceMiss);
|
||||
}
|
||||
|
||||
// ==================== GETTERS ====================
|
||||
|
||||
public float getDiscRadius() {
|
||||
|
||||
Reference in new issue
Block a user