public class TridentArrow extends TridentProjectile implements Arrow
sourceairTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width| Constructor and Description |
|---|
TridentArrow(UUID uuid,
Position spawnPosition,
ProjectileLauncher projectileLauncher) |
| Modifier and Type | Method and Description |
|---|---|
void |
applyProperties(EntityProperties properties)
Sets the properties of this entity to the specified properties
|
boolean |
canPickup()
Represents whether or not you can pickup this Arrow
|
protected void |
hit()
Performed when the projectile hits something
|
void |
setPickup(boolean pickup)
Sets the ability to pickup the projectile
|
TridentEntity |
spawn()
Begin entity management
|
EntityType |
type()
Gets the type of entity
|
doHit, doTick, isNameVisible, launcher, setLauncherasNbt, boundingBox, displayName, doEncodeMeta, doLoad, doRemove, eject, encodeMetadata, entityId, isSilent, load, onGround, passenger, position, remove, setDisplayName, setOnGround, setPassenger, setPosition, setSize, setVelocity, teleport, teleport, teleport, tick, uniqueId, velocity, withinRange, worldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdoHit, launcher, setLauncherboundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, worldpublic TridentArrow(UUID uuid, Position spawnPosition, ProjectileLauncher projectileLauncher)
public boolean canPickup()
Arrowpublic void setPickup(boolean pickup)
Arrowpublic void applyProperties(EntityProperties properties)
EntityapplyProperties in interface EntityapplyProperties in class TridentProjectileproperties - the properties to setprotected void hit()
TridentProjectilehit in class TridentProjectilepublic EntityType type()
Entitytype in interface Entitytype in class TridentEntitypublic TridentEntity spawn()
TridentEntityspawn in class TridentEntityCopyright © 2016. All rights reserved.