mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-14 12:04:43 +00:00
35 lines
698 B
Java
35 lines
698 B
Java
package noppes.npcs.api.entity;
|
|
|
|
import net.minecraft.entity.Entity;
|
|
|
|
/**
|
|
* Represents an energy panel barrier - a flat rectangular shield (Wall or Shield mode).
|
|
*/
|
|
public interface IEnergyPanel<T extends Entity> extends IEnergyBarrier<T> {
|
|
|
|
float getPanelWidth();
|
|
|
|
void setPanelWidth(float width);
|
|
|
|
float getPanelHeight();
|
|
|
|
void setPanelHeight(float height);
|
|
|
|
float getPanelYaw();
|
|
|
|
void setPanelYaw(float yaw);
|
|
|
|
/**
|
|
* Panel mode: 0=PLACED, 1=HELD, 2=LAUNCHED
|
|
* @return the panel mode ordinal
|
|
*/
|
|
int getPanelMode();
|
|
|
|
void setPanelMode(int mode);
|
|
|
|
boolean isLaunched();
|
|
|
|
/** Spawn this panel entity into the world. */
|
|
void spawn();
|
|
}
|