public class TridentArmorStand extends TridentLivingEntity implements ArmorStand
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 |
|---|
TridentArmorStand(UUID id,
Position spawnLocation,
SlotProperties properties) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
displayArms()
Whether or not this Armor Stand should display its arms
|
boolean |
displayBaseplate()
Whether or not this Armor Stand should display its baseplate
|
protected void |
doEncodeMeta(ProtocolMetadata protocolMeta) |
Item[] |
equipment()
This entity's equipment
|
void |
hide(Entity entity)
Makes the specified entity invisible to the current entity
|
boolean |
isInvisible()
Whether or not this Armor Stand is invisible
|
boolean |
isTiny()
Whether or not this Armor Stand is small
|
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
|
PartRotation[] |
pose()
Returns the pose for this Armor Stand
|
void |
setEquipment(Item[] stack) |
void |
show(Entity entity)
Un-hides the entity that was hidden from view, or does nothing of already visible
|
SlotProperties |
slotProperties()
Gets the slot properties of this Armor Stand
|
EntityType |
type()
Gets the type of entity
|
boolean |
useGravity()
Whether or not this Armor Stand will fall or not
|
aiHandler, aiModule, canCollectItems, createStatusEffect, doTick, encodeMetadata, headLocation, health, isDead, launchProjectile, load, maxHealth, path, performAiUpdate, remainingAir, remove, setAiModule, setHealth, setMaxHealth, setPath, setRemainingAirapplyProperties, asNbt, boundingBox, displayName, 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, waitapplyProperties, boundingBox, displayName, eject, entityId, isNameVisible, isSilent, onGround, passenger, position, remove, setDisplayName, setPassenger, setSize, setVelocity, teleport, teleport, teleport, uniqueId, velocity, withinRange, worlddisplayNamepublic TridentArmorStand(UUID id, Position spawnLocation, SlotProperties properties)
protected void doEncodeMeta(ProtocolMetadata protocolMeta)
doEncodeMeta in class TridentEntitypublic SlotProperties slotProperties()
ArmorStandslotProperties in interface ArmorStandpublic boolean isInvisible()
ArmorStandisInvisible in interface ArmorStandpublic boolean displayBaseplate()
ArmorStanddisplayBaseplate in interface ArmorStandpublic boolean displayArms()
ArmorStanddisplayArms in interface ArmorStandpublic boolean useGravity()
ArmorStanduseGravity in interface ArmorStandpublic PartRotation[] pose()
ArmorStandpose in interface ArmorStandpublic boolean isTiny()
ArmorStandisTiny in interface ArmorStandpublic Item[] equipment()
EquippableLayout:
equipment in interface Equippablepublic void setEquipment(Item[] stack)
setEquipment in interface Equippablepublic void hide(Entity entity)
LivingEntityHas no effect if the current entity is not a player
hide in interface LivingEntityhide in class TridentLivingEntityentity - the entity to make invisible to this entitypublic void show(Entity entity)
LivingEntityHas no effect if the current entity is not a player
show in interface LivingEntityshow in class TridentLivingEntityentity - the entity to make visible to this entitypublic 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.