Package noppes.npcs.api.entity
Interface IEnergyPanel<T extends net.minecraft.entity.Entity>
-
- All Superinterfaces:
IEnergyAbility<T>,IEnergyBarrier<T>,IEntity<T>
public interface IEnergyPanel<T extends net.minecraft.entity.Entity> extends IEnergyBarrier<T>
Represents an energy panel barrier - a flat rectangular shield (Wall or Shield mode).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetPanelHeight()intgetPanelMode()Panel mode: 0=PLACED, 1=HELD, 2=LAUNCHEDfloatgetPanelWidth()floatgetPanelYaw()booleanisLaunched()voidsetPanelHeight(float height)voidsetPanelMode(int mode)voidsetPanelWidth(float width)voidsetPanelYaw(float yaw)voidspawn()Spawn this panel entity into the world.-
Methods inherited from interface noppes.npcs.api.entity.IEnergyAbility
getChargeProgress, getDamageData, getInnerAlpha, getInnerColor, getLightningDensity, getLightningFadeTime, getLightningRadius, getMagicData, getOuterColor, getOuterColorAlpha, getOuterColorWidth, getOwner, getOwnerEntityId, hasLightningEffect, isCharging, isIgnoreIFrames, isOuterColorEnabled, setDamageData, setIgnoreIFrames, setInnerAlpha, setInnerColor, setLightningDensity, setLightningEffect, setLightningFadeTime, setLightningRadius, setMagicData, setOuterColor, setOuterColorAlpha, setOuterColorEnabled, setOuterColorWidth
-
Methods inherited from interface noppes.npcs.api.entity.IEnergyBarrier
getAbsorbRadius, getBarrierType, getCurrentHealth, getDefaultMultiplier, getDuration, getHealthPercent, getKnockbackStrength, getMaxHealth, getTicksAlive, isAbsorbing, isKnockbackEnabled, isSolid, isUseDuration, isUseHealth, setAbsorbing, setAbsorbRadius, setCurrentHealth, setDefaultMultiplier, setDuration, setKnockbackEnabled, setKnockbackStrength, setMaxHealth, setSolid, setUseDuration, setUseHealth, syncClient
-
Methods inherited from interface noppes.npcs.api.entity.IEntity
capturesDrops, clearStoredData, clearTempData, despawn, dropItem, extinguish, getAge, getAllNbt, getBlockX, getBlockY, getBlockZ, getCapturedDrops, getCollidingEntities, getDimension, getEntityId, getHeight, getMCEntity, getMotion, getMotionX, getMotionY, getMotionZ, getMount, getNbt, getNbtOptional, getPitch, getPosition, getRider, getRotation, getStoredData, getStoredDataKeys, getSurroundingEntities, getSurroundingEntities, getTempData, getTempDataKeys, getType, getTypeName, getUniqueID, getWidth, getWorld, getX, getY, getYOffset, getZ, hasCollided, hasCollidedHorizontally, hasCollidedVertically, hasStoredData, hasTempData, inFire, inLava, inWater, isAirborne, isAlive, isBurning, isSneaking, isSprinting, knockback, knockback, knockback, removeStoredData, removeTempData, setBurning, setCapturedDrops, setCapturesDrops, setDimension, setImmune, setInvisible, setMotion, setMotion, setMotionX, setMotionY, setMotionZ, setMount, setNbt, setPitch, setPosition, setPosition, setRider, setRotation, setRotation, setSneaking, setSprinting, setStoredData, setTempData, setX, setY, setZ, spawnParticle, storeAsClone, typeOf, updateEntity
-
-
-
-
Method Detail
-
getPanelWidth
float getPanelWidth()
-
setPanelWidth
void setPanelWidth(float width)
-
getPanelHeight
float getPanelHeight()
-
setPanelHeight
void setPanelHeight(float height)
-
getPanelYaw
float getPanelYaw()
-
setPanelYaw
void setPanelYaw(float yaw)
-
getPanelMode
int getPanelMode()
Panel mode: 0=PLACED, 1=HELD, 2=LAUNCHED- Returns:
- the panel mode ordinal
-
setPanelMode
void setPanelMode(int mode)
-
isLaunched
boolean isLaunched()
-
spawn
void spawn()
Spawn this panel entity into the world.
-
-