public class TridentEnderman extends TridentLivingEntity implements Enderman
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 |
|---|
TridentEnderman(UUID id,
Position spawnLocation) |
| Modifier and Type | Method and Description |
|---|---|
BlockSnapshot |
carryingBlock()
Get the block that this enderman is currently carrying
|
protected void |
doEncodeMeta(ProtocolMetadata protocolMeta) |
void |
doLoad(CompoundTag tag) |
int |
endermiteCount()
Gets the number of endermites spawned by this enderman.
|
boolean |
isHostile()
Whether or not this entity has been angered.
|
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
|
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, 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 TridentEnderman(UUID id, Position spawnLocation)
public void doLoad(CompoundTag tag)
doLoad in class TridentEntityprotected void doEncodeMeta(ProtocolMetadata protocolMeta)
doEncodeMeta in class TridentEntitypublic BlockSnapshot carryingBlock()
EndermancarryingBlock in interface Endermanpublic int endermiteCount()
EndermanendermiteCount in interface Endermanpublic 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.