Class ArmorStandEntity
- All Implemented Interfaces:
Attackable
,CommandOutput
,Nameable
,EntityLike
- Mappings:
Namespace Name official byd
intermediary net/minecraft/class_1531
named net/minecraft/entity/decoration/ArmorStandEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSounds
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason
-
Field Summary
Modifier and TypeFieldDescriptionstatic final TrackedData<Byte>
private final DefaultedList<ItemStack>
private EulerAngle
private static final EulerAngle
private static final EulerAngle
private static final EulerAngle
private static final EulerAngle
private static final EulerAngle
private static final EulerAngle
private int
static final int
private static final boolean
static final int
private static final double
private static final double
private static final double
private static final double
static final int
private EulerAngle
private final DefaultedList<ItemStack>
static final int
private boolean
long
private EulerAngle
private EulerAngle
private static final EntityDimensions
static final int
private EulerAngle
private EulerAngle
static final int
private static final EntityDimensions
static final int
static final TrackedData<EulerAngle>
static final TrackedData<EulerAngle>
static final TrackedData<EulerAngle>
static final TrackedData<EulerAngle>
static final TrackedData<EulerAngle>
static final TrackedData<EulerAngle>
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, limbAnimator, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAG
Fields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_44870, field_44871, field_44872, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
-
Constructor Summary
ConstructorDescriptionArmorStandEntity
(EntityType<? extends ArmorStandEntity> type, World world) ArmorStandEntity
(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
breakAndDropItem
(DamageSource damageSource) void
Calculates and sets the dimension (bounding box) of the entity and refreshes its position.boolean
Returns whether the entity cannot trigger pressure plates or tripwires.private boolean
canClip()
boolean
boolean
canHit()
Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.boolean
boolean
damage
(DamageSource source, float amount) Applies a damage to this entity.private boolean
equip
(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand) void
equipStack
(EquipmentSlot slot, ItemStack stack) Equipsstack
atslot
.This is also used to set an entity's mainhand or offhand stack.protected float
getActiveEyeHeight
(EntityPose pose, EntityDimensions dimensions) Returns an iterable of item stacks equipped as armor.getClientCameraPosVec
(float tickDelta) protected @Nullable SoundEvent
private EntityDimensions
getDimensions
(boolean marker) getDimensions
(EntityPose pose) Returns the dimensions of the entity with the givenpose
.Returns an iterable of item stacks held in the hands.protected @Nullable SoundEvent
getHurtSound
(DamageSource source) Returns the stack for creative "pick block" functionality, ornull
if there is none.Returns the behavior of the piston for this entity.private EquipmentSlot
getSlotFromPosition
(Vec3d hitPos) boolean
handleAttack
(Entity attacker) Handles a player attacking the entity.void
handleStatus
(byte status) Called on the client when the entity receives an entity status from the server.protected void
Initializes data tracker.interactAt
(PlayerEntity player, Vec3d hitPos, Hand hand) Called when the player interacts with the entity at the specific position.boolean
boolean
isBaby()
boolean
Returns whether the entity is immune from explosion knockback and damage.boolean
isMarker()
boolean
boolean
boolean
Returns whether the entity can be pushed by other entities.private boolean
isSlotDisabled
(EquipmentSlot slot) boolean
isSmall()
void
kill()
Kills the entity.private void
onBreak
(DamageSource damageSource) void
onStruckByLightning
(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.void
onTrackedDataSet
(TrackedData<?> data) Called on the client when the tracked data is set.private void
private NbtCompound
protected void
void
Reads custom data fromnbt
.private void
readPoseNbt
(NbtCompound nbt) private byte
setBitField
(byte value, int bitField, boolean set) void
setBodyRotation
(EulerAngle angle) void
setBodyYaw
(float bodyYaw) Sets the body yaw of this entity.void
setHeadRotation
(EulerAngle angle) void
setHeadYaw
(float headYaw) Sets the head yaw of this entity.void
setHideBasePlate
(boolean hideBasePlate) void
setInvisible
(boolean invisible) Sets whether the entity is invisible to everyone.void
setLeftArmRotation
(EulerAngle angle) void
setLeftLegRotation
(EulerAngle angle) private void
setMarker
(boolean marker) void
setRightArmRotation
(EulerAngle angle) void
setRightLegRotation
(EulerAngle angle) void
setShowArms
(boolean showArms) private void
setSmall
(boolean small) boolean
boolean
shouldRender
(double distance) boolean
private void
void
tick()
Ticks this entity.protected void
void
Allows you to do certain speed and velocity calculations.protected float
turnHead
(float bodyRotation, float headRotation) private void
updateHealth
(DamageSource damageSource, float amount) protected void
void
Writes custom data tonbt
.Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, baseTick, blockedByShield, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canTarget, canUsePortals, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropEquipment, dropInventory, dropLoot, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLerpTargetPitch, getLerpTargetX, getLerpTargetY, getLerpTargetYaw, getLerpTargetZ, getLootTable, getLootTableSeed, getMainHandStack, getMaxAbsorption, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRandom, getRecentDamageSource, getRidingOffset, getRoll, getSaddledSpeed, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getXpToDrop, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isOnSoulSpeedBlock, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, knockback, knockDownwards, lookAt, markEffectsDirty, method_52539, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playHurtSound, positionInPortal, positionInPortal, processEquippedStack, pushAwayFrom, remove, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovement, tickNewAi, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, tryAttack, updateLimbs, updateLimbs, updatePostDeath, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp, wouldNotSuffocateInPose
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canSprintAsVehicle, canStartRiding, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMoveEffect, getMovementDirection, getName, getNameLabelHeight, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPitch, getPitch, getPortalCooldown, getPortalRect, getPos, getPose, getPosWithYOffset, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUnscaledRidingOffset, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasVehicle, interact, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isInFluid, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, lerpPosAndRotation, limitFallDistance, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStepHeight, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldBroadcastConsoleToOps, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
field_30443
public static final int field_30443- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbyd;b:I
intermediary field_30443
Lnet/minecraft/class_1531;field_30443:I
named field_30443
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30443:I
-
field_30445
private static final boolean field_30445- See Also:
- Mappings:
Namespace Name Mixin selector official bK
Lbyd;bK:Z
intermediary field_30445
Lnet/minecraft/class_1531;field_30445:Z
named field_30445
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30445:Z
-
DEFAULT_HEAD_ROTATION
- Mappings:
Namespace Name Mixin selector official bL
Lbyd;bL:Lhv;
intermediary field_7113
Lnet/minecraft/class_1531;field_7113:Lnet/minecraft/class_2379;
named DEFAULT_HEAD_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_HEAD_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_BODY_ROTATION
- Mappings:
Namespace Name Mixin selector official bM
Lbyd;bM:Lhv;
intermediary field_7119
Lnet/minecraft/class_1531;field_7119:Lnet/minecraft/class_2379;
named DEFAULT_BODY_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_BODY_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_LEFT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bN
Lbyd;bN:Lhv;
intermediary field_7124
Lnet/minecraft/class_1531;field_7124:Lnet/minecraft/class_2379;
named DEFAULT_LEFT_ARM_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_RIGHT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bO
Lbyd;bO:Lhv;
intermediary field_7115
Lnet/minecraft/class_1531;field_7115:Lnet/minecraft/class_2379;
named DEFAULT_RIGHT_ARM_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_LEFT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bP
Lbyd;bP:Lhv;
intermediary field_7121
Lnet/minecraft/class_1531;field_7121:Lnet/minecraft/class_2379;
named DEFAULT_LEFT_LEG_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_RIGHT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bQ
Lbyd;bQ:Lhv;
intermediary field_7117
Lnet/minecraft/class_1531;field_7117:Lnet/minecraft/class_2379;
named DEFAULT_RIGHT_LEG_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
MARKER_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official bR
Lbyd;bR:Lbir;
intermediary field_26745
Lnet/minecraft/class_1531;field_26745:Lnet/minecraft/class_4048;
named MARKER_DIMENSIONS
Lnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
SMALL_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official bS
Lbyd;bS:Lbir;
intermediary field_26746
Lnet/minecraft/class_1531;field_26746:Lnet/minecraft/class_4048;
named SMALL_DIMENSIONS
Lnet/minecraft/entity/decoration/ArmorStandEntity;SMALL_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
field_30447
private static final double field_30447- See Also:
- Mappings:
Namespace Name Mixin selector official bT
Lbyd;bT:D
intermediary field_30447
Lnet/minecraft/class_1531;field_30447:D
named field_30447
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30447:D
-
field_30448
private static final double field_30448- See Also:
- Mappings:
Namespace Name Mixin selector official bU
Lbyd;bU:D
intermediary field_30448
Lnet/minecraft/class_1531;field_30448:D
named field_30448
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30448:D
-
field_30449
private static final double field_30449- See Also:
- Mappings:
Namespace Name Mixin selector official bV
Lbyd;bV:D
intermediary field_30449
Lnet/minecraft/class_1531;field_30449:D
named field_30449
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30449:D
-
field_30450
private static final double field_30450- See Also:
- Mappings:
Namespace Name Mixin selector official bW
Lbyd;bW:D
intermediary field_30450
Lnet/minecraft/class_1531;field_30450:D
named field_30450
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30450:D
-
field_30446
public static final int field_30446- See Also:
- Mappings:
Namespace Name Mixin selector official c
Lbyd;c:I
intermediary field_30446
Lnet/minecraft/class_1531;field_30446:I
named field_30446
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30446:I
-
field_30451
public static final int field_30451- See Also:
- Mappings:
Namespace Name Mixin selector official d
Lbyd;d:I
intermediary field_30451
Lnet/minecraft/class_1531;field_30451:I
named field_30451
Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30451:I
-
SMALL_FLAG
public static final int SMALL_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lbyd;e:I
intermediary field_30452
Lnet/minecraft/class_1531;field_30452:I
named SMALL_FLAG
Lnet/minecraft/entity/decoration/ArmorStandEntity;SMALL_FLAG:I
-
SHOW_ARMS_FLAG
public static final int SHOW_ARMS_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lbyd;f:I
intermediary field_30453
Lnet/minecraft/class_1531;field_30453:I
named SHOW_ARMS_FLAG
Lnet/minecraft/entity/decoration/ArmorStandEntity;SHOW_ARMS_FLAG:I
-
HIDE_BASE_PLATE_FLAG
public static final int HIDE_BASE_PLATE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official bA
Lbyd;bA:I
intermediary field_30442
Lnet/minecraft/class_1531;field_30442:I
named HIDE_BASE_PLATE_FLAG
Lnet/minecraft/entity/decoration/ArmorStandEntity;HIDE_BASE_PLATE_FLAG:I
-
MARKER_FLAG
public static final int MARKER_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official bB
Lbyd;bB:I
intermediary field_30444
Lnet/minecraft/class_1531;field_30444:I
named MARKER_FLAG
Lnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_FLAG:I
-
ARMOR_STAND_FLAGS
- Mappings:
Namespace Name Mixin selector official bC
Lbyd;bC:Laee;
intermediary field_7107
Lnet/minecraft/class_1531;field_7107:Lnet/minecraft/class_2940;
named ARMOR_STAND_FLAGS
Lnet/minecraft/entity/decoration/ArmorStandEntity;ARMOR_STAND_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_HEAD_ROTATION
- Mappings:
Namespace Name Mixin selector official bD
Lbyd;bD:Laee;
intermediary field_7123
Lnet/minecraft/class_1531;field_7123:Lnet/minecraft/class_2940;
named TRACKER_HEAD_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_HEAD_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_BODY_ROTATION
- Mappings:
Namespace Name Mixin selector official bE
Lbyd;bE:Laee;
intermediary field_7122
Lnet/minecraft/class_1531;field_7122:Lnet/minecraft/class_2940;
named TRACKER_BODY_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_BODY_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_LEFT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bF
Lbyd;bF:Laee;
intermediary field_7116
Lnet/minecraft/class_1531;field_7116:Lnet/minecraft/class_2940;
named TRACKER_LEFT_ARM_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_RIGHT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bG
Lbyd;bG:Laee;
intermediary field_7105
Lnet/minecraft/class_1531;field_7105:Lnet/minecraft/class_2940;
named TRACKER_RIGHT_ARM_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_LEFT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bH
Lbyd;bH:Laee;
intermediary field_7127
Lnet/minecraft/class_1531;field_7127:Lnet/minecraft/class_2940;
named TRACKER_LEFT_LEG_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_RIGHT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bI
Lbyd;bI:Laee;
intermediary field_7125
Lnet/minecraft/class_1531;field_7125:Lnet/minecraft/class_2940;
named TRACKER_RIGHT_LEG_ROTATION
Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
RIDEABLE_MINECART_PREDICATE
- Mappings:
Namespace Name Mixin selector official bX
Lbyd;bX:Ljava/util/function/Predicate;
intermediary field_7102
Lnet/minecraft/class_1531;field_7102:Ljava/util/function/Predicate;
named RIDEABLE_MINECART_PREDICATE
Lnet/minecraft/entity/decoration/ArmorStandEntity;RIDEABLE_MINECART_PREDICATE:Ljava/util/function/Predicate;
-
heldItems
- Mappings:
Namespace Name Mixin selector official bY
Lbyd;bY:Lhn;
intermediary field_7114
Lnet/minecraft/class_1531;field_7114:Lnet/minecraft/class_2371;
named heldItems
Lnet/minecraft/entity/decoration/ArmorStandEntity;heldItems:Lnet/minecraft/util/collection/DefaultedList;
-
armorItems
- Mappings:
Namespace Name Mixin selector official bZ
Lbyd;bZ:Lhn;
intermediary field_7108
Lnet/minecraft/class_1531;field_7108:Lnet/minecraft/class_2371;
named armorItems
Lnet/minecraft/entity/decoration/ArmorStandEntity;armorItems:Lnet/minecraft/util/collection/DefaultedList;
-
invisible
private boolean invisible- Mappings:
Namespace Name Mixin selector official ca
Lbyd;ca:Z
intermediary field_7111
Lnet/minecraft/class_1531;field_7111:Z
named invisible
Lnet/minecraft/entity/decoration/ArmorStandEntity;invisible:Z
-
lastHitTime
public long lastHitTime- Mappings:
Namespace Name Mixin selector official bJ
Lbyd;bJ:J
intermediary field_7112
Lnet/minecraft/class_1531;field_7112:J
named lastHitTime
Lnet/minecraft/entity/decoration/ArmorStandEntity;lastHitTime:J
-
disabledSlots
private int disabledSlots- Mappings:
Namespace Name Mixin selector official cb
Lbyd;cb:I
intermediary field_7118
Lnet/minecraft/class_1531;field_7118:I
named disabledSlots
Lnet/minecraft/entity/decoration/ArmorStandEntity;disabledSlots:I
-
headRotation
- Mappings:
Namespace Name Mixin selector official cc
Lbyd;cc:Lhv;
intermediary field_7104
Lnet/minecraft/class_1531;field_7104:Lnet/minecraft/class_2379;
named headRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;headRotation:Lnet/minecraft/util/math/EulerAngle;
-
bodyRotation
- Mappings:
Namespace Name Mixin selector official cd
Lbyd;cd:Lhv;
intermediary field_7106
Lnet/minecraft/class_1531;field_7106:Lnet/minecraft/class_2379;
named bodyRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;bodyRotation:Lnet/minecraft/util/math/EulerAngle;
-
leftArmRotation
- Mappings:
Namespace Name Mixin selector official ce
Lbyd;ce:Lhv;
intermediary field_7126
Lnet/minecraft/class_1531;field_7126:Lnet/minecraft/class_2379;
named leftArmRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;leftArmRotation:Lnet/minecraft/util/math/EulerAngle;
-
rightArmRotation
- Mappings:
Namespace Name Mixin selector official cf
Lbyd;cf:Lhv;
intermediary field_7120
Lnet/minecraft/class_1531;field_7120:Lnet/minecraft/class_2379;
named rightArmRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;rightArmRotation:Lnet/minecraft/util/math/EulerAngle;
-
leftLegRotation
- Mappings:
Namespace Name Mixin selector official cg
Lbyd;cg:Lhv;
intermediary field_7110
Lnet/minecraft/class_1531;field_7110:Lnet/minecraft/class_2379;
named leftLegRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;leftLegRotation:Lnet/minecraft/util/math/EulerAngle;
-
rightLegRotation
- Mappings:
Namespace Name Mixin selector official ch
Lbyd;ch:Lhv;
intermediary field_7103
Lnet/minecraft/class_1531;field_7103:Lnet/minecraft/class_2379;
named rightLegRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;rightLegRotation:Lnet/minecraft/util/math/EulerAngle;
-
-
Constructor Details
-
ArmorStandEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbiq;<init>(Lbiu;Lcpv;)V
intermediary <init>
Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
named <init>
Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
ArmorStandEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lbyd;<init>(Lcpv;DDD)V
intermediary <init>
Lnet/minecraft/class_1531;<init>(Lnet/minecraft/class_1937;DDD)V
named <init>
Lnet/minecraft/entity/decoration/ArmorStandEntity;<init>(Lnet/minecraft/world/World;DDD)V
-
-
Method Details
-
calculateDimensions
public void calculateDimensions()Calculates and sets the dimension (bounding box) of the entity and refreshes its position.- Overrides:
calculateDimensions
in classEntity
- Mappings:
Namespace Name Mixin selector official i_
Lbiq;i_()V
intermediary method_18382
Lnet/minecraft/class_1297;method_18382()V
named calculateDimensions
Lnet/minecraft/entity/Entity;calculateDimensions()V
-
canClip
private boolean canClip()- Mappings:
Namespace Name Mixin selector official G
Lbyd;G()Z
intermediary method_18059
Lnet/minecraft/class_1531;method_18059()Z
named canClip
Lnet/minecraft/entity/decoration/ArmorStandEntity;canClip()Z
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarily
in classEntity
- Mappings:
Namespace Name Mixin selector official cX
Lbiq;cX()Z
intermediary method_6034
Lnet/minecraft/class_1297;method_6034()Z
named canMoveVoluntarily
Lnet/minecraft/entity/Entity;canMoveVoluntarily()Z
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTracker
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a_
Lbiq;a_()V
intermediary method_5693
Lnet/minecraft/class_1297;method_5693()V
named initDataTracker
Lnet/minecraft/entity/Entity;initDataTracker()V
-
getHandItems
Returns an iterable of item stacks held in the hands.- Overrides:
getHandItems
in classEntity
- Returns:
- an iterable of item stacks held in the hands
- See Also:
- Mappings:
Namespace Name Mixin selector official bJ
Lbiq;bJ()Ljava/lang/Iterable;
intermediary method_5877
Lnet/minecraft/class_1297;method_5877()Ljava/lang/Iterable;
named getHandItems
Lnet/minecraft/entity/Entity;getHandItems()Ljava/lang/Iterable;
-
getArmorItems
Returns an iterable of item stacks equipped as armor.- Specified by:
getArmorItems
in classLivingEntity
- Returns:
- an iterable of item stacks equipped as armor
- See Also:
- Mappings:
Namespace Name Mixin selector official bK
Lbiq;bK()Ljava/lang/Iterable;
intermediary method_5661
Lnet/minecraft/class_1297;method_5661()Ljava/lang/Iterable;
named getArmorItems
Lnet/minecraft/entity/Entity;getArmorItems()Ljava/lang/Iterable;
-
getEquippedStack
- Specified by:
getEquippedStack
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Lbjg;c(Lbiv;)Lcjf;
intermediary method_6118
Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
named getEquippedStack
Lnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
equipStack
Equipsstack
atslot
.This is also used to set an entity's mainhand or offhand stack. This overwrites any stacks present in that slot without dropping them.- Specified by:
equipStack
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbiv;Lcjf;)V
intermediary method_5673
Lnet/minecraft/class_1297;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
named equipStack
Lnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
canEquip
- Overrides:
canEquip
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official f
Lbjg;f(Lcjf;)Z
intermediary method_18397
Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Z
named canEquip
Lnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
-
writeCustomDataToNbt
Writes custom data tonbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbt
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbiq;b(Lqw;)V
intermediary method_5652
Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
named writeCustomDataToNbt
Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt
. Subclasses have to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbt
might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbt
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lqw;)V
intermediary method_5749
Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
named readCustomDataFromNbt
Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readPoseNbt
- Mappings:
Namespace Name Mixin selector official c
Lbyd;c(Lqw;)V
intermediary method_6928
Lnet/minecraft/class_1531;method_6928(Lnet/minecraft/class_2487;)V
named readPoseNbt
Lnet/minecraft/entity/decoration/ArmorStandEntity;readPoseNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
poseToNbt
- Mappings:
Namespace Name Mixin selector official I
Lbyd;I()Lqw;
intermediary method_6911
Lnet/minecraft/class_1531;method_6911()Lnet/minecraft/class_2487;
named poseToNbt
Lnet/minecraft/entity/decoration/ArmorStandEntity;poseToNbt()Lnet/minecraft/nbt/NbtCompound;
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushable
in classLivingEntity
- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector official bs
Lbiq;bs()Z
intermediary method_5810
Lnet/minecraft/class_1297;method_5810()Z
named isPushable
Lnet/minecraft/entity/Entity;isPushable()Z
-
pushAway
- Overrides:
pushAway
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official D
Lbjg;D(Lbiq;)V
intermediary method_6087
Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)V
named pushAway
Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
tickCramming
protected void tickCramming()- Overrides:
tickCramming
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official fh
Lbjg;fh()V
intermediary method_6070
Lnet/minecraft/class_1309;method_6070()V
named tickCramming
Lnet/minecraft/entity/LivingEntity;tickCramming()V
-
interactAt
Called when the player interacts with the entity at the specific position.This should not be used in most cases;
Entity.interact(net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand)
should be used. This should be used if the interaction's result depends on which part of the entity was interacted at.- Overrides:
interactAt
in classEntity
- Parameters:
hitPos
- the interaction's position offset from the entity's position- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lcbu;Lehn;Lbgx;)Lbgy;
intermediary method_5664
Lnet/minecraft/class_1297;method_5664(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
named interactAt
Lnet/minecraft/entity/Entity;interactAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
-
getSlotFromPosition
- Mappings:
Namespace Name Mixin selector official j
Lbyd;j(Lehn;)Lbiv;
intermediary method_6916
Lnet/minecraft/class_1531;method_6916(Lnet/minecraft/class_243;)Lnet/minecraft/class_1304;
named getSlotFromPosition
Lnet/minecraft/entity/decoration/ArmorStandEntity;getSlotFromPosition(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/EquipmentSlot;
-
isSlotDisabled
- Mappings:
Namespace Name Mixin selector official e
Lbyd;e(Lbiv;)Z
intermediary method_6915
Lnet/minecraft/class_1531;method_6915(Lnet/minecraft/class_1304;)Z
named isSlotDisabled
Lnet/minecraft/entity/decoration/ArmorStandEntity;isSlotDisabled(Lnet/minecraft/entity/EquipmentSlot;)Z
-
equip
- Mappings:
Namespace Name Mixin selector official a
Lbyd;a(Lcbu;Lbiv;Lcjf;Lbgx;)Z
intermediary method_6904
Lnet/minecraft/class_1531;method_6904(Lnet/minecraft/class_1657;Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Z
named equip
Lnet/minecraft/entity/decoration/ArmorStandEntity;equip(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntity
has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntity
also have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity
, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)
and return early.- Overrides:
damage
in classLivingEntity
- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbho;F)Z
intermediary method_5643
Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
named damage
Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
handleStatus
public void handleStatus(byte status) Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.- Overrides:
handleStatus
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lbiq;b(B)V
intermediary method_5711
Lnet/minecraft/class_1297;method_5711(B)V
named handleStatus
Lnet/minecraft/entity/Entity;handleStatus(B)V
-
shouldRender
public boolean shouldRender(double distance) - Overrides:
shouldRender
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(D)Z
intermediary method_5640
Lnet/minecraft/class_1297;method_5640(D)Z
named shouldRender
Lnet/minecraft/entity/Entity;shouldRender(D)Z
-
spawnBreakParticles
private void spawnBreakParticles()- Mappings:
Namespace Name Mixin selector official K
Lbyd;K()V
intermediary method_6898
Lnet/minecraft/class_1531;method_6898()V
named spawnBreakParticles
Lnet/minecraft/entity/decoration/ArmorStandEntity;spawnBreakParticles()V
-
updateHealth
- Mappings:
Namespace Name Mixin selector official g
Lbyd;g(Lbho;F)V
intermediary method_6905
Lnet/minecraft/class_1531;method_6905(Lnet/minecraft/class_1282;F)V
named updateHealth
Lnet/minecraft/entity/decoration/ArmorStandEntity;updateHealth(Lnet/minecraft/entity/damage/DamageSource;F)V
-
breakAndDropItem
- Mappings:
Namespace Name Mixin selector official h
Lbyd;h(Lbho;)V
intermediary method_6924
Lnet/minecraft/class_1531;method_6924(Lnet/minecraft/class_1282;)V
named breakAndDropItem
Lnet/minecraft/entity/decoration/ArmorStandEntity;breakAndDropItem(Lnet/minecraft/entity/damage/DamageSource;)V
-
onBreak
- Mappings:
Namespace Name Mixin selector official i
Lbyd;i(Lbho;)V
intermediary method_6908
Lnet/minecraft/class_1531;method_6908(Lnet/minecraft/class_1282;)V
named onBreak
Lnet/minecraft/entity/decoration/ArmorStandEntity;onBreak(Lnet/minecraft/entity/damage/DamageSource;)V
-
playBreakSound
private void playBreakSound()- Mappings:
Namespace Name Mixin selector official L
Lbyd;L()V
intermediary method_6920
Lnet/minecraft/class_1531;method_6920()V
named playBreakSound
Lnet/minecraft/entity/decoration/ArmorStandEntity;playBreakSound()V
-
turnHead
protected float turnHead(float bodyRotation, float headRotation) - Overrides:
turnHead
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official e
Lbjg;e(FF)F
intermediary method_6031
Lnet/minecraft/class_1309;method_6031(FF)F
named turnHead
Lnet/minecraft/entity/LivingEntity;turnHead(FF)F
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeight
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official b
Lbjg;b(Lbjs;Lbir;)F
intermediary method_18394
Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
named getActiveEyeHeight
Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
travel
Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.See vanilla examples of custom horse vehicle and flying entities.
- Overrides:
travel
in classLivingEntity
- Parameters:
movementInput
- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector official h
Lbjg;h(Lehn;)V
intermediary method_6091
Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
named travel
Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
setBodyYaw
public void setBodyYaw(float bodyYaw) Sets the body yaw of this entity.- Overrides:
setBodyYaw
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official o
Lbiq;o(F)V
intermediary method_5636
Lnet/minecraft/class_1297;method_5636(F)V
named setBodyYaw
Lnet/minecraft/entity/Entity;setBodyYaw(F)V
-
setHeadYaw
public void setHeadYaw(float headYaw) Sets the head yaw of this entity.- Overrides:
setHeadYaw
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official n
Lbiq;n(F)V
intermediary method_5847
Lnet/minecraft/class_1297;method_5847(F)V
named setHeadYaw
Lnet/minecraft/entity/Entity;setHeadYaw(F)V
-
tick
public void tick()Ticks this entity.- Overrides:
tick
in classLivingEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official l
Lbiq;l()V
intermediary method_5773
Lnet/minecraft/class_1297;method_5773()V
named tick
Lnet/minecraft/entity/Entity;tick()V
-
updatePotionVisibility
protected void updatePotionVisibility()- Overrides:
updatePotionVisibility
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official H
Lbjg;H()V
intermediary method_6027
Lnet/minecraft/class_1309;method_6027()V
named updatePotionVisibility
Lnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
-
setInvisible
public void setInvisible(boolean invisible) Sets whether the entity is invisible to everyone.Invisibility status effect and
ArmorStandEntity
'sInvisible
NBT key can cause an entity to be invisible.- Overrides:
setInvisible
in classEntity
- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lbiq;j(Z)V
intermediary method_5648
Lnet/minecraft/class_1297;method_5648(Z)V
named setInvisible
Lnet/minecraft/entity/Entity;setInvisible(Z)V
-
isBaby
public boolean isBaby()- Overrides:
isBaby
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official m_
Lbjg;m_()Z
intermediary method_6109
Lnet/minecraft/class_1309;method_6109()Z
named isBaby
Lnet/minecraft/entity/LivingEntity;isBaby()Z
-
kill
public void kill()Kills the entity.This drops loot when applicable, and emits the
GameEvent.ENTITY_DIE
game event.- Overrides:
kill
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official aj
Lbiq;aj()V
intermediary method_5768
Lnet/minecraft/class_1297;method_5768()V
named kill
Lnet/minecraft/entity/Entity;kill()V
-
isImmuneToExplosion
public boolean isImmuneToExplosion()Returns whether the entity is immune from explosion knockback and damage.Invisible
ArmorStandEntity
and emerging or diggingWardenEntity
are immune from explosions.- Overrides:
isImmuneToExplosion
in classEntity
- Returns:
- whether the entity is immune from explosion knockback and damage
- Mappings:
Namespace Name Mixin selector official cL
Lbiq;cL()Z
intermediary method_5659
Lnet/minecraft/class_1297;method_5659()Z
named isImmuneToExplosion
Lnet/minecraft/entity/Entity;isImmuneToExplosion()Z
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMAL
by default.AreaEffectCloudEntity
,MarkerEntity
, and markerArmorStandEntity
returnPistonBehavior.IGNORE
, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL
.- Overrides:
getPistonBehavior
in classEntity
- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector official q_
Lbiq;q_()Lear;
intermediary method_5657
Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
named getPistonBehavior
Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
-
canAvoidTraps
public boolean canAvoidTraps()Returns whether the entity cannot trigger pressure plates or tripwires.BatEntity
is the only entity in vanilla that can avoid traps.- Overrides:
canAvoidTraps
in classEntity
- Returns:
- whether the entity cannot trigger pressure plates or tripwires
- Mappings:
Namespace Name Mixin selector official p_
Lbiq;p_()Z
intermediary method_5696
Lnet/minecraft/class_1297;method_5696()Z
named canAvoidTraps
Lnet/minecraft/entity/Entity;canAvoidTraps()Z
-
setSmall
private void setSmall(boolean small) - Mappings:
Namespace Name Mixin selector official t
Lbyd;t(Z)V
intermediary method_6922
Lnet/minecraft/class_1531;method_6922(Z)V
named setSmall
Lnet/minecraft/entity/decoration/ArmorStandEntity;setSmall(Z)V
-
isSmall
public boolean isSmall()- Mappings:
Namespace Name Mixin selector official s
Lbyd;s()Z
intermediary method_6914
Lnet/minecraft/class_1531;method_6914()Z
named isSmall
Lnet/minecraft/entity/decoration/ArmorStandEntity;isSmall()Z
-
setShowArms
public void setShowArms(boolean showArms) - Mappings:
Namespace Name Mixin selector official a
Lbyd;a(Z)V
intermediary method_6913
Lnet/minecraft/class_1531;method_6913(Z)V
named setShowArms
Lnet/minecraft/entity/decoration/ArmorStandEntity;setShowArms(Z)V
-
shouldShowArms
public boolean shouldShowArms()- Mappings:
Namespace Name Mixin selector official t
Lbyd;t()Z
intermediary method_6929
Lnet/minecraft/class_1531;method_6929()Z
named shouldShowArms
Lnet/minecraft/entity/decoration/ArmorStandEntity;shouldShowArms()Z
-
setHideBasePlate
public void setHideBasePlate(boolean hideBasePlate) - Mappings:
Namespace Name Mixin selector official s
Lbyd;s(Z)V
intermediary method_6907
Lnet/minecraft/class_1531;method_6907(Z)V
named setHideBasePlate
Lnet/minecraft/entity/decoration/ArmorStandEntity;setHideBasePlate(Z)V
-
shouldHideBasePlate
public boolean shouldHideBasePlate()- Mappings:
Namespace Name Mixin selector official w
Lbyd;w()Z
intermediary method_6901
Lnet/minecraft/class_1531;method_6901()Z
named shouldHideBasePlate
Lnet/minecraft/entity/decoration/ArmorStandEntity;shouldHideBasePlate()Z
-
setMarker
private void setMarker(boolean marker) - Mappings:
Namespace Name Mixin selector official u
Lbyd;u(Z)V
intermediary method_6902
Lnet/minecraft/class_1531;method_6902(Z)V
named setMarker
Lnet/minecraft/entity/decoration/ArmorStandEntity;setMarker(Z)V
-
isMarker
public boolean isMarker()- Mappings:
Namespace Name Mixin selector official y
Lbyd;y()Z
intermediary method_6912
Lnet/minecraft/class_1531;method_6912()Z
named isMarker
Lnet/minecraft/entity/decoration/ArmorStandEntity;isMarker()Z
-
setBitField
private byte setBitField(byte value, int bitField, boolean set) - Mappings:
Namespace Name Mixin selector official a
Lbyd;a(BIZ)B
intermediary method_6906
Lnet/minecraft/class_1531;method_6906(BIZ)B
named setBitField
Lnet/minecraft/entity/decoration/ArmorStandEntity;setBitField(BIZ)B
-
setHeadRotation
- Mappings:
Namespace Name Mixin selector official a
Lbyd;a(Lhv;)V
intermediary method_6919
Lnet/minecraft/class_1531;method_6919(Lnet/minecraft/class_2379;)V
named setHeadRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;setHeadRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setBodyRotation
- Mappings:
Namespace Name Mixin selector official b
Lbyd;b(Lhv;)V
intermediary method_6927
Lnet/minecraft/class_1531;method_6927(Lnet/minecraft/class_2379;)V
named setBodyRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;setBodyRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setLeftArmRotation
- Mappings:
Namespace Name Mixin selector official c
Lbyd;c(Lhv;)V
intermediary method_6910
Lnet/minecraft/class_1531;method_6910(Lnet/minecraft/class_2379;)V
named setLeftArmRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;setLeftArmRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setRightArmRotation
- Mappings:
Namespace Name Mixin selector official d
Lbyd;d(Lhv;)V
intermediary method_6925
Lnet/minecraft/class_1531;method_6925(Lnet/minecraft/class_2379;)V
named setRightArmRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;setRightArmRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setLeftLegRotation
- Mappings:
Namespace Name Mixin selector official e
Lbyd;e(Lhv;)V
intermediary method_6909
Lnet/minecraft/class_1531;method_6909(Lnet/minecraft/class_2379;)V
named setLeftLegRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;setLeftLegRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setRightLegRotation
- Mappings:
Namespace Name Mixin selector official f
Lbyd;f(Lhv;)V
intermediary method_6926
Lnet/minecraft/class_1531;method_6926(Lnet/minecraft/class_2379;)V
named setRightLegRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;setRightLegRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
getHeadRotation
- Mappings:
Namespace Name Mixin selector official z
Lbyd;z()Lhv;
intermediary method_6921
Lnet/minecraft/class_1531;method_6921()Lnet/minecraft/class_2379;
named getHeadRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;getHeadRotation()Lnet/minecraft/util/math/EulerAngle;
-
getBodyRotation
- Mappings:
Namespace Name Mixin selector official A
Lbyd;A()Lhv;
intermediary method_6923
Lnet/minecraft/class_1531;method_6923()Lnet/minecraft/class_2379;
named getBodyRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;getBodyRotation()Lnet/minecraft/util/math/EulerAngle;
-
getLeftArmRotation
- Mappings:
Namespace Name Mixin selector official B
Lbyd;B()Lhv;
intermediary method_6930
Lnet/minecraft/class_1531;method_6930()Lnet/minecraft/class_2379;
named getLeftArmRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;getLeftArmRotation()Lnet/minecraft/util/math/EulerAngle;
-
getRightArmRotation
- Mappings:
Namespace Name Mixin selector official C
Lbyd;C()Lhv;
intermediary method_6903
Lnet/minecraft/class_1531;method_6903()Lnet/minecraft/class_2379;
named getRightArmRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;getRightArmRotation()Lnet/minecraft/util/math/EulerAngle;
-
getLeftLegRotation
- Mappings:
Namespace Name Mixin selector official E
Lbyd;E()Lhv;
intermediary method_6917
Lnet/minecraft/class_1531;method_6917()Lnet/minecraft/class_2379;
named getLeftLegRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;getLeftLegRotation()Lnet/minecraft/util/math/EulerAngle;
-
getRightLegRotation
- Mappings:
Namespace Name Mixin selector official F
Lbyd;F()Lhv;
intermediary method_6900
Lnet/minecraft/class_1531;method_6900()Lnet/minecraft/class_2379;
named getRightLegRotation
Lnet/minecraft/entity/decoration/ArmorStandEntity;getRightLegRotation()Lnet/minecraft/util/math/EulerAngle;
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHit
in classLivingEntity
- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector official br
Lbiq;br()Z
intermediary method_5863
Lnet/minecraft/class_1297;method_5863()Z
named canHit
Lnet/minecraft/entity/Entity;canHit()Z
-
handleAttack
Handles a player attacking the entity. This is called beforeEntity.damage(net.minecraft.entity.damage.DamageSource, float)
and can be used to restrict players from attacking the entity by returningtrue
.- Overrides:
handleAttack
in classEntity
- Returns:
- whether to stop handling the attack
- See Also:
- Mappings:
Namespace Name Mixin selector official u
Lbiq;u(Lbiq;)Z
intermediary method_5698
Lnet/minecraft/class_1297;method_5698(Lnet/minecraft/class_1297;)Z
named handleAttack
Lnet/minecraft/entity/Entity;handleAttack(Lnet/minecraft/entity/Entity;)Z
-
getMainArm
- Specified by:
getMainArm
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official fl
Lbjg;fl()Lbja;
intermediary method_6068
Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;
named getMainArm
Lnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
-
getFallSounds
- Overrides:
getFallSounds
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eF
Lbjg;eF()Lbjg$a;
intermediary method_39760
Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;
named getFallSounds
Lnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
-
getHurtSound
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official d
Lbjg;d(Lbho;)Lapc;
intermediary method_6011
Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
named getHurtSound
Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official l_
Lbjg;l_()Lapc;
intermediary method_6002
Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
named getDeathSound
Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
-
onStruckByLightning
Called when the entity is struck by lightning. This sets the entity on fire and deals lightning damage by default; entities that do not take such damage should override this method to do nothing.- Overrides:
onStruckByLightning
in classEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lakq;Lbjf;)V
intermediary method_5800
Lnet/minecraft/class_1297;method_5800(Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)V
named onStruckByLightning
Lnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LightningEntity;)V
-
isAffectedBySplashPotions
public boolean isAffectedBySplashPotions()- Overrides:
isAffectedBySplashPotions
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official fx
Lbjg;fx()Z
intermediary method_6086
Lnet/minecraft/class_1309;method_6086()Z
named isAffectedBySplashPotions
Lnet/minecraft/entity/LivingEntity;isAffectedBySplashPotions()Z
-
onTrackedDataSet
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Overrides:
onTrackedDataSet
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Laee;)V
intermediary method_5674
Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
named onTrackedDataSet
Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
isMobOrPlayer
public boolean isMobOrPlayer()- Overrides:
isMobOrPlayer
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official fy
Lbjg;fy()Z
intermediary method_6102
Lnet/minecraft/class_1309;method_6102()Z
named isMobOrPlayer
Lnet/minecraft/entity/LivingEntity;isMobOrPlayer()Z
-
getDimensions
Returns the dimensions of the entity with the givenpose
.- Overrides:
getDimensions
in classLivingEntity
- Returns:
- the dimensions of the entity with the given
pose
- See Also:
- Mappings:
Namespace Name Mixin selector official a
Lbiq;a(Lbjs;)Lbir;
intermediary method_18377
Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
named getDimensions
Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getDimensions
- Mappings:
Namespace Name Mixin selector official v
Lbyd;v(Z)Lbir;
intermediary method_31168
Lnet/minecraft/class_1531;method_31168(Z)Lnet/minecraft/class_4048;
named getDimensions
Lnet/minecraft/entity/decoration/ArmorStandEntity;getDimensions(Z)Lnet/minecraft/entity/EntityDimensions;
-
getClientCameraPosVec
- Overrides:
getClientCameraPosVec
in classEntity
- Mappings:
Namespace Name Mixin selector official k
Lbiq;k(F)Lehn;
intermediary method_31166
Lnet/minecraft/class_1297;method_31166(F)Lnet/minecraft/class_243;
named getClientCameraPosVec
Lnet/minecraft/entity/Entity;getClientCameraPosVec(F)Lnet/minecraft/util/math/Vec3d;
-
getPickBlockStack
Returns the stack for creative "pick block" functionality, ornull
if there is none.If the entity has an item representation (such as boats or minecarts), this should be overridden to return a new stack. Note that
MobEntity
handles the spawn eggs.ItemFrameEntity
instead returns the copy of the stack held in the frame.- Overrides:
getPickBlockStack
in classEntity
- Returns:
- the stack for creative "pick block" functionality, or
null
if there is none - Mappings:
Namespace Name Mixin selector official dy
Lbiq;dy()Lcjf;
intermediary method_31480
Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
named getPickBlockStack
Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-
isPartOfGame
public boolean isPartOfGame()- Overrides:
isPartOfGame
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official eo
Lbjg;eo()Z
intermediary method_36608
Lnet/minecraft/class_1309;method_36608()Z
named isPartOfGame
Lnet/minecraft/entity/LivingEntity;isPartOfGame()Z
-