public interface Projectile extends Entity
Modifier and Type | Method and Description |
---|---|
ProjectileSource |
getShooter()
Gets the shooter of this projectile.
|
void |
setShooter(ProjectileSource shooter)
Sets the shooter of this projectile.
|
addPassenger, canSee, clearPassengers, createArchetype, createSnapshot, damage, getBaseVehicle, getBoundingBox, getCreator, getNearbyEntities, getNearbyEntities, getNotifier, getPassengers, getRandom, getRotation, getScale, getTransform, getType, getVehicle, getVelocity, gravity, hasPassenger, isLoaded, isOnGround, isRemoved, remove, removePassenger, setCreator, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setNotifier, setRotation, setScale, setTransform, setTransformSafely, setVehicle, setVelocity, transferToWorld, transferToWorld, transferToWorld, transferToWorld
getUniqueId
getLocation, getWorld
setRawData, validateRawData
getContentVersion, toContainer
getApplicableProperties, getProperty
copyFrom, copyFrom, get, getContainers, getOrCreate, offer, offer, offer, offer, offer, offer, remove, remove, remove, require, supports, transform, tryOffer, tryOffer, tryOffer, tryOffer, undo
copy, get, getKeys, getOrElse, getOrNull, getValue, getValues, require, supports, supports
getTranslation
ProjectileSource getShooter()
All projectiles have a ProjectileSource
regardless of whether
the projectile was launched via plugin or mod.
void setShooter(ProjectileSource shooter)
All projectiles have a ProjectileSource
regardless of whether
the projectile was launched via plugin or mod.
shooter
- The projectile source that shot this projectile