Interface ArmorStandMeta
- All Superinterfaces:
Cloneable, ConfigurationSerializable, ItemMeta, PersistentDataHolder, PersistentDataViewHolder
Represents the meta of an armor stand item, which controls the armor stand that is spawned from it.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether this ArmorStand should have no base plate when spawned.booleanGets whether the ArmorStand should be invisible when spawned.booleanisMarker()Gets whether this ArmorStand will be a marker when spawned.booleanisSmall()Gets whether this ArmorStand will be small when spawned.voidsetInvisible(boolean invisible) Sets that this ArmorStand should be invisible when spawned.voidsetMarker(boolean marker) Sets that this ArmorStand should be a marker when spawned.voidsetNoBasePlate(boolean noBasePlate) Sets that this ArmorStand should have no base plate when spawned.voidsetShowArms(boolean showArms) Sets that this ArmorStand should show arms when spawned.voidsetSmall(boolean small) Sets that this ArmorStand should be small when spawned.booleanGets whether this ArmorStand should show arms when spawned.Methods inherited from interface ConfigurationSerializable
serializeMethods inherited from interface ItemMeta
addAttributeModifier, addEnchant, addItemFlags, clone, customName, customName, displayName, displayName, getAsComponentString, getAsString, getAttributeModifiers, getAttributeModifiers, getAttributeModifiers, getCanDestroy, getCanPlaceOn, getCustomModelData, getCustomModelDataComponent, getCustomTagContainer, getDamageResistant, getDamageResistantTypes, getDestroyableKeys, getDisplayName, getDisplayNameComponent, getEnchantable, getEnchantLevel, getEnchantmentGlintOverride, getEnchants, getEquippable, getFood, getItemFlags, getItemModel, getItemName, getJukeboxPlayable, getLocalizedName, getLore, getLoreComponents, getMaxStackSize, getPlaceableKeys, getRarity, getTool, getTooltipStyle, getUseCooldown, getUseRemainder, hasAttributeModifiers, hasConflictingEnchant, hasCustomModelData, hasCustomModelDataComponent, hasCustomName, hasDamageResistant, hasDestroyableKeys, hasDisplayName, hasEnchant, hasEnchantable, hasEnchantmentGlintOverride, hasEnchants, hasEquippable, hasFood, hasItemFlag, hasItemModel, hasItemName, hasJukeboxPlayable, hasLocalizedName, hasLore, hasMaxStackSize, hasPlaceableKeys, hasRarity, hasTool, hasTooltipStyle, hasUseCooldown, hasUseRemainder, isFireResistant, isGlider, isHideTooltip, isUnbreakable, itemName, itemName, lore, lore, removeAttributeModifier, removeAttributeModifier, removeAttributeModifier, removeEnchant, removeEnchantments, removeItemFlags, setAttributeModifiers, setCanDestroy, setCanPlaceOn, setCustomModelData, setCustomModelDataComponent, setDamageResistant, setDamageResistantTypes, setDestroyableKeys, setDisplayName, setDisplayNameComponent, setEnchantable, setEnchantmentGlintOverride, setEquippable, setFireResistant, setFood, setGlider, setHideTooltip, setItemModel, setItemName, setJukeboxPlayable, setLocalizedName, setLore, setLoreComponents, setMaxStackSize, setPlaceableKeys, setRarity, setTool, setTooltipStyle, setUnbreakable, setUseCooldown, setUseRemainder, setVersionMethods inherited from interface PersistentDataHolder
getPersistentDataContainer
-
Method Details
-
isInvisible
boolean isInvisible()Gets whether the ArmorStand should be invisible when spawned.- Returns:
- true if this should be invisible
-
hasNoBasePlate
boolean hasNoBasePlate()Gets whether this ArmorStand should have no base plate when spawned.- Returns:
- true if it will not have a base plate
-
shouldShowArms
boolean shouldShowArms()Gets whether this ArmorStand should show arms when spawned.- Returns:
- true if it will show arms
-
isSmall
boolean isSmall()Gets whether this ArmorStand will be small when spawned.- Returns:
- true if it will be small
-
isMarker
boolean isMarker()Gets whether this ArmorStand will be a marker when spawned. The exact details of this flag are an implementation detail.- Returns:
- true if it will be a marker
-
setInvisible
void setInvisible(boolean invisible) Sets that this ArmorStand should be invisible when spawned.- Parameters:
invisible- true if set invisible
-
setNoBasePlate
void setNoBasePlate(boolean noBasePlate) Sets that this ArmorStand should have no base plate when spawned.- Parameters:
noBasePlate- true if no base plate
-
setShowArms
void setShowArms(boolean showArms) Sets that this ArmorStand should show arms when spawned.- Parameters:
showArms- true if show arms
-
setSmall
void setSmall(boolean small) Sets that this ArmorStand should be small when spawned.- Parameters:
small- true if small
-
setMarker
void setMarker(boolean marker) Sets that this ArmorStand should be a marker when spawned. The exact details of this flag are an implementation detail.- Parameters:
marker- true if a marker
-