public abstract class TridentAgeable extends TridentLivingEntity implements Ageable
| Modifier and Type | Field and Description |
|---|---|
protected int |
age |
attributes, 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| Constructor and Description |
|---|
TridentAgeable(UUID id,
Position spawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
int |
age()
The current age of this entity, in ticks
|
protected void |
doEncodeMeta(ProtocolMetadata protocolMeta) |
void |
setAge(int ticks)
Set the current age of this entity, in ticks
|
aiHandler, 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, doLoad, 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, waitaiModule, 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 volatile int age
public TridentAgeable(UUID id, Position spawnLocation)
protected void doEncodeMeta(ProtocolMetadata protocolMeta)
doEncodeMeta in class TridentEntitypublic void setAge(int ticks)
AgeableCopyright © 2016. All rights reserved.