mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-18 05:45:09 +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,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();
|
||||
}
|
||||
Reference in new issue
Block a user