Package be.seeseemelk.mockbukkit.entity
Class ArmorStandMock
java.lang.Object
org.bukkit.command.CommandSender.Spigot
org.bukkit.entity.Entity.Spigot
be.seeseemelk.mockbukkit.entity.EntityMock
be.seeseemelk.mockbukkit.entity.LivingEntityMock
be.seeseemelk.mockbukkit.entity.ArmorStandMock
- All Implemented Interfaces:
MessageTarget,net.kyori.adventure.audience.Audience,net.kyori.adventure.pointer.Pointered,net.kyori.adventure.sound.Sound.Emitter,net.kyori.adventure.text.event.HoverEventSource<net.kyori.adventure.text.event.HoverEvent.ShowEntity>,Attributable,CommandSender,ArmorStand,Damageable,Entity,LivingEntity,Metadatable,Nameable,Permissible,ServerOperator,PersistentDataHolder,ProjectileSource
This is the mock of an
ArmorStand.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.entity.ArmorStand
ArmorStand.LockTypeNested classes/interfaces inherited from interface org.bukkit.entity.Entity
Entity.Spigot -
Field Summary
Fields inherited from class be.seeseemelk.mockbukkit.entity.LivingEntityMock
alive, attributes, health -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDisabledSlots(@NotNull EquipmentSlot... slots) voidaddEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) booleancanMove()booleancanTick()@NotNull EulerAngle@NotNull ItemStackgetBoots()Deprecated.@NotNull ItemStackDeprecated.@NotNull Set<EquipmentSlot>@NotNull EulerAngle@NotNull ItemStackDeprecated.@NotNull ItemStackgetItem(@NotNull EquipmentSlot slot) @NotNull ItemStackDeprecated.@NotNull EulerAngle@NotNull EulerAngle@NotNull ItemStackDeprecated.@NotNull EulerAngle@NotNull EulerAngle@NotNull EntityTypegetType()booleanhasArms()booleanbooleanhasEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) booleanisMarker()booleanisSlotDisabled(@NotNull EquipmentSlot slot) booleanisSmall()booleanvoidremoveDisabledSlots(@NotNull EquipmentSlot... slots) voidremoveEquipmentLock(@NotNull EquipmentSlot slot, @NotNull ArmorStand.LockType lockType) voidsetArms(boolean arms) voidsetBasePlate(boolean basePlate) voidsetBodyPose(@NotNull EulerAngle pose) voidDeprecated.voidsetCanMove(boolean move) voidsetCanTick(boolean tick) voidsetChestplate(@Nullable ItemStack item) Deprecated.voidsetDisabledSlots(@NotNull EquipmentSlot... slots) voidsetHeadPose(@NotNull EulerAngle pose) voidDeprecated.voidsetItem(@NotNull EquipmentSlot slot, @Nullable ItemStack item) voidsetItemInHand(@Nullable ItemStack item) Deprecated.voidsetLeftArmPose(@NotNull EulerAngle pose) voidsetLeftLegPose(@NotNull EulerAngle pose) voidsetLeggings(@Nullable ItemStack item) Deprecated.voidsetMarker(boolean marker) voidsetRightArmPose(@NotNull EulerAngle pose) voidsetRightLegPose(@NotNull EulerAngle pose) voidsetSmall(boolean small) voidsetVisible(boolean visible) Methods inherited from class be.seeseemelk.mockbukkit.entity.LivingEntityMock
addPotionEffect, addPotionEffect, addPotionEffects, attack, clearActiveItem, damage, damage, getAbsorptionAmount, getActiveItem, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getAttribute, getBeeStingerCooldown, getBeeStingersInBody, getCanPickupItems, getCategory, getCollidableExemptions, getEquipment, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaised, getHandRaisedTime, getHealth, getHurtDirection, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaxHealth, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockInfo, getTargetEntity, getTargetEntityInfo, hasAI, hasLineOfSight, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isDead, isGliding, isHandRaised, isInvisible, isJumping, isLeashed, isRiptiding, isSleeping, isSwimming, isValid, launchProjectile, launchProjectile, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, registerAttribute, remove, removePotionEffect, resetMaxHealth, setAbsorptionAmount, setAI, setArrowCooldown, setArrowsInBody, setArrowsStuck, setBeeStingerCooldown, setBeeStingersInBody, setCanPickupItems, setCollidable, setGliding, setHealth, setHurtDirection, setInvisible, setJumping, setKiller, setLastDamage, setLeashHolder, setMaxHealth, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimming, swingMainHand, swingOffHand, teleportMethods inherited from class be.seeseemelk.mockbukkit.entity.EntityMock
addAttachment, addAttachment, addAttachment, addAttachment, addPassenger, addScoreboardTag, asHoverEvent, assertLocation, assertNotTeleported, assertTeleported, clearTeleported, collidesAt, customName, customName, eject, equals, fromMobSpawner, getBoundingBox, getChunk, getCustomName, getEffectivePermissions, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getMetadata, getName, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPersistentDataContainer, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardEntry, getScoreboardTags, getServer, getSpawnCategory, getTeleportCause, getTicksLived, getTrackedPlayers, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, hashCode, hasMetadata, hasPassengers, hasPermission, hasPermission, hasTeleported, isCustomNameVisible, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isOnGround, isOp, isPermissionSet, isPermissionSet, isPersistent, isSilent, isTicking, isVisualFire, leaveVehicle, lockFreezeTicks, name, nextComponentMessage, playEffect, recalculatePermissions, removeAttachment, removeMetadata, removePassenger, removeScoreboardTag, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, setCustomName, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setLocation, setMetadata, setName, setOp, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleportWithoutEvent, wouldCollideUsingMethods inherited from class org.bukkit.command.CommandSender.Spigot
sendMessage, sendMessage, sendMessage, sendMessageMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bukkit.entity.ArmorStand
getEquipmentMethods inherited from interface org.bukkit.attribute.Attributable
getAttribute, registerAttributeMethods inherited from interface net.kyori.adventure.audience.Audience
clearTitle, filterAudience, forEachAudience, hideBossBar, openBook, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, showTitle, stopSound, stopSoundMethods inherited from interface org.bukkit.command.CommandSender
getName, name, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlainMessage, sendRichMessageMethods inherited from interface org.bukkit.entity.Damageable
damage, damage, getAbsorptionAmount, getHealth, getMaxHealth, resetMaxHealth, setAbsorptionAmount, setHealth, setMaxHealthMethods inherited from interface org.bukkit.entity.Entity
addPassenger, addScoreboardTag, asHoverEvent, collidesAt, eject, fromMobSpawner, getBoundingBox, getChunk, getEntityId, getEntitySpawnReason, getFacing, getFallDistance, getFireTicks, getFreezeTicks, getHeight, getLastDamageCause, getLocation, getLocation, getMaxFireTicks, getMaxFreezeTicks, getNearbyEntities, getOrigin, getPassenger, getPassengers, getPistonMoveReaction, getPortalCooldown, getPose, getScoreboardTags, getServer, getSpawnCategory, getTicksLived, getTrackedPlayers, getUniqueId, getVehicle, getVelocity, getWidth, getWorld, hasGravity, isCustomNameVisible, isDead, isEmpty, isFreezeTickingLocked, isFrozen, isGlowing, isInBubbleColumn, isInLava, isInPowderedSnow, isInRain, isInsideVehicle, isInvulnerable, isInWater, isInWaterOrBubbleColumn, isInWaterOrRain, isInWaterOrRainOrBubbleColumn, isOnGround, isPersistent, isSilent, isTicking, isValid, isVisualFire, leaveVehicle, lockFreezeTicks, playEffect, remove, removePassenger, removeScoreboardTag, setCustomNameVisible, setFallDistance, setFireTicks, setFreezeTicks, setGlowing, setGravity, setInvulnerable, setLastDamageCause, setPassenger, setPersistent, setPortalCooldown, setRotation, setSilent, setTicksLived, setVelocity, setVisualFire, spawnAt, spawnAt, spigot, teamDisplayName, teleport, teleport, teleport, teleport, teleport, teleport, teleport, teleport, teleportAsync, teleportAsync, wouldCollideUsingMethods inherited from interface net.kyori.adventure.text.event.HoverEventSource
asHoverEventMethods inherited from interface org.bukkit.entity.LivingEntity
addPotionEffect, addPotionEffect, addPotionEffects, attack, clearActiveItem, getActiveItem, getActivePotionEffects, getArrowCooldown, getArrowsInBody, getArrowsStuck, getBeeStingerCooldown, getBeeStingersInBody, getCanPickupItems, getCategory, getCollidableExemptions, getEyeHeight, getEyeHeight, getEyeLocation, getHandRaised, getHandRaisedTime, getHurtDirection, getItemUseRemainingTime, getKiller, getLastDamage, getLastTwoTargetBlocks, getLeashHolder, getLineOfSight, getMaximumAir, getMaximumNoDamageTicks, getMemory, getNoDamageTicks, getPotionEffect, getRemainingAir, getRemoveWhenFarAway, getShieldBlockingDelay, getTargetBlock, getTargetBlock, getTargetBlock, getTargetBlockExact, getTargetBlockExact, getTargetBlockFace, getTargetBlockFace, getTargetBlockInfo, getTargetBlockInfo, getTargetEntity, getTargetEntity, getTargetEntityInfo, getTargetEntityInfo, hasAI, hasLineOfSight, hasLineOfSight, hasPotionEffect, isClimbing, isCollidable, isGliding, isHandRaised, isInvisible, isJumping, isLeashed, isRiptiding, isSleeping, isSwimming, playPickupItemAnimation, playPickupItemAnimation, rayTraceBlocks, rayTraceBlocks, removePotionEffect, setAI, setArrowCooldown, setArrowsInBody, setArrowsStuck, setBeeStingerCooldown, setBeeStingersInBody, setCanPickupItems, setCollidable, setGliding, setHurtDirection, setInvisible, setJumping, setKiller, setLastDamage, setLeashHolder, setMaximumAir, setMaximumNoDamageTicks, setMemory, setNoDamageTicks, setRemainingAir, setRemoveWhenFarAway, setShieldBlockingDelay, setSwimming, swingMainHand, swingOffHandMethods inherited from interface be.seeseemelk.mockbukkit.command.MessageTarget
assertNoMoreSaid, assertSaid, assertSaid, nextMessageMethods inherited from interface org.bukkit.metadata.Metadatable
getMetadata, hasMetadata, removeMetadata, setMetadataMethods inherited from interface org.bukkit.Nameable
customName, customName, getCustomName, setCustomNameMethods inherited from interface org.bukkit.permissions.Permissible
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, hasPermission, hasPermission, isPermissionSet, isPermissionSet, permissionValue, permissionValue, recalculatePermissions, removeAttachmentMethods inherited from interface org.bukkit.persistence.PersistentDataHolder
getPersistentDataContainerMethods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom, pointersMethods inherited from interface org.bukkit.projectiles.ProjectileSource
launchProjectile, launchProjectileMethods inherited from interface org.bukkit.permissions.ServerOperator
isOp, setOp
-
Constructor Details
-
ArmorStandMock
-
-
Method Details
-
getType
- Specified by:
getTypein interfaceEntity- Overrides:
getTypein classEntityMock
-
getBoots
Deprecated.- Specified by:
getBootsin interfaceArmorStand
-
setBoots
Deprecated.- Specified by:
setBootsin interfaceArmorStand
-
getLeggings
Deprecated.- Specified by:
getLeggingsin interfaceArmorStand
-
setLeggings
Deprecated.- Specified by:
setLeggingsin interfaceArmorStand
-
getChestplate
Deprecated.- Specified by:
getChestplatein interfaceArmorStand
-
setChestplate
Deprecated.- Specified by:
setChestplatein interfaceArmorStand
-
getHelmet
Deprecated.- Specified by:
getHelmetin interfaceArmorStand
-
setHelmet
Deprecated.- Specified by:
setHelmetin interfaceArmorStand
-
getItemInHand
Deprecated.- Specified by:
getItemInHandin interfaceArmorStand
-
setItemInHand
Deprecated.- Specified by:
setItemInHandin interfaceArmorStand
-
getBodyPose
- Specified by:
getBodyPosein interfaceArmorStand
-
setBodyPose
- Specified by:
setBodyPosein interfaceArmorStand
-
getLeftArmPose
- Specified by:
getLeftArmPosein interfaceArmorStand
-
setLeftArmPose
- Specified by:
setLeftArmPosein interfaceArmorStand
-
getRightArmPose
- Specified by:
getRightArmPosein interfaceArmorStand
-
setRightArmPose
- Specified by:
setRightArmPosein interfaceArmorStand
-
getLeftLegPose
- Specified by:
getLeftLegPosein interfaceArmorStand
-
setLeftLegPose
- Specified by:
setLeftLegPosein interfaceArmorStand
-
getRightLegPose
- Specified by:
getRightLegPosein interfaceArmorStand
-
setRightLegPose
- Specified by:
setRightLegPosein interfaceArmorStand
-
getHeadPose
- Specified by:
getHeadPosein interfaceArmorStand
-
setHeadPose
- Specified by:
setHeadPosein interfaceArmorStand
-
hasBasePlate
public boolean hasBasePlate()- Specified by:
hasBasePlatein interfaceArmorStand
-
setBasePlate
public void setBasePlate(boolean basePlate) - Specified by:
setBasePlatein interfaceArmorStand
-
isVisible
public boolean isVisible()- Specified by:
isVisiblein interfaceArmorStand
-
setVisible
public void setVisible(boolean visible) - Specified by:
setVisiblein interfaceArmorStand
-
hasArms
public boolean hasArms()- Specified by:
hasArmsin interfaceArmorStand
-
setArms
public void setArms(boolean arms) - Specified by:
setArmsin interfaceArmorStand
-
isSmall
public boolean isSmall()- Specified by:
isSmallin interfaceArmorStand
-
setSmall
public void setSmall(boolean small) - Specified by:
setSmallin interfaceArmorStand
-
isMarker
public boolean isMarker()- Specified by:
isMarkerin interfaceArmorStand
-
setMarker
public void setMarker(boolean marker) - Specified by:
setMarkerin interfaceArmorStand
-
addEquipmentLock
public void addEquipmentLock(@NotNull @NotNull EquipmentSlot slot, @NotNull @NotNull ArmorStand.LockType lockType) - Specified by:
addEquipmentLockin interfaceArmorStand
-
removeEquipmentLock
public void removeEquipmentLock(@NotNull @NotNull EquipmentSlot slot, @NotNull @NotNull ArmorStand.LockType lockType) - Specified by:
removeEquipmentLockin interfaceArmorStand
-
hasEquipmentLock
public boolean hasEquipmentLock(@NotNull @NotNull EquipmentSlot slot, @NotNull @NotNull ArmorStand.LockType lockType) - Specified by:
hasEquipmentLockin interfaceArmorStand
-
canMove
public boolean canMove()- Specified by:
canMovein interfaceArmorStand
-
setCanMove
public void setCanMove(boolean move) - Specified by:
setCanMovein interfaceArmorStand
-
canTick
public boolean canTick()- Specified by:
canTickin interfaceArmorStand
-
setCanTick
public void setCanTick(boolean tick) - Specified by:
setCanTickin interfaceArmorStand
-
getItem
- Specified by:
getItemin interfaceArmorStand
-
setItem
- Specified by:
setItemin interfaceArmorStand
-
getDisabledSlots
- Specified by:
getDisabledSlotsin interfaceArmorStand
-
setDisabledSlots
- Specified by:
setDisabledSlotsin interfaceArmorStand
-
addDisabledSlots
- Specified by:
addDisabledSlotsin interfaceArmorStand
-
removeDisabledSlots
- Specified by:
removeDisabledSlotsin interfaceArmorStand
-
isSlotDisabled
- Specified by:
isSlotDisabledin interfaceArmorStand
-