public class TridentWolf extends TridentLivingEntity implements Wolf
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 |
|---|
TridentWolf(UUID uuid,
Position spawnPosition) |
| Modifier and Type | Method and Description |
|---|---|
int |
age()
The current age of this entity, in ticks
|
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"
|
SubstanceColor |
collarColor()
The color of this entity's collar
|
boolean |
isAngry()
Whether or not this entity is angry
|
boolean |
isHostile()
Whether or not this entity has been angered.
|
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
|
boolean |
isSitting()
Whether or not this entity is sitting
|
boolean |
isTamed()
Whether or not this entity is tamed
|
EntityDamageEvent |
lastDamageEvent()
Returns the last EntityDamageEvent which inflicted this Entity
|
Player |
lastPlayerDamager()
Returns the player who dealt damage to this Entity since its last full heal
|
UUID |
owner()
The UUID of this entity's owner
|
void |
setAge(int ticks)
Set the current age of this entity, in ticks
|
EntityType |
type()
Gets the type of entity
|
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, doEncodeMeta, doLoad, doRemove, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, setDisplayName, setOnGround, setPassenger, setPosition, setSize, setVelocity, spawn, teleport, teleport, teleport, tick, uniqueId, velocity, withinRange, worldclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaiModule, canCollectItems, createStatusEffect, displayName, headLocation, health, hide, isDead, 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, uniqueId, velocity, withinRange, worldlaunchProjectilepublic TridentWolf(UUID uuid, Position spawnPosition)
public boolean isAngry()
Wolfpublic SubstanceColor collarColor()
WolfcollarColor in interface Wolfpublic boolean isTamed()
Tameablepublic UUID owner()
Tameablepublic boolean isSitting()
Tameablepublic int age()
Ageablepublic void setAge(int ticks)
Ageablepublic boolean canBreed()
Ageablepublic boolean isInLove()
Ageablepublic boolean isHostile()
Neutralpublic EntityDamageEvent lastDamageEvent()
LivingEntityThe event may be cancelled.
lastDamageEvent in interface LivingEntitypublic Player lastPlayerDamager()
LivingEntityUsed for death messages
lastPlayerDamager in interface LivingEntitypublic EntityType type()
Entitytype in interface Entitytype in class TridentEntityCopyright © 2016. All rights reserved.