Package net.minecraft.entity.decoration
Class ArmorStandEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.decoration.ArmorStandEntity
- All Implemented Interfaces:
class_5568,CommandOutput,Nameable
public class ArmorStandEntity extends LivingEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_25599, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, LOGGER, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors Constructor Description ArmorStandEntity(EntityType<? extends ArmorStandEntity> type, World world)ArmorStandEntity(World world, double x, double y, double z) -
Method Summary
Methods inherited from class net.minecraft.entity.LivingEntity
addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, baseTick, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTarget, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, destroy, displaySoulSpeedEffects, drop, dropEquipment, dropInventory, dropLoot, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getCurrentExperience, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getLootContextBuilder, getLootTable, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAlive, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isOnSoulSpeedBlock, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29242, method_29500, method_30633, method_31079, method_32318, method_32324, method_32325, method_32326, method_33190, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playHurtSound, pushAwayFrom, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickHandSwing, tickMovement, tickNewAi, tickRiding, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, tryAttack, updatePostDeath, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, afterSpawn, applyMirror, applyRotation, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, entityDataRequiresOperator, equals, extinguish, fromTag, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityId, getEntityName, getEntityWorld, getEyeHeight, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPitch, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, hasWings, interact, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_29919, method_30076, method_30330, method_30632, method_30634, method_30950, method_30951, method_31473, method_31744, method_31746, method_31748, method_32875, method_32877, method_33189, move, moveToBoundingBoxCenter, moveToWorld, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playFlySound, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setPos, setPose, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, startRiding, streamPassengersRecursively, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, toTag, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide
-
Field Details
-
DEFAULT_HEAD_ROTATION
-
DEFAULT_BODY_ROTATION
-
DEFAULT_LEFT_ARM_ROTATION
-
DEFAULT_RIGHT_ARM_ROTATION
-
DEFAULT_LEFT_LEG_ROTATION
-
DEFAULT_RIGHT_LEG_ROTATION
-
field_26745
-
field_26746
-
ARMOR_STAND_FLAGS
-
TRACKER_HEAD_ROTATION
-
TRACKER_BODY_ROTATION
-
TRACKER_LEFT_ARM_ROTATION
-
TRACKER_RIGHT_ARM_ROTATION
-
TRACKER_LEFT_LEG_ROTATION
-
TRACKER_RIGHT_LEG_ROTATION
-
RIDEABLE_MINECART_PREDICATE
-
heldItems
-
armorItems
-
invisible
private boolean invisible -
lastHitTime
public long lastHitTime -
disabledSlots
private int disabledSlots -
headRotation
-
bodyRotation
-
leftArmRotation
-
rightArmRotation
-
leftLegRotation
-
rightLegRotation
-
-
Constructor Details
-
ArmorStandEntity
-
ArmorStandEntity
-
-
Method Details
-
calculateDimensions
public void calculateDimensions()- Overrides:
calculateDimensionsin classEntity
-
canClip
private boolean canClip() -
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarilyin classLivingEntity
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classLivingEntity
-
getItemsHand
- Overrides:
getItemsHandin classEntity
-
getArmorItems
- Specified by:
getArmorItemsin classLivingEntity
-
getEquippedStack
- Specified by:
getEquippedStackin classLivingEntity
-
equipStack
- Specified by:
equipStackin classLivingEntity
-
canEquip
- Overrides:
canEquipin classLivingEntity
-
writeCustomDataToTag
- Overrides:
writeCustomDataToTagin classLivingEntity
-
readCustomDataFromTag
- Overrides:
readCustomDataFromTagin classLivingEntity
-
deserializePose
-
serializePose
-
isPushable
public boolean isPushable()- Overrides:
isPushablein classLivingEntity
-
pushAway
- Overrides:
pushAwayin classLivingEntity
-
tickCramming
protected void tickCramming()- Overrides:
tickCrammingin classLivingEntity
-
interactAt
- Overrides:
interactAtin classEntity
-
slotFromPosition
-
isSlotDisabled
-
equip
-
damage
- Overrides:
damagein classLivingEntity
-
handleStatus
@Environment(CLIENT) public void handleStatus(byte status)- Overrides:
handleStatusin classLivingEntity
-
shouldRender
@Environment(CLIENT) public boolean shouldRender(double distance)- Overrides:
shouldRenderin classEntity
-
spawnBreakParticles
private void spawnBreakParticles() -
updateHealth
-
breakAndDropItem
-
onBreak
-
playBreakSound
private void playBreakSound() -
turnHead
protected float turnHead(float bodyRotation, float headRotation)- Overrides:
turnHeadin classLivingEntity
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity
-
getHeightOffset
public double getHeightOffset()- Overrides:
getHeightOffsetin classEntity
-
travel
- Overrides:
travelin classLivingEntity
-
setYaw
public void setYaw(float yaw)- Overrides:
setYawin classLivingEntity
-
setHeadYaw
public void setHeadYaw(float headYaw)- Overrides:
setHeadYawin classLivingEntity
-
tick
public void tick()- Overrides:
tickin classLivingEntity
-
updatePotionVisibility
protected void updatePotionVisibility()- Overrides:
updatePotionVisibilityin classLivingEntity
-
setInvisible
public void setInvisible(boolean invisible)- Overrides:
setInvisiblein classEntity
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classLivingEntity
-
kill
public void kill()- Overrides:
killin classLivingEntity
-
isImmuneToExplosion
public boolean isImmuneToExplosion()- Overrides:
isImmuneToExplosionin classEntity
-
getPistonBehavior
- Overrides:
getPistonBehaviorin classEntity
-
setSmall
private void setSmall(boolean small) -
isSmall
public boolean isSmall() -
setShowArms
private void setShowArms(boolean showArms) -
shouldShowArms
public boolean shouldShowArms() -
setHideBasePlate
private void setHideBasePlate(boolean hideBasePlate) -
shouldHideBasePlate
public boolean shouldHideBasePlate() -
setMarker
private void setMarker(boolean marker) -
isMarker
public boolean isMarker() -
setBitField
private byte setBitField(byte value, int bitField, boolean set) -
setHeadRotation
-
setBodyRotation
-
setLeftArmRotation
-
setRightArmRotation
-
setLeftLegRotation
-
setRightLegRotation
-
getHeadRotation
-
getBodyRotation
-
getLeftArmRotation
-
getRightArmRotation
-
getLeftLegRotation
-
getRightLegRotation
-
collides
public boolean collides()- Overrides:
collidesin classLivingEntity
-
handleAttack
- Overrides:
handleAttackin classEntity
-
getMainArm
- Specified by:
getMainArmin classLivingEntity
-
getFallSound
- Overrides:
getFallSoundin classLivingEntity
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity
-
onStruckByLightning
- Overrides:
onStruckByLightningin classEntity
-
isAffectedBySplashPotions
public boolean isAffectedBySplashPotions()- Overrides:
isAffectedBySplashPotionsin classLivingEntity
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classLivingEntity
-
isMobOrPlayer
public boolean isMobOrPlayer()- Overrides:
isMobOrPlayerin classLivingEntity
-
getDimensions
- Overrides:
getDimensionsin classLivingEntity
-
method_31168
-
method_31166
- Overrides:
method_31166in classEntity
-
getPickBlockStack
- Overrides:
getPickBlockStackin classEntity
-