mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 14:54:43 +00:00
Added interfaces to energy data, refactored names
This commit is contained in:
1 parent
03be7a5cac
commit
5fd3b7cb40
7 files changed
+134
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
import kamkeel.npcs.controllers.data.ability.AnchorPoint;
|
||||
|
||||
public interface IEnergyAnchorData {
|
||||
AnchorPoint getAnchorPoint();
|
||||
|
||||
void setAnchorPoint(AnchorPoint anchorPoint);
|
||||
|
||||
float getAnchorOffsetX();
|
||||
|
||||
void setAnchorOffsetX(float anchorOffsetX);
|
||||
|
||||
float getAnchorOffsetY();
|
||||
|
||||
void setAnchorOffsetY(float anchorOffsetY);
|
||||
|
||||
float getAnchorOffsetZ();
|
||||
|
||||
void setAnchorOffsetZ(float anchorOffsetZ);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
public interface IEnergyCombatData {
|
||||
float getDamage();
|
||||
|
||||
void setDamage(float damage);
|
||||
|
||||
float getKnockback();
|
||||
|
||||
void setKnockback(float knockback);
|
||||
|
||||
float getKnockbackUp();
|
||||
|
||||
void setKnockbackUp(float knockbackUp);
|
||||
|
||||
boolean isExplosive();
|
||||
|
||||
void setExplosive(boolean explosive);
|
||||
|
||||
float getExplosionRadius();
|
||||
|
||||
void setExplosionRadius(float explosionRadius);
|
||||
|
||||
float getExplosionDamageFalloff();
|
||||
|
||||
void setExplosionDamageFalloff(float explosionDamageFalloff);
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
public interface IEnergyDisplayData {
|
||||
int getInnerColor();
|
||||
|
||||
void setInnerColor(int innerColor);
|
||||
|
||||
int getOuterColor();
|
||||
|
||||
void setOuterColor(int outerColor);
|
||||
|
||||
boolean isOuterColorEnabled();
|
||||
|
||||
void setOuterColorEnabled(boolean outerColorEnabled);
|
||||
|
||||
float getOuterColorWidth();
|
||||
|
||||
void setOuterColorWidth(float outerColorWidth);
|
||||
|
||||
float getOuterColorAlpha();
|
||||
|
||||
void setOuterColorAlpha(float outerColorAlpha);
|
||||
|
||||
float getRotationSpeed();
|
||||
|
||||
void setRotationSpeed(float rotationSpeed);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
public interface IEnergyLifespanData {
|
||||
float getMaxDistance();
|
||||
|
||||
void setMaxDistance(float maxDistance);
|
||||
|
||||
int getMaxLifetime();
|
||||
|
||||
void setMaxLifetime(int maxLifetime);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
public interface IEnergyLightningData {
|
||||
boolean isLightningEffect();
|
||||
|
||||
void setLightningEffect(boolean lightningEffect);
|
||||
|
||||
float getLightningDensity();
|
||||
|
||||
void setLightningDensity(float lightningDensity);
|
||||
|
||||
float getLightningRadius();
|
||||
|
||||
void setLightningRadius(float lightningRadius);
|
||||
|
||||
int getLightningFadeTime();
|
||||
|
||||
void setLightningFadeTime(int lightningFadeTime);
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
package noppes.npcs.api.ability.data;
|
||||
|
||||
public interface IEnergyTrajectoryData {
|
||||
float getSpeed();
|
||||
|
||||
void setSpeed(float speed);
|
||||
|
||||
boolean isHoming();
|
||||
|
||||
void setHoming(boolean homing);
|
||||
|
||||
float getHomingStrength();
|
||||
|
||||
void setHomingStrength(float homingStrength);
|
||||
|
||||
float getHomingRange();
|
||||
|
||||
void setHomingRange(float homingRange);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
package noppes.npcs.api.entity;
|
||||
|
||||
public interface IEnergyProjectile {
|
||||
|
||||
|
||||
float getSize();
|
||||
void setSize(float size);
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user