net.minecraft.world.entity.decoration

public class ArmorStand

extends LivingEntity

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource

bgt
net.minecraft.world.entity.decoration.ArmorStand
net.minecraft.class_1531
net.minecraft.entity.decoration.ArmorStandEntity
net.minecraft.src.C_966_
net.minecraft.world.entity.decoration.EntityArmorStand

Field summary

Modifier and TypeField
public static final int
b
WOBBLE_TIME
field_30443
field_30443
f_149592_
private static final boolean
bO
ENABLE_ARMS
field_30445
field_30445
f_149595_
private static final Rotations
bP
DEFAULT_HEAD_POSE
field_7113
DEFAULT_HEAD_ROTATION
f_31529_
private static final Rotations
bQ
DEFAULT_BODY_POSE
field_7119
DEFAULT_BODY_ROTATION
f_31530_
private static final Rotations
bR
DEFAULT_LEFT_ARM_POSE
field_7124
DEFAULT_LEFT_ARM_ROTATION
f_31531_
private static final Rotations
bS
DEFAULT_RIGHT_ARM_POSE
field_7115
DEFAULT_RIGHT_ARM_ROTATION
f_31532_
private static final Rotations
bT
DEFAULT_LEFT_LEG_POSE
field_7121
DEFAULT_LEFT_LEG_ROTATION
f_31533_
private static final Rotations
bU
DEFAULT_RIGHT_LEG_POSE
field_7117
DEFAULT_RIGHT_LEG_ROTATION
f_31534_
private static final EntityDimensions
bV
MARKER_DIMENSIONS
field_26745
MARKER_DIMENSIONS
f_31535_
private static final EntityDimensions
bW
BABY_DIMENSIONS
field_26746
SMALL_DIMENSIONS
f_31536_
private static final double
bX
FEET_OFFSET
field_30447
field_30447
f_149596_
private static final double
bY
CHEST_OFFSET
field_30448
field_30448
f_149597_
private static final double
bZ
LEGS_OFFSET
field_30449
field_30449
f_149598_
private static final double
ca
HEAD_OFFSET
field_30450
field_30450
f_149600_
public static final int
c
DISABLE_TAKING_OFFSET
field_30446
field_30446
f_149599_
public static final int
d
DISABLE_PUTTING_OFFSET
field_30451
field_30451
f_149601_
public static final int
e
CLIENT_FLAG_SMALL
field_30452
SMALL_FLAG
f_149602_
public static final int
f
CLIENT_FLAG_SHOW_ARMS
field_30453
SHOW_ARMS_FLAG
f_149603_
public static final int
bE
CLIENT_FLAG_NO_BASEPLATE
field_30442
HIDE_BASE_PLATE_FLAG
f_149593_
public static final int
bF
CLIENT_FLAG_MARKER
field_30444
MARKER_FLAG
f_149594_
public static final EntityDataAccessor<Byte>
bG
DATA_CLIENT_FLAGS
field_7107
ARMOR_STAND_FLAGS
f_31524_
public static final EntityDataAccessor<Rotations>
bH
DATA_HEAD_POSE
field_7123
TRACKER_HEAD_ROTATION
f_31546_
public static final EntityDataAccessor<Rotations>
bI
DATA_BODY_POSE
field_7122
TRACKER_BODY_ROTATION
f_31547_
public static final EntityDataAccessor<Rotations>
bJ
DATA_LEFT_ARM_POSE
field_7116
TRACKER_LEFT_ARM_ROTATION
f_31548_
public static final EntityDataAccessor<Rotations>
bK
DATA_RIGHT_ARM_POSE
field_7105
TRACKER_RIGHT_ARM_ROTATION
f_31549_
public static final EntityDataAccessor<Rotations>
bL
DATA_LEFT_LEG_POSE
field_7127
TRACKER_LEFT_LEG_ROTATION
f_31550_
public static final EntityDataAccessor<Rotations>
bM
DATA_RIGHT_LEG_POSE
field_7125
TRACKER_RIGHT_LEG_ROTATION
f_31527_
private static final Predicate<Entity>
cb
RIDABLE_MINECARTS
field_7102
RIDEABLE_MINECART_PREDICATE
f_31537_
private final NonNullList<ItemStack>
cc
handItems
field_7114
heldItems
f_31538_
private final NonNullList<ItemStack>
cd
armorItems
field_7108
armorItems
f_31539_
private boolean
ce
invisible
field_7111
invisible
f_31540_
public long
bN
lastHit
field_7112
lastHitTime
f_31528_
private int
cf
disabledSlots
field_7118
disabledSlots
f_31541_
private Rotations
cg
headPose
field_7104
headRotation
f_31542_
private Rotations
ch
bodyPose
field_7106
bodyRotation
f_31543_
private Rotations
ci
leftArmPose
field_7126
leftArmRotation
f_31544_
private Rotations
cj
rightArmPose
field_7120
rightArmRotation
f_31545_
private Rotations
ck
leftLegPose
field_7110
leftLegRotation
f_31525_
private Rotations
cl
rightLegPose
field_7103
rightLegRotation
f_31526_

