public abstract class TridentBreedable extends TridentAgeable
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
canBreed |
protected boolean |
inLove |
protected int |
loveTimeout |
ageattributes, 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 |
|---|
TridentBreedable(UUID id,
Position spawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBreed()
Whether or not this entity can breed or not, where the ability to breed represents whether or not this entity
can
become "in love"
|
void |
doLoad(CompoundTag tag) |
boolean |
isInLove()
Whether or not this entity is "in love", such that it will actively display the particle effect for breeding
hearts and search for a mate
|
age, doEncodeMeta, 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, 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 loveTimeout
protected volatile boolean inLove
protected volatile boolean canBreed
public TridentBreedable(UUID id, Position spawnLocation)
public boolean canBreed()
Ageablepublic boolean isInLove()
Ageablepublic void doLoad(CompoundTag tag)
doLoad in class TridentEntityCopyright © 2016. All rights reserved.