public class ArmorStandEntity extends LivingEntity
Entity.IMoveCallbackactiveItemStack, activeItemStackUseCount, arrowHitTimer, attackedAtYaw, attackingPlayer, beeStingRemovalCooldown, brain, dead, deathTime, ENTITY_GRAVITY, hurtTime, idleTime, interpTargetHeadYaw, interpTargetPitch, interpTargetX, interpTargetY, interpTargetYaw, interpTargetZ, interpTicksHead, isJumping, isSwingInProgress, jumpMovementFactor, lastDamage, limbSwing, limbSwingAmount, LIVING_FLAGS, maxHurtResistantTime, maxHurtTime, movedDistance, moveForward, moveStrafing, moveVertical, NAMETAG_DISTANCE, newPosRotationIncrements, onGroundSpeedFactor, prevLimbSwingAmount, prevMovedDistance, prevOnGroundSpeedFactor, prevRenderYawOffset, prevRotationYawHead, prevSwingProgress, randomUnused1, randomUnused2, recentlyHit, renderYawOffset, rotationYawHead, scoreValue, SLEEPING_SIZE, spinAttackDuration, SWIM_SPEED, swingingHand, swingProgress, swingProgressInt, ticksElytraFlying, ticksSinceLastSwing, unused180addedToChunk, cachedUniqueIdString, chunkCoordX, chunkCoordY, chunkCoordZ, collided, collidedHorizontally, collidedVertically, dataManager, dimension, distanceWalkedModified, distanceWalkedOnStepModified, entityCollisionReduction, entityUniqueID, eyesInWater, fallDistance, firstUpdate, FLAGS, forceSpawn, glowing, hurtResistantTime, ignoreFrustumCheck, inLava, inPortal, inWater, isAirBorne, lastPortalPos, lastPortalVec, lastTickPosX, lastTickPosY, lastTickPosZ, LOGGER, motionMultiplier, noClip, onGround, portalCounter, POSE, prevDistanceWalkedModified, preventEntitySpawning, prevPosX, prevPosY, prevPosZ, prevRotationPitch, prevRotationYaw, rand, removed, rideCooldown, rotationPitch, rotationYaw, serverPosX, serverPosY, serverPosZ, stepHeight, submergedHeight, teleportDirection, ticksExisted, timeUntilPortal, velocityChanged, worldDUMMY| Constructor and Description |
|---|
ArmorStandEntity(EntityType<? extends ArmorStandEntity> p_i50225_1_,
World p_i50225_2_) |
ArmorStandEntity(World worldIn,
double posX,
double posY,
double posZ) |
addPotionEffect, applyArmorCalculations, applyEntityCollision, applyPotionDamageCalculations, areAllPotionsAmbient, attackEntityAsMob, attemptTeleport, baseTick, blockUsingShield, calculateFallDamage, canAttack, canAttack, canAttack, canBeRiddenInWater, canBreatheUnderwater, canDropLoot, canEntityBeSeen, clearActivePotions, clearBedPosition, constructKnockBackVector, createBrain, createSpawnPacket, createWitherRose, curePotionEffects, damageArmor, damageEntity, damageShield, decreaseAirSupply, determineNextAir, dropExperience, dropInventory, dropLoot, dropSpecialItems, findAmmo, frostWalk, getAbsorptionAmount, getActiveHand, getActiveItemStack, getActivePotionEffect, getActivePotionEffects, getActivePotionMap, getAIMoveSpeed, getAlwaysRenderNameTagForRender, getArmorCoverPercentage, getArrowCountInEntity, getAttackingEntity, getAttribute, getAttributes, getBedDirection, getBedPosition, getBeeStingCount, getBlockState, getBrain, getCapability, getCombatTracker, getCreatureAttribute, getDrinkSound, getEatSound, getExperiencePoints, getEyeHeight, getHealth, getHeldItem, getHeldItemMainhand, getHeldItemOffhand, getIdleTime, getItemInUseCount, getItemInUseMaxCount, getJumpUpwardsMotion, getLastAttackedEntity, getLastAttackedEntityTime, getLastDamageSource, getLootContextBuilder, getLootTableResourceLocation, getMaxHealth, getRenderScale, getRevengeTarget, getRevengeTimer, getRNG, getRotationYawHead, getSoundPitch, getSoundVolume, getSwimAnimation, getSwingProgress, getTicksElytraFlying, getTotalArmorValue, getVisibilityMultiplier, getWaterSlowDown, getYaw, handleFluidJump, handleFluidSneak, hasItemInSlot, heal, isActiveItemStackBlocking, isActualySwimming, isAlive, isElytraFlying, isEntityInsideOpaqueBlock, isEntityUndead, isHandActive, isMovementBlocked, isOnLadder, isPlayer, isPotionActive, isPotionApplicable, isSleeping, isSpinAttacking, isSuppressingSlidingDownLadder, jump, knockBack, livingTick, lookAt, markPotionsDirty, markVelocityChanged, onChangedPotionEffect, onDeath, onDeathUpdate, onFinishedPotionEffect, onFoodEaten, onItemPickup, onItemUseFinish, onLivingFall, onNewPotionEffect, outOfWorld, performHurtAnimation, playEquipSound, playFallSound, playHurtSound, registerAttributes, remove, removeActivePotionEffect, removePotionEffect, resetActiveHand, resetPotionEffectMetadata, sendBreakAnimation, sendBreakAnimation, sendEndCombat, sendEnterCombat, setAbsorptionAmount, setActiveHand, setAIMoveSpeed, setArrowCountInEntity, setBedPosition, setBeeStingCount, setHeadRotation, setHealth, setHeldItem, setIdleTime, setJumping, setLastAttackedEntity, setLivingFlag, setPartying, setPositionAndRotationDirect, setRevengeTarget, setSprinting, shouldRiderFaceForward, spawnDrops, spinAttack, startSleeping, startSpinAttack, stopActiveHand, stopRiding, swing, swingArm, triggerItemUseEffects, updateArmSwingProgress, updateEntityActionState, updateFallState, updatePotionEffects, updateRidden, updateSpinAttack, wakeUpaddPassenger, addTag, addTrackingPlayer, addVelocity, allowLogging, applyEnchantments, applyOrientationToEntity, areEyesInFluid, areEyesInFluid, awardKillScore, calculateUpVector, canBeAttackedWithItem, canBeRidden, canExplosionDestroyBlock, canFitPassenger, canPassengerSteer, canRenderOnFire, canSwim, canTrample, canTriggerWalking, canUpdate, canUpdate, captureDrops, captureDrops, changeDimension, changeDimension, checkDespawn, collideBoundingBox, collideBoundingBoxHeuristically, copyDataFromOld, copyLocationAndAnglesFrom, createRunningParticles, dealFireDamage, decrementTimeUntilPortal, detach, determineNextStepDistance, doBlockCollisions, doesEntityNotTriggerPressurePlate, doWaterSplashEffect, entityDropItem, entityDropItem, entityDropItem, entityDropItem, equals, extinguish, fillCrashReport, forceSetPosition, getAdjustedHorizontalFacing, getAir, getAllowedMovement, getBoundingBox, getBoundingBox, getBrightness, getCachedUniqueIdString, getCollisionBorderSize, getCollisionBoundingBox, getCollisionBox, getCommandSource, getControllingPassenger, getCustomName, getDataManager, getDisplayName, getDistance, getDistanceSq, getDistanceSq, getDistanceSq, getEntityId, getEntityString, getEntityWorld, getEquipmentAndArmor, getExplosionResistance, getEyeHeight, getEyeHeight, getEyePosition, getFireImmuneTicks, getFireTimer, getFlag, getForward, getHeight, getHighspeedSplashSound, getHorizontalFacing, getHoverEvent, getJumpFactor, getLastPortalVec, getLook, getLookVec, getLowestRidingEntity, getMaxAir, getMaxFallHeight, getMaxInPortalTime, getMirroredYaw, getMotion, getMountedYOffset, getName, getOnPosition, getPassengers, getPermissionLevel, getPersistentData, getPitch, getPitchYaw, getPortalCooldown, getPose, getPosition, getPositionUnderneath, getPositionVec, getPositionVector, getPosX, getPosXRandom, getPosXWidth, getPosY, getPosYEye, getPosYHeight, getPosYRandom, getPosZ, getPosZRandom, getPosZWidth, getProfessionName, getRecursivePassengers, getRenderBoundingBox, getRenderDistanceWeight, getRidingEntity, getRotatedYaw, getScoreboardName, getSelfAndPassengers, getServer, getSoundCategory, getSpeedFactor, getSplashSound, getSubmergedHeight, getSwimSound, getTags, getTeam, getTeamColor, getTeleportDirection, getType, getUniqueID, getUpVector, getVectorForRotation, getWidth, handleFluidAcceleration, handlePistonMovement, handleWaterMovement, hasCustomName, hashCode, hasNoGravity, hasPermissionLevel, horizontalMag, ignoreItemEntityData, isAddedToWorld, isBeingRidden, isBurning, isCrouching, isCustomNameVisible, isDescending, isDiscrete, isEntityEqual, isGlowing, isImmuneToFire, isInLava, isInRangeToRender3d, isInvisible, isInvisibleToPlayer, isInvulnerable, isInvulnerableTo, isInWater, isInWaterOrBubbleColumn, isInWaterRainOrBubbleColumn, isLiving, isNonBoss, isOffsetPositionInLiquid, isOnePlayerRiding, isOnSameTeam, isOnScoreboardTeam, isPassenger, isPassenger, isPassenger, isPoseClear, isPushedByWater, isRidingOrBeingRiddenBy, isRidingSameEntity, isSilent, isSneaking, isSpectatedByPlayer, isSpectator, isSprinting, isSteppingCarefully, isSuppressingBounce, isSwimming, isVisuallySwimming, isWet, makeFlySound, maybeBackOffFromEdge, move, moveForced, moveRelative, moveToBlockPosAndAngles, newDoubleNBTList, newFloatNBTList, onAddedToWorld, onCollideWithPlayer, onEnterBubbleColumn, onEnterBubbleColumnWithAirAbove, onInsideBlock, onKillEntity, onRemovedFromWorld, pick, playFlySound, playSound, playStepSound, playSwimSound, positionRider, preparePlayerToSpawn, processInitialInteract, pushOutOfBlocks, read, recenterBoundingBox, remove, removePassenger, removePassengers, removeTag, removeTrackingPlayer, repositionDirectPassengers, resetPositionToBB, revive, rotateTowards, sendMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFire, setFireTimer, setFlag, setGlowing, setInLava, setInvulnerable, setLocationAndAngles, setMotion, setMotion, setMotionMultiplier, setNoGravity, setOnFireFromLava, setPacketCoordinates, setPortal, setPose, setPosition, setPositionAndRotation, setPositionAndUpdate, setPositionNonDirty, setRawPosition, setRenderDistanceWeight, setRotation, setSilent, setSneaking, setSwimming, setUniqueId, setVelocity, setWorld, shouldReceiveErrors, shouldReceiveFeedback, shouldSetPosAfterLoading, spawnRunningParticles, startRiding, startRiding, teleportKeepLoaded, toString, updatePassenger, updatePortal, updateSwimming, writeUnlessPassenger, writeUnlessRemoved, writeWithoutTypeIdareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, invalidateCaps, reviveCaps, serializeCapsclone, finalize, getClass, notify, notifyAll, wait, wait, waitcanBeRiddenInWater, canRiderInteract, deserializeNBT, getClassification, getEntity, getPickedResult, serializeNBT, shouldRiderSitgetCapabilityprivate static final Rotations DEFAULT_HEAD_ROTATION
private static final Rotations DEFAULT_BODY_ROTATION
private static final Rotations DEFAULT_LEFTARM_ROTATION
private static final Rotations DEFAULT_RIGHTARM_ROTATION
private static final Rotations DEFAULT_LEFTLEG_ROTATION
private static final Rotations DEFAULT_RIGHTLEG_ROTATION
public static final DataParameter<java.lang.Byte> STATUS
public static final DataParameter<Rotations> HEAD_ROTATION
public static final DataParameter<Rotations> BODY_ROTATION
public static final DataParameter<Rotations> LEFT_ARM_ROTATION
public static final DataParameter<Rotations> RIGHT_ARM_ROTATION
public static final DataParameter<Rotations> LEFT_LEG_ROTATION
public static final DataParameter<Rotations> RIGHT_LEG_ROTATION
private static final java.util.function.Predicate<Entity> IS_RIDEABLE_MINECART
private final NonNullList<ItemStack> handItems
private final NonNullList<ItemStack> armorItems
private boolean canInteract
public long punchCooldown
private int disabledSlots
private Rotations headRotation
private Rotations bodyRotation
private Rotations leftArmRotation
private Rotations rightArmRotation
private Rotations leftLegRotation
private Rotations rightLegRotation
public ArmorStandEntity(EntityType<? extends ArmorStandEntity> p_i50225_1_, World p_i50225_2_)
public ArmorStandEntity(World worldIn, double posX, double posY, double posZ)
public void recalculateSize()
recalculateSize in class Entityprivate boolean func_213814_A()
public boolean isServerWorld()
isServerWorld in class LivingEntityprotected void registerData()
registerData in class LivingEntitypublic java.lang.Iterable<ItemStack> getHeldEquipment()
getHeldEquipment in class Entitypublic java.lang.Iterable<ItemStack> getArmorInventoryList()
getArmorInventoryList in class LivingEntitypublic ItemStack getItemStackFromSlot(EquipmentSlotType slotIn)
getItemStackFromSlot in class LivingEntitypublic void setItemStackToSlot(EquipmentSlotType slotIn, ItemStack stack)
setItemStackToSlot in class LivingEntitypublic boolean replaceItemInInventory(int inventorySlot,
ItemStack itemStackIn)
replaceItemInInventory in class Entitypublic boolean canPickUpItem(ItemStack itemstackIn)
canPickUpItem in class LivingEntitypublic void writeAdditional(CompoundNBT compound)
writeAdditional in class LivingEntitypublic void readAdditional(CompoundNBT compound)
readAdditional in class LivingEntityprivate void readPose(CompoundNBT tagCompound)
private CompoundNBT writePose()
public boolean canBePushed()
canBePushed in class LivingEntityprotected void collideWithEntity(Entity entityIn)
collideWithEntity in class LivingEntityprotected void collideWithNearbyEntities()
collideWithNearbyEntities in class LivingEntitypublic ActionResultType applyPlayerInteraction(PlayerEntity player, Vec3d vec, Hand hand)
applyPlayerInteraction in class Entityprivate EquipmentSlotType getClickedSlot(Vec3d p_190772_1_)
private boolean isDisabled(EquipmentSlotType slotIn)
private boolean func_226529_a_(PlayerEntity p_226529_1_, EquipmentSlotType p_226529_2_, ItemStack p_226529_3_, Hand p_226529_4_)
public boolean attackEntityFrom(DamageSource source, float amount)
attackEntityFrom in class LivingEntitypublic void handleStatusUpdate(byte id)
handleStatusUpdate in class LivingEntitypublic boolean isInRangeToRenderDist(double distance)
isInRangeToRenderDist in class Entityprivate void playParticles()
private void func_213817_e(DamageSource p_213817_1_, float p_213817_2_)
private void func_213815_f(DamageSource p_213815_1_)
private void func_213816_g(DamageSource p_213816_1_)
private void playBrokenSound()
protected float updateDistance(float p_110146_1_,
float p_110146_2_)
updateDistance in class LivingEntityprotected float getStandingEyeHeight(Pose poseIn, EntitySize sizeIn)
getStandingEyeHeight in class LivingEntitypublic double getYOffset()
getYOffset in class Entitypublic void travel(Vec3d p_213352_1_)
travel in class LivingEntitypublic void setRenderYawOffset(float offset)
setRenderYawOffset in class LivingEntitypublic void setRotationYawHead(float rotation)
setRotationYawHead in class LivingEntitypublic void tick()
tick in class LivingEntityprotected void updatePotionMetadata()
updatePotionMetadata in class LivingEntitypublic void setInvisible(boolean invisible)
setInvisible in class Entitypublic boolean isChild()
isChild in class LivingEntitypublic void onKillCommand()
onKillCommand in class LivingEntitypublic boolean isImmuneToExplosions()
isImmuneToExplosions in class Entitypublic PushReaction getPushReaction()
getPushReaction in class Entityprivate void setSmall(boolean small)
public boolean isSmall()
private void setShowArms(boolean showArms)
public boolean getShowArms()
private void setNoBasePlate(boolean noBasePlate)
public boolean hasNoBasePlate()
private void setMarker(boolean marker)
public boolean hasMarker()
private byte setBit(byte p_184797_1_,
int p_184797_2_,
boolean p_184797_3_)
public void setHeadRotation(Rotations vec)
public void setBodyRotation(Rotations vec)
public void setLeftArmRotation(Rotations vec)
public void setRightArmRotation(Rotations vec)
public void setLeftLegRotation(Rotations vec)
public void setRightLegRotation(Rotations vec)
public Rotations getHeadRotation()
public Rotations getBodyRotation()
public Rotations getLeftArmRotation()
public Rotations getRightArmRotation()
public Rotations getLeftLegRotation()
public Rotations getRightLegRotation()
public boolean canBeCollidedWith()
canBeCollidedWith in class LivingEntitypublic boolean hitByEntity(Entity entityIn)
hitByEntity in class Entitypublic HandSide getPrimaryHand()
getPrimaryHand in class LivingEntityprotected SoundEvent getFallSound(int heightIn)
getFallSound in class LivingEntity@Nullable protected SoundEvent getHurtSound(DamageSource damageSourceIn)
getHurtSound in class LivingEntity@Nullable protected SoundEvent getDeathSound()
getDeathSound in class LivingEntitypublic void onStruckByLightning(LightningBoltEntity lightningBolt)
onStruckByLightning in class Entitypublic boolean canBeHitWithPotion()
canBeHitWithPotion in class LivingEntitypublic void notifyDataManagerChange(DataParameter<?> key)
notifyDataManagerChange in class LivingEntitypublic boolean attackable()
attackable in class LivingEntitypublic EntitySize getSize(Pose poseIn)
getSize in class LivingEntity