public class GlowArmorStand extends GlowLivingEntity implements org.bukkit.entity.ArmorStand
deathTicks, health, maxHealth, movement, speed, taskManageractive, airDrag, applyDragBeforeAccel, boundingBox, ENTITY_ID_NOBODY, entityId, gravityAccel, liquidDrag, location, metadata, passengerChanged, previousLocation, removed, server, slipMultiplier, teleported, ticksLived, vehicle, velocity, velocityChanged, world, worldLock| Constructor and Description |
|---|
GlowArmorStand(org.bukkit.Location location)
Creates an armor stand.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canMove() |
boolean |
canTakeDamage(org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
Get whether this entity should take damage from the specified source.
|
boolean |
canTick() |
List<com.flowpowered.network.Message> |
createSpawnMessage()
Creates a list of
Messages which can be sent to a client to spawn this entity. |
List<com.flowpowered.network.Message> |
createUpdateMessage(GlowSession session)
Creates a
Message which can be sent to a client to update this entity. |
void |
damage(double amount,
org.bukkit.entity.Entity source,
org.bukkit.event.entity.EntityDamageEvent.DamageCause cause) |
boolean |
entityInteract(GlowPlayer player,
InteractEntityMessage msg) |
int |
getArrowsStuck()
The number of arrows stuck inside this entity.
|
org.bukkit.util.EulerAngle |
getBodyPose() |
org.bukkit.inventory.ItemStack |
getBoots() |
org.bukkit.inventory.ItemStack |
getChestplate() |
org.bukkit.inventory.EntityEquipment |
getEquipment() |
org.bukkit.util.EulerAngle |
getHeadPose() |
org.bukkit.inventory.ItemStack |
getHelmet() |
org.bukkit.inventory.ItemStack |
getItemInHand() |
org.bukkit.util.EulerAngle |
getLeftArmPose() |
org.bukkit.util.EulerAngle |
getLeftLegPose() |
org.bukkit.inventory.ItemStack |
getLeggings() |
org.bukkit.util.EulerAngle |
getRightArmPose() |
org.bukkit.util.EulerAngle |
getRightLegPose() |
org.bukkit.entity.EntityType |
getType() |
boolean |
hasAI() |
boolean |
hasArms() |
boolean |
hasBasePlate() |
boolean |
hasGravity() |
boolean |
isCollidable()
Whether entities can collide with this entity.
|
boolean |
isGliding() |
boolean |
isMarker() |
boolean |
isSmall() |
boolean |
isVisible() |
void |
pulse()
Called every game cycle.
|
void |
reset()
Resets the previous location and other properties to their current value.
|
void |
setAI(boolean b) |
void |
setArms(boolean arms) |
void |
setArrowsStuck(int i)
The number of arrows stuck inside this entity.
|
void |
setBasePlate(boolean basePlate) |
void |
setBodyPose(org.bukkit.util.EulerAngle pose) |
void |
setBoots(org.bukkit.inventory.ItemStack item) |
void |
setCanMove(boolean move) |
void |
setCanTick(boolean tick) |
void |
setChestplate(org.bukkit.inventory.ItemStack item) |
void |
setCollidable(boolean b)
Whether entities can collide with this entity.
|
void |
setGliding(boolean b) |
void |
setGravity(boolean gravity)
Whether gravity applies to the entity.
|
void |
setHeadPose(org.bukkit.util.EulerAngle pose) |
void |
setHealth(double health) |
void |
setHelmet(org.bukkit.inventory.ItemStack item) |
void |
setItemInHand(org.bukkit.inventory.ItemStack item) |
void |
setLeftArmPose(org.bukkit.util.EulerAngle pose) |
void |
setLeftLegPose(org.bukkit.util.EulerAngle pose) |
void |
setLeggings(org.bukkit.inventory.ItemStack item) |
void |
setMarker(boolean marker) |
void |
setRightArmPose(org.bukkit.util.EulerAngle pose) |
void |
setRightLegPose(org.bukkit.util.EulerAngle pose) |
void |
setSmall(boolean small) |
void |
setVisible(boolean visible) |
addPotionEffect, addPotionEffect, addPotionEffects, clearActivePotionEffects, getActiveItem, getActivePotionEffects, getAmbientDelay, getAmbientSound, getAttribute, getAttributeManager, getCanPickupItems, getDeathSound, getDeathTicks, getEquipmentMonitor, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getHeadYaw, getHealth, getHurtSound, getItemUseRemainingTime, getKiller, getLastDamage, getLastDamager, getLastTwoTargetBlocks, getLastTwoTargetBlocks, getLineOfSight, getMaxHealth, getMaximumAir, getMaximumNoDamageTicks, getMovement, getNoDamageTicks, getPlayerDamageTick, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getSoundPitch, getSoundVolume, getSpeed, getState, getTargetBlock, getTargetBlock, getTaskManager, getVelocityFromMovement, hasLineOfSight, hasPotionEffect, isArthropod, isFallFlying, isHandRaised, isUndead, isWithinSolidBlock, jump, launchProjectile, launchProjectile, launchProjectile, launchProjectile, playAnimation, pulsePhysics, removePotionEffect, resetMaxHealth, setCanPickupItems, setFallFlying, setHeadYaw, setKiller, setLastDamage, setLastDamager, setMaxHealth, setMaximumAir, setMaximumNoDamageTicks, setMovement, setNoDamageTicks, setOnGround, setPlayerDamageTick, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSpeed, setState, tryUseTotem, updatePotionEffectsMetadataaddAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, collide, createAfterSpawnMessage, damage, damage, damage, eject, equals, fromMobSpawner, getCardinalFacing, getChunk, getCustomName, getCustomTags, getDismountLocation, getEffectivePermissions, getEntityId, getFacing, getFallDistance, getFireTicks, getGravityAccel, getHeight, getLastDamageCause, getLeashedEntities, getLeashHolder, getLocation, getLocation, getMaxFireTicks, getMetadata, getMetadata, getMountLocation, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasDefaultLandingBehavior, hasFriction, hashCode, hasMetadata, hasMoved, hasPermission, hasPermission, hasRotated, intersects, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isLeashed, isOnGround, isOp, isPermissionSet, isPermissionSet, isRemoved, isSilent, isTeleported, isTouchingMaterial, isValid, isWithinDistance, isWithinDistance, leaveVehicle, playEffect, playEffectKnownAndSelf, recalculatePermissions, remove, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, setAirDrag, setApplyDragBeforeAccel, setBoundingBox, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFriction, setGlowing, setGravityAccel, setInvulnerable, setLastDamageCause, setLeashHolder, setLeashHolderUniqueId, setLiquidDrag, setMetadata, setOp, setPassenger, setPortalCooldown, setRawLocation, setRawLocation, setSilent, setSize, setTicksLived, setUniqueId, setVelocity, shouldSave, spigot, teleport, teleport, teleport, teleport, teleportToEnd, teleportToSpawn, toString, updateBoundingBoxclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddPotionEffect, addPotionEffect, addPotionEffects, getActiveItem, getActivePotionEffects, getCanPickupItems, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaisedTime, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, hasLineOfSight, hasPotionEffect, isHandRaised, isLeashed, playAnimation, removePotionEffect, setCanPickupItems, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelaydamage, damage, damage, getHealth, getMaxHealth, resetMaxHealth, setMaxHealthaddPassenger, addScoreboardTag, eject, fromMobSpawner, getChunk, getEntityId, getFallDistance, getFireTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getScoreboardTags, getServer, getTicksLived, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, isCustomNameVisible, isDead, isEmpty, isGlowing, isInsideVehicle, isInvulnerable, isOnGround, isSilent, isValid, leaveVehicle, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setGlowing, setInvulnerable, setLastDamageCause, setPassenger, setPortalCooldown, setSilent, setTicksLived, setVelocity, spigot, teleport, teleport, teleport, teleportgetMetadata, hasMetadata, removeMetadata, setMetadatagetName, sendMessage, sendMessage, sendMessage, sendMessagepublic GlowArmorStand(org.bukkit.Location location)
location - the location of the armor standpublic void reset()
GlowEntityreset in class GlowLivingEntitypublic void pulse()
GlowEntitypulse in class GlowLivingEntitypublic void damage(double amount,
org.bukkit.entity.Entity source,
org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
damage in interface org.bukkit.entity.Damageabledamage in class GlowLivingEntitypublic void setHealth(double health)
setHealth in interface org.bukkit.entity.DamageablesetHealth in class GlowLivingEntitypublic boolean entityInteract(GlowPlayer player, InteractEntityMessage msg)
entityInteract in class GlowLivingEntitypublic boolean canTakeDamage(org.bukkit.event.entity.EntityDamageEvent.DamageCause cause)
GlowLivingEntityUsually used to check environmental sources such as drowning.
canTakeDamage in class GlowLivingEntitycause - the damage source to checkpublic List<com.flowpowered.network.Message> createSpawnMessage()
GlowEntityMessages which can be sent to a client to spawn this entity.
Implementations in concrete subclasses may return a shallowly immutable list.createSpawnMessage in class GlowEntitypublic List<com.flowpowered.network.Message> createUpdateMessage(GlowSession session)
GlowEntityMessage which can be sent to a client to update this entity.createUpdateMessage in class GlowLivingEntitysession - Session to update this entity forpublic org.bukkit.entity.EntityType getType()
getType in interface org.bukkit.entity.EntitygetType in class GlowEntitypublic org.bukkit.inventory.ItemStack getItemInHand()
getItemInHand in interface org.bukkit.entity.ArmorStandpublic void setItemInHand(org.bukkit.inventory.ItemStack item)
setItemInHand in interface org.bukkit.entity.ArmorStandpublic org.bukkit.inventory.ItemStack getBoots()
getBoots in interface org.bukkit.entity.ArmorStandpublic void setBoots(org.bukkit.inventory.ItemStack item)
setBoots in interface org.bukkit.entity.ArmorStandpublic org.bukkit.inventory.ItemStack getLeggings()
getLeggings in interface org.bukkit.entity.ArmorStandpublic void setLeggings(org.bukkit.inventory.ItemStack item)
setLeggings in interface org.bukkit.entity.ArmorStandpublic org.bukkit.inventory.ItemStack getChestplate()
getChestplate in interface org.bukkit.entity.ArmorStandpublic void setChestplate(org.bukkit.inventory.ItemStack item)
setChestplate in interface org.bukkit.entity.ArmorStandpublic org.bukkit.inventory.ItemStack getHelmet()
getHelmet in interface org.bukkit.entity.ArmorStandpublic void setHelmet(org.bukkit.inventory.ItemStack item)
setHelmet in interface org.bukkit.entity.ArmorStandpublic org.bukkit.util.EulerAngle getHeadPose()
getHeadPose in interface org.bukkit.entity.ArmorStandpublic void setHeadPose(org.bukkit.util.EulerAngle pose)
setHeadPose in interface org.bukkit.entity.ArmorStandpublic org.bukkit.util.EulerAngle getBodyPose()
getBodyPose in interface org.bukkit.entity.ArmorStandpublic void setBodyPose(org.bukkit.util.EulerAngle pose)
setBodyPose in interface org.bukkit.entity.ArmorStandpublic org.bukkit.util.EulerAngle getLeftArmPose()
getLeftArmPose in interface org.bukkit.entity.ArmorStandpublic void setLeftArmPose(org.bukkit.util.EulerAngle pose)
setLeftArmPose in interface org.bukkit.entity.ArmorStandpublic org.bukkit.util.EulerAngle getRightArmPose()
getRightArmPose in interface org.bukkit.entity.ArmorStandpublic void setRightArmPose(org.bukkit.util.EulerAngle pose)
setRightArmPose in interface org.bukkit.entity.ArmorStandpublic org.bukkit.util.EulerAngle getLeftLegPose()
getLeftLegPose in interface org.bukkit.entity.ArmorStandpublic void setLeftLegPose(org.bukkit.util.EulerAngle pose)
setLeftLegPose in interface org.bukkit.entity.ArmorStandpublic org.bukkit.util.EulerAngle getRightLegPose()
getRightLegPose in interface org.bukkit.entity.ArmorStandpublic void setRightLegPose(org.bukkit.util.EulerAngle pose)
setRightLegPose in interface org.bukkit.entity.ArmorStandpublic boolean hasBasePlate()
hasBasePlate in interface org.bukkit.entity.ArmorStandpublic void setBasePlate(boolean basePlate)
setBasePlate in interface org.bukkit.entity.ArmorStandpublic boolean hasGravity()
hasGravity in interface org.bukkit.entity.EntityhasGravity in class GlowEntitypublic void setGravity(boolean gravity)
GlowEntitysetGravity in interface org.bukkit.entity.EntitysetGravity in class GlowEntitypublic boolean isVisible()
isVisible in interface org.bukkit.entity.ArmorStandpublic void setVisible(boolean visible)
setVisible in interface org.bukkit.entity.ArmorStandpublic boolean hasArms()
hasArms in interface org.bukkit.entity.ArmorStandpublic void setArms(boolean arms)
setArms in interface org.bukkit.entity.ArmorStandpublic boolean isSmall()
isSmall in interface org.bukkit.entity.ArmorStandpublic void setSmall(boolean small)
setSmall in interface org.bukkit.entity.ArmorStandpublic boolean isMarker()
isMarker in interface org.bukkit.entity.ArmorStandpublic void setMarker(boolean marker)
setMarker in interface org.bukkit.entity.ArmorStandpublic boolean canMove()
canMove in interface org.bukkit.entity.ArmorStandpublic void setCanMove(boolean move)
setCanMove in interface org.bukkit.entity.ArmorStandpublic boolean canTick()
canTick in interface org.bukkit.entity.ArmorStandpublic void setCanTick(boolean tick)
setCanTick in interface org.bukkit.entity.ArmorStandpublic boolean isGliding()
isGliding in interface org.bukkit.entity.LivingEntityisGliding in class GlowLivingEntitypublic void setGliding(boolean b)
setGliding in interface org.bukkit.entity.LivingEntitysetGliding in class GlowLivingEntitypublic void setAI(boolean b)
setAI in interface org.bukkit.entity.LivingEntitysetAI in class GlowLivingEntitypublic boolean hasAI()
hasAI in interface org.bukkit.entity.LivingEntityhasAI in class GlowLivingEntitypublic boolean isCollidable()
GlowLivingEntityisCollidable in interface org.bukkit.entity.LivingEntityisCollidable in class GlowLivingEntitypublic void setCollidable(boolean b)
GlowLivingEntitysetCollidable in interface org.bukkit.entity.LivingEntitysetCollidable in class GlowLivingEntitypublic int getArrowsStuck()
GlowLivingEntitygetArrowsStuck in interface org.bukkit.entity.LivingEntitygetArrowsStuck in class GlowLivingEntitypublic void setArrowsStuck(int i)
GlowLivingEntitysetArrowsStuck in interface org.bukkit.entity.LivingEntitysetArrowsStuck in class GlowLivingEntitypublic org.bukkit.inventory.EntityEquipment getEquipment()
getEquipment in interface org.bukkit.entity.LivingEntitygetEquipment in class GlowLivingEntityCopyright © 2021. All rights reserved.