Fix some Firing Script Behavior for Energy Projectiles

This commit is contained in:
Kam committed 2026-03-07 15:30:11 -05:00
1 parent 5eb98d172e
commit 6faa544f6f
6 files changed
+133 -15

No files matched your search

+8 -1
View File
@@ -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);