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.
|
createSnapshot, damage, getLocation, getRotation, getScale, getTransform, getType, getWorld, isLoaded, isOnGround, isRemoved, remove, setLocation, setLocationAndRotation, setLocationAndRotation, setLocationAndRotationSafely, setLocationAndRotationSafely, setLocationSafely, setRotation, setScale, setTransform, transferToWorld, transferToWorld
getUniqueId
getProperties, getProperty, setRawData, validateRawData
toContainer
ProjectileSource getShooter()
All projectiles have a ProjectileSource
regardless
whether the projectile was launched via plugin or mod.
void setShooter(ProjectileSource shooter)
All projectiles have a ProjectileSource
regardless
whether the projectile was launched via plugin or mod.
shooter
- The projectile source that shot this projectile