public abstract class TridentTameable extends TridentBreedable implements Tameable
| Modifier and Type | Field and Description |
|---|---|
protected UUID |
owner |
protected byte |
tameData |
canBreed, inLove, loveTimeoutageattributes, canPickup, dead, health, invincibilityTicks, maxHealth, restTicksairTicks, boundingBox, counter, displayName, executor, fallDistance, fireTicks, godMode, HANDLER, height, id, loc, nameVisible, onGround, passenger, portalCooldown, silent, ticksExisted, uniqueId, velocity, width| Modifier | Constructor and Description |
|---|---|
protected |
TridentTameable(UUID id,
Position spawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doEncodeMeta(ProtocolMetadata protocolMeta) |
boolean |
isSitting()
Whether or not this entity is sitting
|
boolean |
isTamed()
Whether or not this entity is tamed
|
UUID |
owner()
The UUID of this entity's owner
|
void |
setTame(UUID owner) |
canBreed, doLoad, isInLoveage, setAgeaiHandler, aiModule, canCollectItems, createStatusEffect, doTick, encodeMetadata, headLocation, health, hide, isDead, launchProjectile, load, maxHealth, path, performAiUpdate, remainingAir, remove, setAiModule, setHealth, setMaxHealth, setPath, setRemainingAir, showapplyProperties, asNbt, boundingBox, displayName, doRemove, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, setDisplayName, setOnGround, setPassenger, setPosition, setSize, setVelocity, spawn, teleport, teleport, teleport, tick, type, uniqueId, velocity, withinRange, worldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitage, canBreed, isInLove, setAgeaiModule, canCollectItems, createStatusEffect, displayName, headLocation, health, hide, isDead, lastDamageEvent, lastPlayerDamager, maxHealth, path, remainingAir, setAiModule, setHealth, setMaxHealth, setPath, setRemainingAir, showapplyProperties, boundingBox, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, type, uniqueId, velocity, withinRange, worldlaunchProjectileprotected TridentTameable(UUID id, Position spawnLocation)
protected void doEncodeMeta(ProtocolMetadata protocolMeta)
doEncodeMeta in class TridentAgeablepublic boolean isSitting()
Tameablepublic UUID owner()
Tameablepublic boolean isTamed()
TameableCopyright © 2016. All rights reserved.