mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-17 21:35:13 +00:00
Fix some Firing Script Behavior for Energy Projectiles
This commit is contained in:
1 parent
5eb98d172e
commit
6faa544f6f
6 files changed
+133
-15
No files matched your search
@@ -3,10 +3,17 @@ package noppes.npcs.api.entity;
|
||||
import net.minecraft.entity.Entity;
|
||||
|
||||
/**
|
||||
* Represents an energy beam projectile - a directional beam with a trailing path.
|
||||
* A directional beam projectile with a trailing path and optional head orb.
|
||||
* <p>
|
||||
* Beams travel forward from their origin, dealing damage along their length.
|
||||
* They can optionally stay attached to their owner and follow the owner's movement.
|
||||
* <p>
|
||||
* Beams use {@code startFiring} internally rather than {@code startMoving} —
|
||||
* this is handled automatically by the fire methods.
|
||||
*/
|
||||
public interface IEnergyBeam<T extends Entity> extends IEnergyProjectile<T> {
|
||||
|
||||
/** Width of the beam trail. */
|
||||
float getBeamWidth();
|
||||
|
||||
void setBeamWidth(float width);
|
||||
|
||||
Reference in new issue
Block a user