net.minecraft.entity.decoration

public class ArmorStandEntity

extends LivingEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint

net.minecraft.world.entity.decoration.ArmorStand
net.minecraft.class_1531
net.minecraft.entity.decoration.ArmorStandEntity

Field summary

Modifier and TypeField
public static final int
WOBBLE_TIME
field_30443
field_30443
private static final boolean
ENABLE_ARMS
field_30445
field_30445
public static final EulerAngle
DEFAULT_HEAD_POSE
field_7113
DEFAULT_HEAD_ROTATION
public static final EulerAngle
DEFAULT_BODY_POSE
field_7119
DEFAULT_BODY_ROTATION
public static final EulerAngle
DEFAULT_LEFT_ARM_POSE
field_7124
DEFAULT_LEFT_ARM_ROTATION
public static final EulerAngle
DEFAULT_RIGHT_ARM_POSE
field_7115
DEFAULT_RIGHT_ARM_ROTATION
public static final EulerAngle
DEFAULT_LEFT_LEG_POSE
field_7121
DEFAULT_LEFT_LEG_ROTATION
public static final EulerAngle
DEFAULT_RIGHT_LEG_POSE
field_7117
DEFAULT_RIGHT_LEG_ROTATION
private static final EntityDimensions
MARKER_DIMENSIONS
field_26745
MARKER_DIMENSIONS
private static final EntityDimensions
BABY_DIMENSIONS
field_26746
SMALL_DIMENSIONS
private static final double
FEET_OFFSET
field_30447
field_30447
private static final double
CHEST_OFFSET
field_30448
field_30448
private static final double
LEGS_OFFSET
field_30449
field_30449
private static final double
HEAD_OFFSET
field_30450
field_30450
public static final int
DISABLE_TAKING_OFFSET
field_30446
field_30446
public static final int
DISABLE_PUTTING_OFFSET
field_30451
field_30451
public static final int
CLIENT_FLAG_SMALL
field_30452
SMALL_FLAG
public static final int
CLIENT_FLAG_SHOW_ARMS
field_30453
SHOW_ARMS_FLAG
public static final int
CLIENT_FLAG_NO_BASEPLATE
field_30442
HIDE_BASE_PLATE_FLAG
public static final int
CLIENT_FLAG_MARKER
field_30444
MARKER_FLAG
public static final TrackedData<Byte>
DATA_CLIENT_FLAGS
field_7107
ARMOR_STAND_FLAGS
public static final TrackedData<EulerAngle>
DATA_HEAD_POSE
field_7123
TRACKER_HEAD_ROTATION
public static final TrackedData<EulerAngle>
DATA_BODY_POSE
field_7122
TRACKER_BODY_ROTATION
public static final TrackedData<EulerAngle>
DATA_LEFT_ARM_POSE
field_7116
TRACKER_LEFT_ARM_ROTATION
public static final TrackedData<EulerAngle>
DATA_RIGHT_ARM_POSE
field_7105
TRACKER_RIGHT_ARM_ROTATION
public static final TrackedData<EulerAngle>
DATA_LEFT_LEG_POSE
field_7127
TRACKER_LEFT_LEG_ROTATION
public static final TrackedData<EulerAngle>
DATA_RIGHT_LEG_POSE
field_7125
TRACKER_RIGHT_LEG_ROTATION
private static final Predicate<Entity>
RIDABLE_MINECARTS
field_7102
RIDEABLE_MINECART_PREDICATE
private static final boolean
DEFAULT_INVISIBLE
field_57644
field_57644
private static final int
DEFAULT_DISABLED_SLOTS
field_57645
DEFAULT_DISABLED_SLOTS
private static final boolean
DEFAULT_SMALL
field_57646
field_57646
private static final boolean
DEFAULT_SHOW_ARMS
field_57647
field_57647
private static final boolean
DEFAULT_NO_BASE_PLATE
field_57648
field_57648
private static final boolean
DEFAULT_MARKER
field_57649
field_57649
private boolean
invisible
field_7111
invisible
public long
lastHit
field_7112
lastHitTime
private int
disabledSlots
field_7118
disabledSlots

