mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-18 09:09:14 +00:00
Update API and Cleanup Unused Code
This commit is contained in:
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);
|
||||
}
|
||||
Reference in new issue
Block a user