Update API and Cleanup Unused Code

This commit is contained in:
Kam committed 2026-03-01 02:50:44 -05:00
1 parent 27a41e3a8e
commit b28a7a5c4d
33 files changed
+592 -32

No files matched your search

@@ -1,11 +1,19 @@
package noppes.npcs.api.ability.data;
/**
* Lifespan properties for energy ability projectiles.
* Controls how far and how long a projectile can travel before expiring.
*/
public interface IEnergyLifespanData {
/** @return Maximum travel distance in blocks before the projectile expires. */
float getMaxDistance();
/** @param maxDistance Maximum travel distance in blocks. */
void setMaxDistance(float maxDistance);
/** @return Maximum lifetime in ticks before the projectile expires. */
int getMaxLifetime();
/** @param maxLifetime Maximum lifetime in ticks. */
void setMaxLifetime(int maxLifetime);
}