Package noppes.npcs.api.entity
Interface IEnergyDisc<T extends net.minecraft.entity.Entity>
-
- All Superinterfaces:
IEnergyAbility<T>,IEnergyProjectile<T>,IEntity<T>
public interface IEnergyDisc<T extends net.minecraft.entity.Entity> extends IEnergyProjectile<T>
A flat spinning disc projectile with optional boomerang behavior.Discs can be oriented vertically or horizontally, and can return to their owner like a boomerang after a configurable delay.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBoomerangDelay()floatgetDiscRadius()Radius of the disc.floatgetDiscThickness()booleanisBoomerang()booleanisReturning()booleanisVertical()voidsetBoomerang(boolean boomerang)voidsetBoomerangDelay(int ticks)voidsetDiscRadius(float radius)voidsetDiscThickness(float thickness)voidsetVertical(boolean vertical)-
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.IEnergyProjectile
fireAt, fireAt, fireDirection, fireFrom, fireFrom, getAnchor, getAnchorOffsetX, getAnchorOffsetY, getAnchorOffsetZ, getDamage, getEnergyType, getExplosionDamageFalloff, getExplosionRadius, getHitType, getHomingRange, getHomingStrength, getInterpolatedRotationX, getInterpolatedRotationY, getInterpolatedRotationZ, getInterpolatedSize, getKnockback, getKnockbackUp, getMaxDistance, getMaxHits, getMaxLifetime, getMultiHitDelayTicks, getRotationSpeed, getSize, getSpeed, getStartX, getStartY, getStartZ, getTarget, getTargetEntityId, hasHit, isExplosive, isHoming, setDamage, setExplosionDamageFalloff, setExplosionRadius, setExplosive, setHitType, setHoming, setHomingRange, setHomingStrength, setKnockback, setKnockbackUp, setMaxDistance, setMaxHits, setMaxLifetime, setMultiHitDelayTicks, setOwner, setRotationSpeed, setSize, setSpeed, setTarget, 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
-
getDiscRadius
float getDiscRadius()
Radius of the disc.- Returns:
- the disc radius in blocks
-
setDiscRadius
void setDiscRadius(float radius)
-
getDiscThickness
float getDiscThickness()
-
setDiscThickness
void setDiscThickness(float thickness)
-
isVertical
boolean isVertical()
-
setVertical
void setVertical(boolean vertical)
-
isBoomerang
boolean isBoomerang()
-
setBoomerang
void setBoomerang(boolean boomerang)
-
getBoomerangDelay
int getBoomerangDelay()
-
setBoomerangDelay
void setBoomerangDelay(int ticks)
-
isReturning
boolean isReturning()
-
-