Package noppes.npcs.api.entity
Interface IArrow<T extends net.minecraft.entity.projectile.EntityArrow>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublegetDamage()Gets the base damage of this arrow.IEntitygetShooter()Gets the entity that shot this arrow.voidkill()Removes this arrow from the world.-
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
-
getShooter
IEntity getShooter()
Gets the entity that shot this arrow.- Returns:
- the shooter entity, or null if none
-
getDamage
double getDamage()
Gets the base damage of this arrow.- Returns:
- the damage value
-
kill
void kill()
Removes this arrow from the world.
-
-