Class ArmorStandEntity
- All Implemented Interfaces:
ComponentsAccess,Attackable,DataTracked,ScoreHolder,Nameable,EntityLike,UniquelyIdentifiable
- Mappings:
Namespace Name named net/minecraft/entity/decoration/ArmorStandEntityintermediary net/minecraft/class_1531official coc
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TrackedData<Byte> private EulerAnglestatic final EulerAngleprivate static final intstatic final EulerAnglestatic final EulerAnglestatic final EulerAnglestatic final EulerAnglestatic final EulerAngleprivate intstatic final intprivate static final booleanstatic final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doublestatic final intprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate static final booleanprivate EulerAnglestatic final intprivate booleanlongprivate EulerAngleprivate EulerAngleprivate static final EntityDimensionsstatic final intprivate EulerAngleprivate EulerAnglestatic final intprivate static final EntityDimensionsstatic final intstatic 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, ATTRIBUTES_NBT_KEY, BABY_SCALE_FACTOR, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, elytraFlightController, equipment, EQUIPMENT_SLOT_ID, field_30072, field_30074, field_30075, field_44874, field_47756, field_48827, field_55952, field_56256, forwardSpeed, glidingTicks, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, interpolator, itemUseTimeLeft, jumping, lastAttackedTicks, lastBodyYaw, lastDamageTaken, lastHandSwingProgress, lastHeadYaw, limbAnimator, LIVING_FLAGS, maxHurtTime, NOT_WEARING_GAZE_DISGUISE_PREDICATE, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, riptideAttackDamage, riptideStack, riptideTicks, serverHeadYaw, sidewaysSpeed, SLEEPING_DIMENSIONS, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, fallDistance, field_44870, field_44871, field_44872, field_49073, field_49791, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLIDING_FLAG_INDEX, GLOWING_FLAG_INDEX, groundCollision, horizontalCollision, ID_KEY, inPowderSnow, intersectionChecked, lastPitch, lastRenderX, lastRenderY, lastRenderZ, lastX, lastY, lastYaw, lastZ, MAX_COMMAND_TAGS, MAX_RIDING_COOLDOWN, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, noClip, ON_FIRE_FLAG_INDEX, PASSENGERS_KEY, portalManager, POSE, random, ridingCooldown, speed, submergedInWater, supportingBlockPos, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnowFields inherited from interface net.minecraft.scoreboard.ScoreHolder
WILDCARD, WILDCARD_NAME -
Constructor Summary
ConstructorsConstructorDescriptionArmorStandEntity(EntityType<? extends ArmorStandEntity> type, World world) ArmorStandEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbreakAndDropItem(ServerWorld world, DamageSource damageSource) voidCalculates and sets the dimension (bounding box) of the entity and refreshes its position.booleanbooleanReturns whether the entity cannot trigger pressure plates or tripwires.private booleancanClip()booleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.booleancanUseSlot(EquipmentSlot slot) booleandamage(ServerWorld world, DamageSource source, float amount) Applies a damage to this entity.private booleanequip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand) getBaseDimensions(EntityPose pose) getClientCameraPosVec(float tickProgress) protected @Nullable SoundEventprivate EntityDimensionsgetDimensions(boolean marker) protected @Nullable SoundEventgetHurtSound(DamageSource source) Returns the stack for creative "pick block" functionality, ornullif there is none.Returns the behavior of the piston for this entity.private EquipmentSlotgetSlotFromPosition(Vec3d hitPos) booleanhandleAttack(Entity attacker) Handles a player attacking the entity.voidhandleStatus(byte status) Called on the client when the entity receives an entity status from the server.protected voidinitDataTracker(DataTracker.Builder builder) Initializes data tracker.interactAt(PlayerEntity player, Vec3d hitPos, Hand hand) Called when the player interacts with the entity at the specific position.booleanbooleanisBaby()booleanisImmuneToExplosion(Explosion explosion) Returns whether the entity is immune from explosion knockback and damage.booleanisMarker()booleanbooleanbooleanReturns whether the entity can be pushed by other entities.private booleanisSlotDisabled(EquipmentSlot slot) booleanisSmall()voidkill(ServerWorld world) Kills the entity.private voidonBreak(ServerWorld world, DamageSource damageSource) voidonStruckByLightning(ServerWorld world, LightningEntity lightning) Called when the entity is struck by lightning.voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.private voidprivate NbtCompoundprotected voidvoidReads custom data fromnbt.private voidreadPoseNbt(NbtCompound nbtCompound) private bytesetBitField(byte value, int bitField, boolean set) voidsetBodyRotation(EulerAngle angle) voidsetBodyYaw(float bodyYaw) Sets the body yaw of this entity.voidsetHeadRotation(EulerAngle angle) voidsetHeadYaw(float headYaw) Sets the head yaw of this entity.voidsetHideBasePlate(boolean hideBasePlate) voidsetInvisible(boolean invisible) Sets whether the entity is invisible to everyone.voidsetLeftArmRotation(EulerAngle angle) voidsetLeftLegRotation(EulerAngle angle) private voidsetMarker(boolean marker) voidsetRightArmRotation(EulerAngle angle) voidsetRightLegRotation(EulerAngle angle) voidsetShowArms(boolean showArms) private voidsetSmall(boolean small) booleanshouldRender(double distance) booleanbooleanprivate voidvoidtick()Ticks this entity.protected voidvoidAllows you to do certain speed and velocity calculations.protected voidturnHead(float bodyRotation) private voidupdateHealth(ServerWorld world, DamageSource damageSource, float amount) protected voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.LivingEntity
addDeathParticles, addPowderSnowSlowIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, areItemsDifferent, attackLivingEntity, baseTick, becomeAngry, canBreatheInWater, canDispenserEquipSlot, canEquip, canEquipFromDispenser, canFreeze, canGlide, canGlideWith, canHaveStatusEffect, canPickUpLoot, canSee, canSee, canTakeDamage, canTarget, canTarget, canUsePortals, canWalkOnFluid, clampScale, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createEquipment, createLivingAttributes, damageArmor, damageEquipment, damageHelmet, deserializeBrain, disableExperienceDropping, drop, dropEquipment, dropExperience, dropInventory, dropItem, dropLoot, endCombat, enterCombat, equipStack, fall, forEachGeneratedItem, forEachGiftedItem, forEachShearedItem, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackingPlayer, getAttackKnockbackAgainst, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseWaterMovementSpeedMultiplier, getBlockingItem, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getControlledMovementInput, getDamageBlockedAmount, getDamageTiltYaw, getDamageTracker, getDespawnCounter, getDimensions, getEffectFadeFactor, getEffectiveGravity, getEquippedStack, getEquipSound, getExperienceToDrop, getExperienceToDrop, getGlidingTicks, getGravity, getHandSwingProgress, getHeadYaw, getHealth, getHitbox, getInterpolator, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getJumpVelocity, getLastAttackedTime, getLastAttacker, getLastAttackTime, getLeaningPitch, getLocationBasedEnchantmentEffects, getLootTableSeed, getLuck, getMainHandStack, getMaxAbsorption, getMaxHealth, getMaxRelativeHeadRotation, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffGroundSpeed, getOffHandStack, getPassengerRidingPos, getPlayerHitTimer, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getProjectileType, getRecentDamageSource, getSaddledSpeed, getSafeFallDistance, getSafeFallDistance, getScale, getScaleFactor, getSleepingDirection, getSleepingPosition, getSlotForHand, getSoundPitch, getSoundVolume, getStackInArm, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStepHeight, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getWeaponDisableBlockingForSeconds, getWeaponStack, getYaw, giveOrDropStack, handleFallDamage, hasInvertedHealingAndHarm, hasLandedInFluid, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAlive, isArmorSlot, isBlocking, isClimbing, isDead, isEntityLookingAtMe, isExperienceDroppingDisabled, isGliding, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInCreativeMode, isInsideWall, isInSwimmingPose, isInvulnerableTo, isSleeping, isUsingItem, isUsingRiptide, jump, knockback, knockDownwards, lerpHeadYaw, lerpYaw, lookAt, markEffectsDirty, modifyAppliedDamage, onAttacking, onDamaged, onDeath, onEquipStack, onKilledBy, onRemoval, onSpawnPacket, onStatusEffectApplied, onStatusEffectsRemoved, onStatusEffectUpgraded, playBlockFallSound, playHurtSound, playSound, positionInPortal, positionInPortal, pushAwayFrom, remove, removePowderSnowSlow, removeStatusEffect, removeStatusEffectInternal, sendEffectToControllingPlayer, sendEquipmentBreakStatus, sendPickup, setAbsorptionAmount, setAbsorptionAmountUnclamped, setAttacker, setAttacking, setAttacking, setAttackingPlayer, setCurrentHand, setDespawnCounter, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnFireForTicks, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropExperience, shouldDropExperience, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnItemParticles, stopGliding, stopRiding, stopUsingItem, swimUpward, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickControlled, tickGliding, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovement, tickMovementInput, tickNewAi, tickRiding, tickRiptide, tickStatusEffects, tiltScreen, triggerItemPickedUpByEntityCriteria, tryAttack, updateAttribute, updateLimbs, updateLimbs, updatePostDeath, updateTrackedHeadRotation, wakeUp, wouldNotSuffocateInPoseMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addCommandTag, addFlapEffects, addPassenger, addPortalChunkTicketAt, addVelocity, addVelocity, addVelocityInternal, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyBubbleColumnEffects, applyBubbleColumnSurfaceEffects, applyGravity, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateDefaultBoundingBox, calculateNextStepSoundDistance, canAddPassenger, canBeHitByProjectile, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canMoveVoluntarily, canSprintAsVehicle, canStartRiding, canTeleportBetween, castComponentValue, changeLookDirection, checkDespawn, clientDamage, collidesWith, collidesWithStateAtPos, copyComponentFrom, copyComponentsFrom, copyComponentsFrom, copyFrom, copyPositionAndRotation, couldAcceptPassenger, createSpawnPacket, defrost, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, equals, extinguish, extinguishWithSound, get, getAir, getAttachments, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyX, getBodyY, getBodyZ, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getCommandSource, getCommandTags, getControllingPassenger, getControllingVehicle, getCustomName, getDamageSources, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFacing, getFinalGravity, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLastRenderPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPitch, getLerpedPos, getLerpedYaw, getLootTableKey, getMaxAir, getMinFreezeDamageTicks, getMoveEffect, getMovement, getMovementDirection, getName, getNameForScoreboard, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerAttachmentPos, getPassengerAttachmentPos, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPitch, getPitch, getPlayerPassengers, getPortalCooldown, getPos, getPose, getPosWithYOffset, getProjectileDeflection, getRandom, getRandomBodyY, getRegistryManager, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getStepSoundPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVehicleAttachmentPos, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getWorldSpawnPos, getX, getY, getYaw, getZ, handleFall, handleFallDamageForPassengers, hasCollidedSoftly, hasControllingPassenger, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPlayerRider, hasPortalCooldown, hasVehicle, igniteByLava, interact, isAlwaysInvulnerableTo, isAttackable, isCollidable, isConnectedThroughVehicle, isControlledByMainPlayer, isControlledByPlayer, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFlappingWings, isFrozen, isGlowingLocal, isInFluid, isInLava, isInPose, isInRange, isInRange, isInSameTeam, isInSneakingPose, isInterpolating, isInvisible, isInvisibleTo, isInvulnerable, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isOnRail, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSupportedBy, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, lerpPosAndRotation, limitFallDistance, move, movementInputToVelocity, occludeVibrationSignals, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onDataTrackerUpdate, onExplodedBy, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemove, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playCombinationStepSounds, playExtinguishSound, playSecondaryStepSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, playSwimSound, popQueuedCollisionCheck, populateCrashReport, pushOutOfBlocks, raycast, readNbt, recalculateDimensions, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, removeAllPassengers, removeCommandTag, removeFromDimension, removePassenger, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, rotate, saveNbt, saveSelfNbt, scheduleVelocityUpdate, serverDamage, setAir, setAngles, setApplicableComponent, setBoundingBox, setChangeListener, setComponent, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInPowderSnow, setInvulnerable, setLastPositionAndAngles, setMovement, setMovement, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setOnGround, setPitch, setPortalCooldown, setPos, setPose, setPosition, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setWorld, setYaw, shouldControlVehicles, shouldDismountUnderwater, shouldEscapePowderSnow, shouldPlayBurnSoundInLava, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTickBlockCollision, sidedDamage, slowMovement, spawnBubbleColumnParticles, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, teleportTo, tickBlockCollision, tickBlockCollision, tickPortalCooldown, tickPortalTeleportation, toString, tryUsePortal, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateLastAngles, updateLastPosition, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSupportingBlockPos, updateSwimming, updateTrackedPosition, updateTrackedPositionAndAngles, updateVelocity, updateWaterState, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.component.ComponentsAccess
getOrDefault, getTypedMethods inherited from interface net.minecraft.scoreboard.ScoreHolder
getStyledDisplayName
-
Field Details
-
field_30443
public static final int field_30443- See Also:
- Mappings:
Namespace Name Mixin selector named field_30443Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30443:Iintermediary field_30443Lnet/minecraft/class_1531;field_30443:Iofficial aLcoc;a:I
-
field_30445
private static final boolean field_30445- See Also:
- Mappings:
Namespace Name Mixin selector named field_30445Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30445:Zintermediary field_30445Lnet/minecraft/class_1531;field_30445:Zofficial bELcoc;bE:Z
-
DEFAULT_HEAD_ROTATION
- Mappings:
Namespace Name Mixin selector named DEFAULT_HEAD_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_HEAD_ROTATION:Lnet/minecraft/util/math/EulerAngle;intermediary field_7113Lnet/minecraft/class_1531;field_7113:Lnet/minecraft/class_2379;official bLcoc;b:Ljy;
-
DEFAULT_BODY_ROTATION
- Mappings:
Namespace Name Mixin selector named DEFAULT_BODY_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_BODY_ROTATION:Lnet/minecraft/util/math/EulerAngle;intermediary field_7119Lnet/minecraft/class_1531;field_7119:Lnet/minecraft/class_2379;official cLcoc;c:Ljy;
-
DEFAULT_LEFT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector named DEFAULT_LEFT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;intermediary field_7124Lnet/minecraft/class_1531;field_7124:Lnet/minecraft/class_2379;official dLcoc;d:Ljy;
-
DEFAULT_RIGHT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector named DEFAULT_RIGHT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;intermediary field_7115Lnet/minecraft/class_1531;field_7115:Lnet/minecraft/class_2379;official eLcoc;e:Ljy;
-
DEFAULT_LEFT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector named DEFAULT_LEFT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;intermediary field_7121Lnet/minecraft/class_1531;field_7121:Lnet/minecraft/class_2379;official fLcoc;f:Ljy;
-
DEFAULT_RIGHT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector named DEFAULT_RIGHT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;intermediary field_7117Lnet/minecraft/class_1531;field_7117:Lnet/minecraft/class_2379;official gLcoc;g:Ljy;
-
MARKER_DIMENSIONS
- Mappings:
Namespace Name Mixin selector named MARKER_DIMENSIONSLnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;intermediary field_26745Lnet/minecraft/class_1531;field_26745:Lnet/minecraft/class_4048;official bFLcoc;bF:Lbxh;
-
SMALL_DIMENSIONS
- Mappings:
Namespace Name Mixin selector named SMALL_DIMENSIONSLnet/minecraft/entity/decoration/ArmorStandEntity;SMALL_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;intermediary field_26746Lnet/minecraft/class_1531;field_26746:Lnet/minecraft/class_4048;official bGLcoc;bG:Lbxh;
-
field_30447
private static final double field_30447- See Also:
- Mappings:
Namespace Name Mixin selector named field_30447Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30447:Dintermediary field_30447Lnet/minecraft/class_1531;field_30447:Dofficial bHLcoc;bH:D
-
field_30448
private static final double field_30448- See Also:
- Mappings:
Namespace Name Mixin selector named field_30448Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30448:Dintermediary field_30448Lnet/minecraft/class_1531;field_30448:Dofficial bILcoc;bI:D
-
field_30449
private static final double field_30449- See Also:
- Mappings:
Namespace Name Mixin selector named field_30449Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30449:Dintermediary field_30449Lnet/minecraft/class_1531;field_30449:Dofficial bJLcoc;bJ:D
-
field_30450
private static final double field_30450- See Also:
- Mappings:
Namespace Name Mixin selector named field_30450Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30450:Dintermediary field_30450Lnet/minecraft/class_1531;field_30450:Dofficial bKLcoc;bK:D
-
field_30446
public static final int field_30446- See Also:
- Mappings:
Namespace Name Mixin selector named field_30446Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30446:Iintermediary field_30446Lnet/minecraft/class_1531;field_30446:Iofficial hLcoc;h:I
-
field_30451
public static final int field_30451- See Also:
- Mappings:
Namespace Name Mixin selector named field_30451Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30451:Iintermediary field_30451Lnet/minecraft/class_1531;field_30451:Iofficial iLcoc;i:I
-
SMALL_FLAG
public static final int SMALL_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SMALL_FLAGLnet/minecraft/entity/decoration/ArmorStandEntity;SMALL_FLAG:Iintermediary field_30452Lnet/minecraft/class_1531;field_30452:Iofficial jLcoc;j:I
-
SHOW_ARMS_FLAG
public static final int SHOW_ARMS_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named SHOW_ARMS_FLAGLnet/minecraft/entity/decoration/ArmorStandEntity;SHOW_ARMS_FLAG:Iintermediary field_30453Lnet/minecraft/class_1531;field_30453:Iofficial kLcoc;k:I
-
HIDE_BASE_PLATE_FLAG
public static final int HIDE_BASE_PLATE_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named HIDE_BASE_PLATE_FLAGLnet/minecraft/entity/decoration/ArmorStandEntity;HIDE_BASE_PLATE_FLAG:Iintermediary field_30442Lnet/minecraft/class_1531;field_30442:Iofficial buLcoc;bu:I
-
MARKER_FLAG
public static final int MARKER_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector named MARKER_FLAGLnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_FLAG:Iintermediary field_30444Lnet/minecraft/class_1531;field_30444:Iofficial bvLcoc;bv:I
-
ARMOR_STAND_FLAGS
- Mappings:
Namespace Name Mixin selector named ARMOR_STAND_FLAGSLnet/minecraft/entity/decoration/ArmorStandEntity;ARMOR_STAND_FLAGS:Lnet/minecraft/entity/data/TrackedData;intermediary field_7107Lnet/minecraft/class_1531;field_7107:Lnet/minecraft/class_2940;official bwLcoc;bw:Laku;
-
TRACKER_HEAD_ROTATION
- Mappings:
Namespace Name Mixin selector named TRACKER_HEAD_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_HEAD_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_7123Lnet/minecraft/class_1531;field_7123:Lnet/minecraft/class_2940;official bxLcoc;bx:Laku;
-
TRACKER_BODY_ROTATION
- Mappings:
Namespace Name Mixin selector named TRACKER_BODY_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_BODY_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_7122Lnet/minecraft/class_1531;field_7122:Lnet/minecraft/class_2940;official byLcoc;by:Laku;
-
TRACKER_LEFT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector named TRACKER_LEFT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_7116Lnet/minecraft/class_1531;field_7116:Lnet/minecraft/class_2940;official bzLcoc;bz:Laku;
-
TRACKER_RIGHT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector named TRACKER_RIGHT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_7105Lnet/minecraft/class_1531;field_7105:Lnet/minecraft/class_2940;official bALcoc;bA:Laku;
-
TRACKER_LEFT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector named TRACKER_LEFT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_7127Lnet/minecraft/class_1531;field_7127:Lnet/minecraft/class_2940;official bBLcoc;bB:Laku;
-
TRACKER_RIGHT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector named TRACKER_RIGHT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;intermediary field_7125Lnet/minecraft/class_1531;field_7125:Lnet/minecraft/class_2940;official bCLcoc;bC:Laku;
-
RIDEABLE_MINECART_PREDICATE
- Mappings:
Namespace Name Mixin selector named RIDEABLE_MINECART_PREDICATELnet/minecraft/entity/decoration/ArmorStandEntity;RIDEABLE_MINECART_PREDICATE:Ljava/util/function/Predicate;intermediary field_7102Lnet/minecraft/class_1531;field_7102:Ljava/util/function/Predicate;official bLLcoc;bL:Ljava/util/function/Predicate;
-
field_57644
private static final boolean field_57644- See Also:
- Mappings:
Namespace Name Mixin selector named field_57644Lnet/minecraft/entity/decoration/ArmorStandEntity;field_57644:Zintermediary field_57644Lnet/minecraft/class_1531;field_57644:Zofficial bMLcoc;bM:Z
-
DEFAULT_DISABLED_SLOTS
private static final int DEFAULT_DISABLED_SLOTS- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_DISABLED_SLOTSLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_DISABLED_SLOTS:Iintermediary field_57645Lnet/minecraft/class_1531;field_57645:Iofficial bNLcoc;bN:I
-
field_57646
private static final boolean field_57646- See Also:
- Mappings:
Namespace Name Mixin selector named field_57646Lnet/minecraft/entity/decoration/ArmorStandEntity;field_57646:Zintermediary field_57646Lnet/minecraft/class_1531;field_57646:Zofficial bOLcoc;bO:Z
-
field_57647
private static final boolean field_57647- See Also:
- Mappings:
Namespace Name Mixin selector named field_57647Lnet/minecraft/entity/decoration/ArmorStandEntity;field_57647:Zintermediary field_57647Lnet/minecraft/class_1531;field_57647:Zofficial bPLcoc;bP:Z
-
field_57648
private static final boolean field_57648- See Also:
- Mappings:
Namespace Name Mixin selector named field_57648Lnet/minecraft/entity/decoration/ArmorStandEntity;field_57648:Zintermediary field_57648Lnet/minecraft/class_1531;field_57648:Zofficial bQLcoc;bQ:Z
-
field_57649
private static final boolean field_57649- See Also:
- Mappings:
Namespace Name Mixin selector named field_57649Lnet/minecraft/entity/decoration/ArmorStandEntity;field_57649:Zintermediary field_57649Lnet/minecraft/class_1531;field_57649:Zofficial bRLcoc;bR:Z
-
invisible
private boolean invisible- Mappings:
Namespace Name Mixin selector named invisibleLnet/minecraft/entity/decoration/ArmorStandEntity;invisible:Zintermediary field_7111Lnet/minecraft/class_1531;field_7111:Zofficial bSLcoc;bS:Z
-
lastHitTime
public long lastHitTime- Mappings:
Namespace Name Mixin selector named lastHitTimeLnet/minecraft/entity/decoration/ArmorStandEntity;lastHitTime:Jintermediary field_7112Lnet/minecraft/class_1531;field_7112:Jofficial bDLcoc;bD:J
-
disabledSlots
private int disabledSlots- Mappings:
Namespace Name Mixin selector named disabledSlotsLnet/minecraft/entity/decoration/ArmorStandEntity;disabledSlots:Iintermediary field_7118Lnet/minecraft/class_1531;field_7118:Iofficial bTLcoc;bT:I
-
headRotation
- Mappings:
Namespace Name Mixin selector named headRotationLnet/minecraft/entity/decoration/ArmorStandEntity;headRotation:Lnet/minecraft/util/math/EulerAngle;intermediary field_7104Lnet/minecraft/class_1531;field_7104:Lnet/minecraft/class_2379;official bULcoc;bU:Ljy;
-
bodyRotation
- Mappings:
Namespace Name Mixin selector named bodyRotationLnet/minecraft/entity/decoration/ArmorStandEntity;bodyRotation:Lnet/minecraft/util/math/EulerAngle;intermediary field_7106Lnet/minecraft/class_1531;field_7106:Lnet/minecraft/class_2379;official bVLcoc;bV:Ljy;
-
leftArmRotation
- Mappings:
Namespace Name Mixin selector named leftArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;leftArmRotation:Lnet/minecraft/util/math/EulerAngle;intermediary field_7126Lnet/minecraft/class_1531;field_7126:Lnet/minecraft/class_2379;official bWLcoc;bW:Ljy;
-
rightArmRotation
- Mappings:
Namespace Name Mixin selector named rightArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;rightArmRotation:Lnet/minecraft/util/math/EulerAngle;intermediary field_7120Lnet/minecraft/class_1531;field_7120:Lnet/minecraft/class_2379;official bXLcoc;bX:Ljy;
-
leftLegRotation
- Mappings:
Namespace Name Mixin selector named leftLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;leftLegRotation:Lnet/minecraft/util/math/EulerAngle;intermediary field_7110Lnet/minecraft/class_1531;field_7110:Lnet/minecraft/class_2379;official bYLcoc;bY:Ljy;
-
rightLegRotation
- Mappings:
Namespace Name Mixin selector named rightLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;rightLegRotation:Lnet/minecraft/util/math/EulerAngle;intermediary field_7103Lnet/minecraft/class_1531;field_7103:Lnet/minecraft/class_2379;official bZLcoc;bZ:Ljy;
-
-
Constructor Details
-
ArmorStandEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vofficial <init>Lbxe;<init>(Lbxn;Ldkj;)V
-
ArmorStandEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/decoration/ArmorStandEntity;<init>(Lnet/minecraft/world/World;DDD)Vintermediary <init>Lnet/minecraft/class_1531;<init>(Lnet/minecraft/class_1937;DDD)Vofficial <init>Lcoc;<init>(Ldkj;DDD)V
-
-
Method Details
-
createArmorStandAttributes
- Mappings:
Namespace Name Mixin selector named createArmorStandAttributesLnet/minecraft/entity/decoration/ArmorStandEntity;createArmorStandAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;intermediary method_55745Lnet/minecraft/class_1531;method_55745()Lnet/minecraft/class_5132$class_5133;official mLcoc;m()Lbzk$a;
-
calculateDimensions
public void calculateDimensions()Calculates and sets the dimension (bounding box) of the entity and refreshes its position.- Overrides:
calculateDimensionsin classEntity- Mappings:
Namespace Name Mixin selector named calculateDimensionsLnet/minecraft/entity/Entity;calculateDimensions()Vintermediary method_18382Lnet/minecraft/class_1297;method_18382()Vofficial h_Lbxe;h_()V
-
canClip
private boolean canClip()- Mappings:
Namespace Name Mixin selector named canClipLnet/minecraft/entity/decoration/ArmorStandEntity;canClip()Zintermediary method_18059Lnet/minecraft/class_1531;method_18059()Zofficial DLcoc;D()Z
-
canActVoluntarily
public boolean canActVoluntarily()- Overrides:
canActVoluntarilyin classEntity- Mappings:
Namespace Name Mixin selector named canActVoluntarilyLnet/minecraft/entity/Entity;canActVoluntarily()Zintermediary method_6034Lnet/minecraft/class_1297;method_6034()Zofficial djLbxe;dj()Z
-
initDataTracker
Initializes data tracker.- Overrides:
initDataTrackerin classLivingEntity- API Note:
- Subclasses should override this and add to the builder any data that needs to be tracked.
- Mappings:
Namespace Name Mixin selector named initDataTrackerLnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)Vintermediary method_5693Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)Vofficial aLbxe;a(Laky$a;)V
-
canUseSlot
- Overrides:
canUseSlotin classLivingEntity- Mappings:
Namespace Name Mixin selector named canUseSlotLnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_56991Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Zofficial eLbyf;e(Lbxo;)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:
writeCustomDataToNbtin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vofficial bLbxe;b(Lua;)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.
nbtmight 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:
readCustomDataFromNbtin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vofficial aLbxe;a(Lua;)V
-
readPoseNbt
- Mappings:
Namespace Name Mixin selector named readPoseNbtLnet/minecraft/entity/decoration/ArmorStandEntity;readPoseNbt(Lnet/minecraft/nbt/NbtCompound;)Vintermediary method_6928Lnet/minecraft/class_1531;method_6928(Lnet/minecraft/class_2487;)Vofficial cLcoc;c(Lua;)V
-
poseToNbt
- Mappings:
Namespace Name Mixin selector named poseToNbtLnet/minecraft/entity/decoration/ArmorStandEntity;poseToNbt()Lnet/minecraft/nbt/NbtCompound;intermediary method_6911Lnet/minecraft/class_1531;method_6911()Lnet/minecraft/class_2487;official ELcoc;E()Lua;
-
isPushable
public boolean isPushable()Returns whether the entity can be pushed by other entities.- Overrides:
isPushablein classLivingEntity- Returns:
- whether the entity can be pushed by other entities
- Mappings:
Namespace Name Mixin selector named isPushableLnet/minecraft/entity/Entity;isPushable()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Zofficial bGLbxe;bG()Z
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector named pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)Vintermediary method_6087Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)Vofficial DLbyf;D(Lbxe;)V
-
tickCramming
protected void tickCramming()- Overrides:
tickCrammingin classLivingEntity- Mappings:
Namespace Name Mixin selector named tickCrammingLnet/minecraft/entity/LivingEntity;tickCramming()Vintermediary method_6070Lnet/minecraft/class_1309;method_6070()Vofficial nLbyf;n()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:
interactAtin classEntity- Parameters:
hitPos- the interaction's position offset from the entity's position- Mappings:
Namespace Name Mixin selector named interactAtLnet/minecraft/entity/Entity;interactAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;intermediary method_5664Lnet/minecraft/class_1297;method_5664(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;official aLbxe;a(Lcsi;Lfgc;Lbvb;)Lbvc;
-
getSlotFromPosition
- Mappings:
Namespace Name Mixin selector named getSlotFromPositionLnet/minecraft/entity/decoration/ArmorStandEntity;getSlotFromPosition(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/EquipmentSlot;intermediary method_6916Lnet/minecraft/class_1531;method_6916(Lnet/minecraft/class_243;)Lnet/minecraft/class_1304;official lLcoc;l(Lfgc;)Lbxo;
-
isSlotDisabled
- Mappings:
Namespace Name Mixin selector named isSlotDisabledLnet/minecraft/entity/decoration/ArmorStandEntity;isSlotDisabled(Lnet/minecraft/entity/EquipmentSlot;)Zintermediary method_6915Lnet/minecraft/class_1531;method_6915(Lnet/minecraft/class_1304;)Zofficial gLcoc;g(Lbxo;)Z
-
equip
- Mappings:
Namespace Name Mixin selector named equipLnet/minecraft/entity/decoration/ArmorStandEntity;equip(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Zintermediary method_6904Lnet/minecraft/class_1531;method_6904(Lnet/minecraft/class_1657;Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Zofficial aLcoc;a(Lcsi;Lbxo;Ldak;Lbvb;)Z
-
damage
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas 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
ItemEntityalso 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
LivingEntity.isInvulnerableTo(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector named damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Zintermediary method_64397Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Zofficial aLbxe;a(Lasb;Lbvt;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:
handleStatusin classLivingEntity- See Also:
- API Note:
- To send an entity status, use
World.sendEntityStatus(net.minecraft.entity.Entity, byte). - Mappings:
Namespace Name Mixin selector named handleStatusLnet/minecraft/entity/Entity;handleStatus(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vofficial bLbxe;b(B)V
-
shouldRender
public boolean shouldRender(double distance) - Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector named shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Zofficial aLbxe;a(D)Z
-
spawnBreakParticles
private void spawnBreakParticles()- Mappings:
Namespace Name Mixin selector named spawnBreakParticlesLnet/minecraft/entity/decoration/ArmorStandEntity;spawnBreakParticles()Vintermediary method_6898Lnet/minecraft/class_1531;method_6898()Vofficial FLcoc;F()V
-
updateHealth
- Mappings:
Namespace Name Mixin selector named updateHealthLnet/minecraft/entity/decoration/ArmorStandEntity;updateHealth(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Vintermediary method_6905Lnet/minecraft/class_1531;method_6905(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Vofficial dLcoc;d(Lasb;Lbvt;F)V
-
breakAndDropItem
- Mappings:
Namespace Name Mixin selector named breakAndDropItemLnet/minecraft/entity/decoration/ArmorStandEntity;breakAndDropItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_6924Lnet/minecraft/class_1531;method_6924(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Vofficial cLcoc;c(Lasb;Lbvt;)V
-
onBreak
- Mappings:
Namespace Name Mixin selector named onBreakLnet/minecraft/entity/decoration/ArmorStandEntity;onBreak(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)Vintermediary method_6908Lnet/minecraft/class_1531;method_6908(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)Vofficial dLcoc;d(Lasb;Lbvt;)V
-
playBreakSound
private void playBreakSound()- Mappings:
Namespace Name Mixin selector named playBreakSoundLnet/minecraft/entity/decoration/ArmorStandEntity;playBreakSound()Vintermediary method_6920Lnet/minecraft/class_1531;method_6920()Vofficial GLcoc;G()V
-
turnHead
protected void turnHead(float bodyRotation) - Overrides:
turnHeadin classLivingEntity- Mappings:
Namespace Name Mixin selector named turnHeadLnet/minecraft/entity/LivingEntity;turnHead(F)Vintermediary method_6031Lnet/minecraft/class_1309;method_6031(F)Vofficial CLbyf;C(F)V
-
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:
travelin classLivingEntity- Parameters:
movementInput- represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order- Mappings:
Namespace Name Mixin selector named travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vofficial a_Lbyf;a_(Lfgc;)V
-
setBodyYaw
public void setBodyYaw(float bodyYaw) Sets the body yaw of this entity.- Overrides:
setBodyYawin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector named setBodyYawLnet/minecraft/entity/Entity;setBodyYaw(F)Vintermediary method_5636Lnet/minecraft/class_1297;method_5636(F)Vofficial sLbxe;s(F)V
-
setHeadYaw
public void setHeadYaw(float headYaw) Sets the head yaw of this entity.- Overrides:
setHeadYawin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector named setHeadYawLnet/minecraft/entity/Entity;setHeadYaw(F)Vintermediary method_5847Lnet/minecraft/class_1297;method_5847(F)Vofficial rLbxe;r(F)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classLivingEntity- See Also:
- API Note:
- This can be overridden to add additional logics.
super.tick();should be called in those cases. - Implementation Note:
- By default, this delegates all logics to
LivingEntity.baseTick(). - Mappings:
Namespace Name Mixin selector named tickLnet/minecraft/entity/Entity;tick()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vofficial gLbxe;g()V
-
updatePotionVisibility
protected void updatePotionVisibility()- Overrides:
updatePotionVisibilityin classLivingEntity- Mappings:
Namespace Name Mixin selector named updatePotionVisibilityLnet/minecraft/entity/LivingEntity;updatePotionVisibility()Vintermediary method_6027Lnet/minecraft/class_1309;method_6027()Vofficial JLbyf;J()V
-
setInvisible
public void setInvisible(boolean invisible) Sets whether the entity is invisible to everyone.Invisibility status effect and
ArmorStandEntity'sInvisibleNBT key can cause an entity to be invisible.- Overrides:
setInvisiblein classEntity- See Also:
- Mappings:
Namespace Name Mixin selector named setInvisibleLnet/minecraft/entity/Entity;setInvisible(Z)Vintermediary method_5648Lnet/minecraft/class_1297;method_5648(Z)Vofficial kLbxe;k(Z)V
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classLivingEntity- Mappings:
Namespace Name Mixin selector named isBabyLnet/minecraft/entity/LivingEntity;isBaby()Zintermediary method_6109Lnet/minecraft/class_1309;method_6109()Zofficial e_Lbyf;e_()Z
-
kill
Kills the entity.This drops loot when applicable, and emits the
GameEvent.ENTITY_DIEgame event.- Overrides:
killin classLivingEntity- Mappings:
Namespace Name Mixin selector named killLnet/minecraft/entity/Entity;kill(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_5768Lnet/minecraft/class_1297;method_5768(Lnet/minecraft/class_3218;)Vofficial cLbxe;c(Lasb;)V
-
isImmuneToExplosion
Returns whether the entity is immune from explosion knockback and damage.Invisible
ArmorStandEntityand emerging or diggingWardenEntityare immune from explosions.- Overrides:
isImmuneToExplosionin classEntity- Returns:
- whether the entity is immune from explosion knockback and damage
- Mappings:
Namespace Name Mixin selector named isImmuneToExplosionLnet/minecraft/entity/Entity;isImmuneToExplosion(Lnet/minecraft/world/explosion/Explosion;)Zintermediary method_5659Lnet/minecraft/class_1297;method_5659(Lnet/minecraft/class_1927;)Zofficial aLbxe;a(Ldkc;)Z
-
getPistonBehavior
Returns the behavior of the piston for this entity.This is
PistonBehavior.NORMALby default.AreaEffectCloudEntity,MarkerEntity, and markerArmorStandEntityreturnPistonBehavior.IGNORE, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated likePistonBehavior.NORMAL.- Overrides:
getPistonBehaviorin classEntity- Returns:
- the behavior of the piston for this entity
- Mappings:
Namespace Name Mixin selector named getPistonBehaviorLnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;intermediary method_5657Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;official i_Lbxe;i_()Leyf;
-
canAvoidTraps
public boolean canAvoidTraps()Returns whether the entity cannot trigger pressure plates or tripwires.BatEntityis the only entity in vanilla that can avoid traps.- Overrides:
canAvoidTrapsin classEntity- Returns:
- whether the entity cannot trigger pressure plates or tripwires
- Mappings:
Namespace Name Mixin selector named canAvoidTrapsLnet/minecraft/entity/Entity;canAvoidTraps()Zintermediary method_5696Lnet/minecraft/class_1297;method_5696()Zofficial n_Lbxe;n_()Z
-
setSmall
private void setSmall(boolean small) - Mappings:
Namespace Name Mixin selector named setSmallLnet/minecraft/entity/decoration/ArmorStandEntity;setSmall(Z)Vintermediary method_6922Lnet/minecraft/class_1531;method_6922(Z)Vofficial tLcoc;t(Z)V
-
isSmall
public boolean isSmall()- Mappings:
Namespace Name Mixin selector named isSmallLnet/minecraft/entity/decoration/ArmorStandEntity;isSmall()Zintermediary method_6914Lnet/minecraft/class_1531;method_6914()Zofficial pLcoc;p()Z
-
setShowArms
public void setShowArms(boolean showArms) - Mappings:
Namespace Name Mixin selector named setShowArmsLnet/minecraft/entity/decoration/ArmorStandEntity;setShowArms(Z)Vintermediary method_6913Lnet/minecraft/class_1531;method_6913(Z)Vofficial aLcoc;a(Z)V
-
shouldShowArms
public boolean shouldShowArms()- Mappings:
Namespace Name Mixin selector named shouldShowArmsLnet/minecraft/entity/decoration/ArmorStandEntity;shouldShowArms()Zintermediary method_6929Lnet/minecraft/class_1531;method_6929()Zofficial sLcoc;s()Z
-
setHideBasePlate
public void setHideBasePlate(boolean hideBasePlate) - Mappings:
Namespace Name Mixin selector named setHideBasePlateLnet/minecraft/entity/decoration/ArmorStandEntity;setHideBasePlate(Z)Vintermediary method_6907Lnet/minecraft/class_1531;method_6907(Z)Vofficial bLcoc;b(Z)V
-
shouldShowBasePlate
public boolean shouldShowBasePlate()- Mappings:
Namespace Name Mixin selector named shouldShowBasePlateLnet/minecraft/entity/decoration/ArmorStandEntity;shouldShowBasePlate()Zintermediary method_61489Lnet/minecraft/class_1531;method_61489()Zofficial uLcoc;u()Z
-
setMarker
private void setMarker(boolean marker) - Mappings:
Namespace Name Mixin selector named setMarkerLnet/minecraft/entity/decoration/ArmorStandEntity;setMarker(Z)Vintermediary method_6902Lnet/minecraft/class_1531;method_6902(Z)Vofficial uLcoc;u(Z)V
-
isMarker
public boolean isMarker()- Mappings:
Namespace Name Mixin selector named isMarkerLnet/minecraft/entity/decoration/ArmorStandEntity;isMarker()Zintermediary method_6912Lnet/minecraft/class_1531;method_6912()Zofficial wLcoc;w()Z
-
setBitField
private byte setBitField(byte value, int bitField, boolean set) - Mappings:
Namespace Name Mixin selector named setBitFieldLnet/minecraft/entity/decoration/ArmorStandEntity;setBitField(BIZ)Bintermediary method_6906Lnet/minecraft/class_1531;method_6906(BIZ)Bofficial aLcoc;a(BIZ)B
-
setHeadRotation
- Mappings:
Namespace Name Mixin selector named setHeadRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setHeadRotation(Lnet/minecraft/util/math/EulerAngle;)Vintermediary method_6919Lnet/minecraft/class_1531;method_6919(Lnet/minecraft/class_2379;)Vofficial aLcoc;a(Ljy;)V
-
setBodyRotation
- Mappings:
Namespace Name Mixin selector named setBodyRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setBodyRotation(Lnet/minecraft/util/math/EulerAngle;)Vintermediary method_6927Lnet/minecraft/class_1531;method_6927(Lnet/minecraft/class_2379;)Vofficial bLcoc;b(Ljy;)V
-
setLeftArmRotation
- Mappings:
Namespace Name Mixin selector named setLeftArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setLeftArmRotation(Lnet/minecraft/util/math/EulerAngle;)Vintermediary method_6910Lnet/minecraft/class_1531;method_6910(Lnet/minecraft/class_2379;)Vofficial cLcoc;c(Ljy;)V
-
setRightArmRotation
- Mappings:
Namespace Name Mixin selector named setRightArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setRightArmRotation(Lnet/minecraft/util/math/EulerAngle;)Vintermediary method_6925Lnet/minecraft/class_1531;method_6925(Lnet/minecraft/class_2379;)Vofficial dLcoc;d(Ljy;)V
-
setLeftLegRotation
- Mappings:
Namespace Name Mixin selector named setLeftLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setLeftLegRotation(Lnet/minecraft/util/math/EulerAngle;)Vintermediary method_6909Lnet/minecraft/class_1531;method_6909(Lnet/minecraft/class_2379;)Vofficial eLcoc;e(Ljy;)V
-
setRightLegRotation
- Mappings:
Namespace Name Mixin selector named setRightLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setRightLegRotation(Lnet/minecraft/util/math/EulerAngle;)Vintermediary method_6926Lnet/minecraft/class_1531;method_6926(Lnet/minecraft/class_2379;)Vofficial fLcoc;f(Ljy;)V
-
getHeadRotation
- Mappings:
Namespace Name Mixin selector named getHeadRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getHeadRotation()Lnet/minecraft/util/math/EulerAngle;intermediary method_6921Lnet/minecraft/class_1531;method_6921()Lnet/minecraft/class_2379;official xLcoc;x()Ljy;
-
getBodyRotation
- Mappings:
Namespace Name Mixin selector named getBodyRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getBodyRotation()Lnet/minecraft/util/math/EulerAngle;intermediary method_6923Lnet/minecraft/class_1531;method_6923()Lnet/minecraft/class_2379;official yLcoc;y()Ljy;
-
getLeftArmRotation
- Mappings:
Namespace Name Mixin selector named getLeftArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getLeftArmRotation()Lnet/minecraft/util/math/EulerAngle;intermediary method_6930Lnet/minecraft/class_1531;method_6930()Lnet/minecraft/class_2379;official zLcoc;z()Ljy;
-
getRightArmRotation
- Mappings:
Namespace Name Mixin selector named getRightArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getRightArmRotation()Lnet/minecraft/util/math/EulerAngle;intermediary method_6903Lnet/minecraft/class_1531;method_6903()Lnet/minecraft/class_2379;official ALcoc;A()Ljy;
-
getLeftLegRotation
- Mappings:
Namespace Name Mixin selector named getLeftLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getLeftLegRotation()Lnet/minecraft/util/math/EulerAngle;intermediary method_6917Lnet/minecraft/class_1531;method_6917()Lnet/minecraft/class_2379;official BLcoc;B()Ljy;
-
getRightLegRotation
- Mappings:
Namespace Name Mixin selector named getRightLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getRightLegRotation()Lnet/minecraft/util/math/EulerAngle;intermediary method_6900Lnet/minecraft/class_1531;method_6900()Lnet/minecraft/class_2379;official CLcoc;C()Ljy;
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHitin classLivingEntity- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector named canHitLnet/minecraft/entity/Entity;canHit()Zintermediary method_5863Lnet/minecraft/class_1297;method_5863()Zofficial bFLbxe;bF()Z
-
handleAttack
Handles a player attacking the entity. This is called beforedamage(net.minecraft.server.world.ServerWorld, net.minecraft.entity.damage.DamageSource, float)and can be used to restrict players from attacking the entity by returningtrue.- Overrides:
handleAttackin classEntity- Returns:
- whether to stop handling the attack
- See Also:
- API Note:
- For example,
ArmorStandEntitychecks whether the player can modify blocks at the entity's position. - Mappings:
Namespace Name Mixin selector named handleAttackLnet/minecraft/entity/Entity;handleAttack(Lnet/minecraft/entity/Entity;)Zintermediary method_5698Lnet/minecraft/class_1297;method_5698(Lnet/minecraft/class_1297;)Zofficial vLbxe;v(Lbxe;)Z
-
getMainArm
- Specified by:
getMainArmin classLivingEntity- Mappings:
Namespace Name Mixin selector named getMainArmLnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;intermediary method_6068Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;official fyLbyf;fy()Lbxw;
-
getFallSounds
- Overrides:
getFallSoundsin classLivingEntity- Mappings:
Namespace Name Mixin selector named getFallSoundsLnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;intermediary method_39760Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;official eOLbyf;eO()Lbyf$a;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;official eLbyf;e(Lbvt;)Lawx;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector named getDeathSoundLnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;official j_Lbyf;j_()Lawx;
-
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:
onStruckByLightningin classEntity- Mappings:
Namespace Name Mixin selector named onStruckByLightningLnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LightningEntity;)Vintermediary method_5800Lnet/minecraft/class_1297;method_5800(Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)Vofficial aLbxe;a(Lasb;Lbye;)V
-
isAffectedBySplashPotions
public boolean isAffectedBySplashPotions()- Overrides:
isAffectedBySplashPotionsin classLivingEntity- Mappings:
Namespace Name Mixin selector named isAffectedBySplashPotionsLnet/minecraft/entity/LivingEntity;isAffectedBySplashPotions()Zintermediary method_6086Lnet/minecraft/class_1309;method_6086()Zofficial fLLbyf;fL()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.
- Specified by:
onTrackedDataSetin interfaceDataTracked- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector named onTrackedDataSetLnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)Vintermediary method_5674Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)Vofficial aLakx;a(Laku;)V
-
isMobOrPlayer
public boolean isMobOrPlayer()- Overrides:
isMobOrPlayerin classLivingEntity- Mappings:
Namespace Name Mixin selector named isMobOrPlayerLnet/minecraft/entity/LivingEntity;isMobOrPlayer()Zintermediary method_6102Lnet/minecraft/class_1309;method_6102()Zofficial fMLbyf;fM()Z
-
getBaseDimensions
- Overrides:
getBaseDimensionsin classLivingEntity- Mappings:
Namespace Name Mixin selector named getBaseDimensionsLnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;intermediary method_55694Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;official eLbyf;e(Lbyr;)Lbxh;
-
getDimensions
- Mappings:
Namespace Name Mixin selector named getDimensionsLnet/minecraft/entity/decoration/ArmorStandEntity;getDimensions(Z)Lnet/minecraft/entity/EntityDimensions;intermediary method_31168Lnet/minecraft/class_1531;method_31168(Z)Lnet/minecraft/class_4048;official vLcoc;v(Z)Lbxh;
-
getClientCameraPosVec
- Overrides:
getClientCameraPosVecin classEntity- Mappings:
Namespace Name Mixin selector named getClientCameraPosVecLnet/minecraft/entity/Entity;getClientCameraPosVec(F)Lnet/minecraft/util/math/Vec3d;intermediary method_31166Lnet/minecraft/class_1297;method_31166(F)Lnet/minecraft/class_243;official oLbxe;o(F)Lfgc;
-
getPickBlockStack
Returns the stack for creative "pick block" functionality, ornullif 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
MobEntityhandles the spawn eggs.ItemFrameEntityinstead returns the copy of the stack held in the frame.- Overrides:
getPickBlockStackin classEntity- Returns:
- the stack for creative "pick block" functionality, or
nullif there is none - Mappings:
Namespace Name Mixin selector named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;official dILbxe;dI()Ldak;
-
isPartOfGame
public boolean isPartOfGame()- Overrides:
isPartOfGamein classLivingEntity- Mappings:
Namespace Name Mixin selector named isPartOfGameLnet/minecraft/entity/LivingEntity;isPartOfGame()Zintermediary method_36608Lnet/minecraft/class_1309;method_36608()Zofficial eALbyf;eA()Z
-