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:
Kam committed 2026-02-16 01:03:05 -05:00
1 parent 66fff09d20
commit efa8721d36
10 files changed
+402 -5

No files matched your search

@@ -0,0 +1,23 @@
package noppes.npcs.api.entity;
import net.minecraft.entity.Entity;
/**
* Represents an energy beam projectile - a directional beam with a trailing path.
*/
public interface IEnergyBeam<T extends Entity> extends IEnergyProjectile<T> {
float getBeamWidth();
void setBeamWidth(float width);
float getHeadSize();
void setHeadSize(float size);
boolean isAttachedToOwner();
void setAttachedToOwner(boolean attached);
boolean shouldRenderTailOrb();
}