mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 04:05:13 +00:00
Add energy projectile types and events: implement IEnergyOrb, IEnergyBeam, IEnergyDisc, and IEnergyLaser interfaces, along with their respective script handlers and event hooks
This commit is contained in:
1 parent
66fff09d20
commit
efa8721d36
10 files changed
+402
-5
No files matched your search
@@ -0,0 +1,31 @@
|
||||
package noppes.npcs.api.entity;
|
||||
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
/**
|
||||
* Represents an energy disc projectile - a flat spinning disc with optional boomerang behavior.
|
||||
*/
|
||||
public interface IEnergyDisc<T extends Entity> extends IEnergyProjectile<T> {
|
||||
|
||||
float getDiscRadius();
|
||||
|
||||
void setDiscRadius(float radius);
|
||||
|
||||
float getDiscThickness();
|
||||
|
||||
void setDiscThickness(float thickness);
|
||||
|
||||
boolean isVertical();
|
||||
|
||||
void setVertical(boolean vertical);
|
||||
|
||||
boolean isBoomerang();
|
||||
|
||||
void setBoomerang(boolean boomerang);
|
||||
|
||||
int getBoomerangDelay();
|
||||
|
||||
void setBoomerangDelay(int ticks);
|
||||
|
||||
boolean isReturning();
|
||||
}
|
||||
Reference in new issue
Block a user