mirror of
https://github.com/KAMKEEL/CustomNPC-Plus-API.git
synced 2026-11-15 17:14:44 +00:00
IEnergy + IBarriers
This commit is contained in:
1 parent
efa8721d36
commit
3d648425fa
8 files changed
+235
-49
No files matched your search
@@ -0,0 +1,26 @@
|
||||
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();
|
||||
|
||||
/**
|
||||
* Panel mode: 0=PLACED, 1=HELD, 2=LAUNCHED
|
||||
*/
|
||||
int getPanelMode();
|
||||
|
||||
boolean isLaunched();
|
||||
}
|
||||
Reference in new issue
Block a user