mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 03:14:43 +00:00
46 lines
812 B
Java
46 lines
812 B
Java
package noppes.npcs.api.entity;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
|
|
/**
|
|
* Represents an energy laser projectile - a fast expanding piercing line.
|
|
*/
|
|
public interface IEnergyLaser<T extends Entity> extends IEnergyProjectile<T> {
|
|
|
|
float getLaserWidth();
|
|
|
|
void setLaserWidth(float width);
|
|
|
|
float getExpansionSpeed();
|
|
|
|
void setExpansionSpeed(float speed);
|
|
|
|
int getLingerTicks();
|
|
|
|
void setLingerTicks(int ticks);
|
|
|
|
float getCurrentLength();
|
|
|
|
boolean isFullyExtended();
|
|
|
|
double getDirX();
|
|
|
|
double getDirY();
|
|
|
|
double getDirZ();
|
|
|
|
void setDirection(double x, double y, double z);
|
|
|
|
double getEndX();
|
|
|
|
double getEndY();
|
|
|
|
double getEndZ();
|
|
|
|
float getLingerAlpha();
|
|
|
|
boolean isLockVerticalDirection();
|
|
|
|
void setLockVerticalDirection(boolean lock);
|
|
}
|