Constructor summary

ModifierConstructor
public (EntityType<? extends ArmorStand> p_31554_, Level arg1)
public (Level world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public void
x_()
refreshDimensions()
method_18382()
calculateDimensions()
m_6210_()
updateSize()
private boolean
D()
hasPhysics()
method_18059()
canClip()
m_31560_()
public boolean
eA()
isEffectiveAi()
method_6034()
canMoveVoluntarily()
m_6142_()
doAITick()
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
initDatawatcher()
public Iterable<ItemStack>
bw()
getHandSlots()
method_5877()
getItemsHand()
m_6167_()
public Iterable<ItemStack>
bx()
getArmorSlots()
method_5661()
getArmorItems()
m_6168_()
getArmorItems()
public ItemStack
b(atk arg0)
getItemBySlot(EquipmentSlot arg0)
method_6118(class_1304 arg0)
getEquippedStack(EquipmentSlot arg0)
m_6844_(C_516_ arg0)
getEquipment(EnumItemSlot arg0)
public void
a(atk arg0, bqp arg1)
setItemSlot(EquipmentSlot arg0, ItemStack arg1)
method_5673(class_1304 arg0, class_1799 arg1)
equipStack(EquipmentSlot arg0, ItemStack arg1)
m_8061_(C_516_ p_31585_, C_1391_ arg1)
setSlot(EnumItemSlot arg0, ItemStack arg1)
public boolean
g(bqp arg0)
canTakeItem(ItemStack arg0)
method_18397(class_1799 arg0)
canEquip(ItemStack arg0)
m_7066_(C_1391_ arg0)
public void
b(na arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
saveData(NBTTagCompound arg0)
public void
a(na arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
loadData(NBTTagCompound arg0)
private void
c(na arg0)
readPose(CompoundTag arg0)
method_6928(class_2487 arg0)
readPoseNbt(NbtCompound nbt)
m_31657_(C_4917_ arg0)
private CompoundTag
F()
writePose()
method_6911()
poseToNbt()
m_31561_()
public boolean
bd()
isPushable()
method_5810()
isPushable()
m_6094_()
isCollidable()
protected void
A(atf arg0)
doPush(Entity arg0)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
m_7324_(C_507_ arg0)
protected void
ey()
pushEntities()
method_6070()
tickCramming()
m_6138_()
collideNearby()
public InteractionResult
a(bkd arg0, dna arg1, arz arg2)
interactAt(Player arg0, Vec3 arg1, InteractionHand arg2)
method_5664(class_1657 arg0, class_243 arg1, class_1268 arg2)
interactAt(PlayerEntity arg0, Vec3d arg1, Hand arg2)
m_7111_(C_1141_ p_31595_, C_3046_ p_31596_, C_470_ arg2)
private EquipmentSlot
i(dna arg0)
getClickedSlot(Vec3 arg0)
method_6916(class_243 arg0)
slotFromPosition(Vec3d hitPos)
m_31659_(C_3046_ arg0)
private boolean
d(atk arg0)
isDisabled(EquipmentSlot arg0)
method_6915(class_1304 arg0)
isSlotDisabled(EquipmentSlot slot)
m_31626_(C_516_ arg0)
private boolean
a(bkd arg0, atk arg1, bqp arg2, arz arg3)
swapItem(Player arg0, EquipmentSlot arg1, ItemStack arg2, InteractionHand arg3)
method_6904(class_1657 arg0, class_1304 arg1, class_1799 arg2, class_1268 arg3)
equip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand)
m_31588_(C_1141_ p_31590_, C_516_ p_31591_, C_1391_ p_31592_, C_470_ arg3)
public boolean
a(asp arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_31580_, float arg1)
damageEntity(DamageSource arg0, float arg1)
public void
a(byte arg0)
handleEntityEvent(byte arg0)
method_5711(byte arg0)
handleStatus(byte arg0)
m_7822_(byte arg0)
public boolean
a(double arg0)
shouldRenderAtSqrDistance(double arg0)
method_5640(double arg0)
shouldRender(double arg0)
m_6783_(double arg0)
private void
G()
showBreakingParticles()
method_6898()
spawnBreakParticles()
m_31565_()
private void
g(asp arg0, float arg1)
causeDamage(DamageSource arg0, float arg1)
method_6905(class_1282 arg0, float arg1)
updateHealth(DamageSource damageSource, float amount)
m_31648_(C_489_ p_31650_, float arg1)
private void
g(asp arg0)
brokenByPlayer(DamageSource arg0)
method_6924(class_1282 arg0)
breakAndDropItem(DamageSource damageSource)
m_31646_(C_489_ arg0)
private void
h(asp arg0)
brokenByAnything(DamageSource arg0)
method_6908(class_1282 arg0)
onBreak(DamageSource damageSource)
m_31653_(C_489_ arg0)
private void
H()
playBrokenSound()
method_6920()
playBreakSound()
m_31566_()
protected float
e(float arg0, float arg1)
tickHeadTurn(float arg0, float arg1)
method_6031(float arg0, float arg1)
turnHead(float arg0, float arg1)
m_5632_(float p_31645_, float arg1)
protected float
b(auf arg0, atg arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_31615_, C_510_ arg1)
public double
bk()
getMyRidingOffset()
method_5678()
getHeightOffset()
m_6049_()
public void
g(dna arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public void
m(float arg0)
setYBodyRot(float arg0)
method_5636(float arg0)
setBodyYaw(float arg0)
m_5618_(float arg0)
public void
l(float arg0)
setYHeadRot(float arg0)
method_5847(float arg0)
setHeadYaw(float arg0)
m_5616_(float arg0)
setHeadRotation(float arg0)
public void
k()
tick()
method_5773()
tick()
m_8119_()
tick()
protected void
C()
updateInvisibilityStatus()
method_6027()
updatePotionVisibility()
m_8034_()
public void
j(boolean arg0)
setInvisible(boolean arg0)
method_5648(boolean arg0)
setInvisible(boolean arg0)
m_6842_(boolean arg0)
setInvisible(boolean arg0)
public boolean
w_()
isBaby()
method_6109()
isBaby()
m_6162_()
isBaby()
public void
ab()
kill()
method_5768()
kill()
m_6074_()
killEntity()
public boolean
cx()
ignoreExplosion()
method_5659()
isImmuneToExplosion()
m_6128_()
public PushReaction
y_()
getPistonPushReaction()
method_5657()
getPistonBehavior()
m_7752_()
getPushReaction()
private void
a(boolean arg0)
setSmall(boolean arg0)
method_6922(boolean arg0)
setSmall(boolean small)
m_31603_(boolean arg0)
setSmall(boolean arg0)
public boolean
n()
isSmall()
method_6914()
isSmall()
m_31666_()
isSmall()
private void
r(boolean arg0)
setShowArms(boolean arg0)
method_6913(boolean arg0)
setShowArms(boolean showArms)
m_31675_(boolean arg0)
setArms(boolean arg0)
public boolean
p()
isShowArms()
method_6929()
shouldShowArms()
m_31671_()
hasArms()
private void
s(boolean arg0)
setNoBasePlate(boolean arg0)
method_6907(boolean arg0)
setHideBasePlate(boolean hideBasePlate)
m_31678_(boolean arg0)
setBasePlate(boolean arg0)
public boolean
q()
isNoBasePlate()
method_6901()
shouldHideBasePlate()
m_31674_()
hasBasePlate()
private void
t(boolean arg0)
setMarker(boolean arg0)
method_6902(boolean arg0)
setMarker(boolean marker)
m_31681_(boolean arg0)
setMarker(boolean arg0)
public boolean
t()
isMarker()
method_6912()
isMarker()
m_31677_()
isMarker()
private byte
a(byte arg0, int arg1, boolean arg2)
setBit(byte arg0, int arg1, boolean arg2)
method_6906(byte arg0, int arg1, boolean arg2)
setBitField(byte value, int bitField, boolean set)
m_31569_(byte p_31571_, int p_31572_, boolean arg2)
public void
a(gy arg0)
setHeadPose(Rotations arg0)
method_6919(class_2379 arg0)
setHeadRotation(EulerAngle angle)
m_31597_(C_4709_ arg0)
setHeadPose(Vector3f arg0)
public void
b(gy arg0)
setBodyPose(Rotations arg0)
method_6927(class_2379 arg0)
setBodyRotation(EulerAngle angle)
m_31616_(C_4709_ arg0)
setBodyPose(Vector3f arg0)
public void
c(gy arg0)
setLeftArmPose(Rotations arg0)
method_6910(class_2379 arg0)
setLeftArmRotation(EulerAngle angle)
m_31623_(C_4709_ arg0)
setLeftArmPose(Vector3f arg0)
public void
d(gy arg0)
setRightArmPose(Rotations arg0)
method_6925(class_2379 arg0)
setRightArmRotation(EulerAngle angle)
m_31628_(C_4709_ arg0)
setRightArmPose(Vector3f arg0)
public void
e(gy arg0)
setLeftLegPose(Rotations arg0)
method_6909(class_2379 arg0)
setLeftLegRotation(EulerAngle angle)
m_31639_(C_4709_ arg0)
setLeftLegPose(Vector3f arg0)
public void
f(gy arg0)
setRightLegPose(Rotations arg0)
method_6926(class_2379 arg0)
setRightLegRotation(EulerAngle angle)
m_31651_(C_4709_ arg0)
setRightLegPose(Vector3f arg0)
public Rotations
v()
getHeadPose()
method_6921()
getHeadRotation()
m_31680_()
public Rotations
w()
getBodyPose()
method_6923()
getBodyRotation()
m_31685_()
public Rotations
x()
getLeftArmPose()
method_6930()
getLeftArmRotation()
m_31688_()
public Rotations
z()
getRightArmPose()
method_6903()
getRightArmRotation()
m_31689_()
public Rotations
A()
getLeftLegPose()
method_6917()
getLeftLegRotation()
m_31691_()
public Rotations
B()
getRightLegPose()
method_6900()
getRightLegRotation()
m_31694_()
public boolean
bc()
isPickable()
method_5863()
collides()
m_6087_()
isInteractable()
public boolean
r(atf arg0)
skipAttackInteraction(Entity arg0)
method_5698(class_1297 arg0)
handleAttack(Entity arg0)
m_7313_(C_507_ arg0)
public HumanoidArm
eD()
getMainArm()
method_6068()
getMainArm()
m_5737_()
getMainHand()
protected SoundEvent
p(int arg0)
getFallDamageSound(int arg0)
method_6041(int arg0)
getFallSound(int arg0)
m_5896_(int arg0)
getSoundFall(int arg0)
protected SoundEvent
c(asp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
getSoundHurt(DamageSource arg0)
protected SoundEvent
v_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
getSoundDeath()
public void
a(abr arg0, ats arg1)
thunderHit(ServerLevel arg0, LightningBolt arg1)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
m_8038_(C_12_ p_31577_, C_523_ arg1)
onLightningStrike(WorldServer arg0, EntityLightning arg1)
public boolean
eP()
isAffectedByPotions()
method_6086()
isAffectedBySplashPotions()
m_5801_()
public void
a(wf<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public boolean
eQ()
attackable()
method_6102()
isMobOrPlayer()
m_5789_()
public EntityDimensions
a(auf arg0)
getDimensions(Pose arg0)
method_18377(class_4050 arg0)
getDimensions(EntityPose arg0)
m_6972_(C_535_ arg0)
private EntityDimensions
u(boolean arg0)
getDimensionsMarker(boolean arg0)
method_31168(boolean arg0)
getDimensions(boolean marker)
m_31683_(boolean arg0)
public Vec3
j(float arg0)
getLightProbePosition(float arg0)
method_31166(float arg0)
getClientCameraPosVec(float arg0)
m_7371_(float arg0)
public ItemStack
df()
getPickResult()
method_31480()
getPickBlockStack()
m_142340_()
public boolean
dO()
canBeSeenByAnyone()
method_36608()
isPartOfGame()
m_142065_()