Constructor summary

ModifierConstructor
public (EntityType<? extends ArmorStandEntity> type, World level)
public (World world, double x, double y, double z)

Method summary

Modifier and TypeMethod
public static DefaultAttributeContainer$Builder
createAttributes()
method_55745()
createArmorStandAttributes()
public void
refreshDimensions()
method_18382()
calculateDimensions()
private boolean
hasPhysics()
method_18059()
canClip()
public boolean
isEffectiveAi()
method_6034()
canActVoluntarily()
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public boolean
canUseSlot(EquipmentSlot slot)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public boolean
isPushable()
method_5810()
isPushable()
protected void
doPush(Entity entity)
method_6087(class_1297 arg0)
pushAway(Entity arg0)
protected void
pushEntities()
method_6070()
tickCramming()
public ActionResult
interact(Player player, InteractionHand hand, Vec3 location)
method_5688(class_1657 arg0, class_1268 arg1, class_243 arg2)
interact(PlayerEntity arg0, Hand arg1, Vec3d arg2)
private EquipmentSlot
getClickedSlot(Vec3 location)
method_6916(class_243 arg0)
getSlotFromPosition(Vec3d hitPos)
private boolean
isDisabled(EquipmentSlot slot)
method_6915(class_1304 arg0)
isSlotDisabled(EquipmentSlot slot)
private boolean
swapItem(Player player, EquipmentSlot slot, ItemStack playerItemStack, InteractionHand hand)
method_6904(class_1657 arg0, class_1304 arg1, class_1799 arg2, class_1268 arg3)
equip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand)
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
public void
handleEntityEvent(byte id)
method_5711(byte arg0)
handleStatus(byte arg0)
public boolean
shouldRenderAtSqrDistance(double distance)
method_5640(double arg0)
shouldRender(double arg0)
private void
showBreakingParticles()
method_6898()
spawnBreakParticles()
private void
causeDamage(ServerLevel level, DamageSource source, float dmg)
method_6905(class_3218 arg0, class_1282 arg1, float arg2)
updateHealth(ServerWorld world, DamageSource damageSource, float amount)
private void
brokenByPlayer(ServerLevel level, DamageSource source)
method_6924(class_3218 arg0, class_1282 arg1)
breakAndDropItem(ServerWorld world, DamageSource damageSource)
private void
brokenByAnything(ServerLevel level, DamageSource source)
method_6908(class_3218 arg0, class_1282 arg1)
onBreak(ServerWorld world, DamageSource damageSource)
private void
playBrokenSound()
method_6920()
playBreakSound()
protected void
tickHeadTurn(float yBodyRotT)
method_6031(float arg0)
turnHead(float arg0)
public void
travel(Vec3 input)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public void
setYBodyRot(float yBodyRot)
method_5636(float arg0)
setBodyYaw(float arg0)
public void
setYHeadRot(float yHeadRot)
method_5847(float arg0)
setHeadYaw(float arg0)
protected void
updateInvisibilityStatus()
method_6027()
updatePotionVisibility()
public void
setInvisible(boolean invisible)
method_5648(boolean arg0)
setInvisible(boolean arg0)
public boolean
isBaby()
method_6109()
isBaby()
public void
kill(ServerLevel level)
method_5768(class_3218 arg0)
kill(ServerWorld arg0)
public boolean
ignoreExplosion(Explosion explosion)
method_5659(class_1927 arg0)
isImmuneToExplosion(Explosion arg0)
public PistonBehavior
getPistonPushReaction()
method_5657()
getPistonBehavior()
public boolean
isIgnoringBlockTriggers()
method_5696()
canAvoidTraps()
private void
setSmall(boolean value)
method_6922(boolean arg0)
setSmall(boolean small)
public boolean
isSmall()
method_6914()
isSmall()
public void
setShowArms(boolean value)
method_6913(boolean arg0)
setShowArms(boolean showArms)
public boolean
showArms()
method_6929()
shouldShowArms()
public void
setNoBasePlate(boolean value)
method_6907(boolean arg0)
setHideBasePlate(boolean hideBasePlate)
public boolean
showBasePlate()
method_61489()
shouldShowBasePlate()
private void
setMarker(boolean value)
method_6902(boolean arg0)
setMarker(boolean marker)
public boolean
isMarker()
method_6912()
isMarker()
private byte
setBit(byte data, int bit, boolean value)
method_6906(byte arg0, int arg1, boolean arg2)
setBitField(byte value, int bitField, boolean set)
public void
setHeadPose(Rotations headPose)
method_6919(class_2379 arg0)
setHeadRotation(EulerAngle angle)
public void
setBodyPose(Rotations bodyPose)
method_6927(class_2379 arg0)
setBodyRotation(EulerAngle angle)
public void
setLeftArmPose(Rotations leftArmPose)
method_6910(class_2379 arg0)
setLeftArmRotation(EulerAngle angle)
public void
setRightArmPose(Rotations rightArmPose)
method_6925(class_2379 arg0)
setRightArmRotation(EulerAngle angle)
public void
setLeftLegPose(Rotations leftLegPose)
method_6909(class_2379 arg0)
setLeftLegRotation(EulerAngle angle)
public void
setRightLegPose(Rotations rightLegPose)
method_6926(class_2379 arg0)
setRightLegRotation(EulerAngle angle)
public EulerAngle
getHeadPose()
method_6921()
getHeadRotation()
public EulerAngle
getBodyPose()
method_6923()
getBodyRotation()
public EulerAngle
getLeftArmPose()
method_6930()
getLeftArmRotation()
public EulerAngle
getRightArmPose()
method_6903()
getRightArmRotation()
public EulerAngle
getLeftLegPose()
method_6917()
getLeftLegRotation()
public EulerAngle
getRightLegPose()
method_6900()
getRightLegRotation()
public boolean
isPickable()
method_5863()
canHit()
public boolean
skipAttackInteraction(Entity source)
method_5698(class_1297 arg0)
handleAttack(Entity arg0)
public Arm
getMainArm()
method_6068()
getMainArm()
public LivingEntity$FallSounds
getFallSounds()
method_39760()
getFallSounds()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
public void
thunderHit(ServerLevel level, LightningBolt lightningBolt)
method_5800(class_3218 arg0, class_1538 arg1)
onStruckByLightning(ServerWorld arg0, LightningEntity arg1)
public boolean
isAffectedByPotions()
method_6086()
isAffectedBySplashPotions()
public void
onSyncedDataUpdated(EntityDataAccessor<?> accessor)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public boolean
attackable()
method_6102()
isMobOrPlayer()
public EntityDimensions
getDefaultDimensions(Pose pose)
method_55694(class_4050 arg0)
getBaseDimensions(EntityPose arg0)
private EntityDimensions
getDimensionsMarker(boolean isMarker)
method_31168(boolean arg0)
getDimensions(boolean marker)
public Vec3d
getLightProbePosition(float partialTickTime)
method_31166(float arg0)
getClientCameraPosVec(float arg0)
public ItemStack
getPickResult()
method_31480()
getPickBlockStack()
public boolean
canBeSeenByAnyone()
method_36608()
isPartOfGame()
public void
setArmorStandPose(ArmorStand$ArmorStandPose pose)
method_71384(class_1531$class_11346 arg0)
unpackRotation(ArmorStandEntity$PackedRotation packedRotation)
public ArmorStandEntity$PackedRotation
getArmorStandPose()
method_71383()
packRotation()
private static boolean
lambda$static$0(Entity arg0)
method_6918(class_1297 arg0)
method_6918(Entity entity)