public interface Projectile extends Entity
Modifier and Type | Method and Description |
---|---|
void |
doHit()
Performs hit action
|
ProjectileLauncher |
launcher()
The projectile source
|
void |
setLauncher(ProjectileLauncher shooter)
Returns the shooter of the Projectile
|
applyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, type, uniqueId, velocity, withinRange, world
void doHit()
ProjectileLauncher launcher()
void setLauncher(ProjectileLauncher shooter)
shooter
- the ProjectileSource of the ProjectileCopyright © 2016. All rights reserved.