Class ArmorStandEntity
- All Implemented Interfaces:
CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bqlintermediary net/minecraft/class_1531named net/minecraft/entity/decoration/ArmorStandEntity
-
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 final DefaultedList<ItemStack>private EulerAngleprivate static final EulerAngleprivate static final EulerAngleprivate static final EulerAngleprivate static final EulerAngleprivate static final EulerAngleprivate static final EulerAngleprivate intstatic final intprivate static final booleanstatic final intprivate static final doubleprivate static final doubleprivate static final doubleprivate static final doublestatic final intprivate EulerAngleprivate final DefaultedList<ItemStack>static 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, airStrafingSpeed, 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, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, 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_FLAGFields 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_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
ConstructorsConstructorDescriptionArmorStandEntity(EntityType<? extends ArmorStandEntity> type, World world) ArmorStandEntity(World world, double x, double y, double z) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidbreakAndDropItem(DamageSource damageSource) voidCalculates and sets the dimension (bounding box) of the entity and refreshes its position.private booleancanClip()booleanbooleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.booleanbooleandamage(DamageSource source, float amount) Applies a damage to this entity.private booleanequip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand) voidequipStack(EquipmentSlot slot, ItemStack stack) Equipsstackatslot.This is also used to set an entity's mainhand or offhand stack.protected floatgetActiveEyeHeight(EntityPose pose, EntityDimensions dimensions) Returns an iterable of item stacks equipped as armor.getClientCameraPosVec(float tickDelta) protected @Nullable SoundEventprivate EntityDimensionsgetDimensions(boolean marker) getDimensions(EntityPose pose) Returns the dimensions of the entity with the givenpose.Returns an iterable of item stacks held in the hands.doubleprotected @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 voidInitializes data tracker.interactAt(PlayerEntity player, Vec3d hitPos, Hand hand) Called when the player interacts with the entity at the specific position.booleanbooleanisBaby()booleanReturns 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()Kills the entity.private voidonBreak(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 nbt) 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.private 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) private voidsetShowArms(boolean showArms) private voidsetSmall(boolean small) booleanbooleanshouldRender(double distance) booleanprivate voidvoidtick()Ticks this entity.protected voidvoidAllows you to do certain speed and velocity calculations.protected floatturnHead(float bodyRotation, float headRotation) private voidupdateHealth(DamageSource damageSource, float amount) protected voidvoidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, attackLivingEntity, baseTick, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canTarget, canTarget, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropEquipment, dropInventory, dropLoot, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDespawnCounter, getDrinkSound, getEatSound, getEyeHeight, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getLootContextBuilder, getLootTable, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getSoundVolume, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, 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, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onSpawnPacket, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, playHurtSound, positionInPortal, positionInPortal, processEquippedStack, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHealth, setJumping, setLivingFlag, setMovementSpeed, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swimUpward, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickHandSwing, tickInVoid, tickItemStackUsage, tickMovement, tickNewAi, tickRiding, tickRiptide, tickStatusEffects, triggerItemPickedUpByEntityCriteria, tryAttack, updateLimbs, updatePostDeath, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addFlapEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, canStartRiding, canUsePortals, changeLookDirection, checkBlockCollision, checkDespawn, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getCommandSource, getCustomName, 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, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMessageSourceProfile, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSafeFallDistance, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSoundCategory, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, hasCollidedSoftly, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, hasWings, interact, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isInLava, isInPose, isInRange, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isLogicalSideForUpdatingMovement, isOnFire, isOnGround, isPartOf, isPlayer, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removeFromDimension, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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 bLbql;b:Iintermediary field_30443Lnet/minecraft/class_1531;field_30443:Inamed field_30443Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30443:I
-
field_30445
private static final boolean field_30445- See Also:
- Mappings:
Namespace Name Mixin selector official bOLbql;bO:Zintermediary field_30445Lnet/minecraft/class_1531;field_30445:Znamed field_30445Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30445:Z
-
DEFAULT_HEAD_ROTATION
- Mappings:
Namespace Name Mixin selector official bPLbql;bP:Lhp;intermediary field_7113Lnet/minecraft/class_1531;field_7113:Lnet/minecraft/class_2379;named DEFAULT_HEAD_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_HEAD_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_BODY_ROTATION
- Mappings:
Namespace Name Mixin selector official bQLbql;bQ:Lhp;intermediary field_7119Lnet/minecraft/class_1531;field_7119:Lnet/minecraft/class_2379;named DEFAULT_BODY_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_BODY_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_LEFT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bRLbql;bR:Lhp;intermediary field_7124Lnet/minecraft/class_1531;field_7124:Lnet/minecraft/class_2379;named DEFAULT_LEFT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_RIGHT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bSLbql;bS:Lhp;intermediary field_7115Lnet/minecraft/class_1531;field_7115:Lnet/minecraft/class_2379;named DEFAULT_RIGHT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_LEFT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bTLbql;bT:Lhp;intermediary field_7121Lnet/minecraft/class_1531;field_7121:Lnet/minecraft/class_2379;named DEFAULT_LEFT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
DEFAULT_RIGHT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bULbql;bU:Lhp;intermediary field_7117Lnet/minecraft/class_1531;field_7117:Lnet/minecraft/class_2379;named DEFAULT_RIGHT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;
-
MARKER_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official bVLbql;bV:Lbbo;intermediary field_26745Lnet/minecraft/class_1531;field_26745:Lnet/minecraft/class_4048;named MARKER_DIMENSIONSLnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
-
SMALL_DIMENSIONS
- Mappings:
Namespace Name Mixin selector official bWLbql;bW:Lbbo;intermediary field_26746Lnet/minecraft/class_1531;field_26746:Lnet/minecraft/class_4048;named SMALL_DIMENSIONSLnet/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 bXLbql;bX:Dintermediary field_30447Lnet/minecraft/class_1531;field_30447:Dnamed field_30447Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30447:D
-
field_30448
private static final double field_30448- See Also:
- Mappings:
Namespace Name Mixin selector official bYLbql;bY:Dintermediary field_30448Lnet/minecraft/class_1531;field_30448:Dnamed field_30448Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30448:D
-
field_30449
private static final double field_30449- See Also:
- Mappings:
Namespace Name Mixin selector official bZLbql;bZ:Dintermediary field_30449Lnet/minecraft/class_1531;field_30449:Dnamed field_30449Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30449:D
-
field_30450
private static final double field_30450- See Also:
- Mappings:
Namespace Name Mixin selector official caLbql;ca:Dintermediary field_30450Lnet/minecraft/class_1531;field_30450:Dnamed field_30450Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30450:D
-
field_30446
public static final int field_30446- See Also:
- Mappings:
Namespace Name Mixin selector official cLbql;c:Iintermediary field_30446Lnet/minecraft/class_1531;field_30446:Inamed field_30446Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30446:I
-
field_30451
public static final int field_30451- See Also:
- Mappings:
Namespace Name Mixin selector official dLbql;d:Iintermediary field_30451Lnet/minecraft/class_1531;field_30451:Inamed field_30451Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30451:I
-
SMALL_FLAG
public static final int SMALL_FLAG- See Also:
- Mappings:
Namespace Name Mixin selector official eLbql;e:Iintermediary field_30452Lnet/minecraft/class_1531;field_30452:Inamed SMALL_FLAGLnet/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 fLbql;f:Iintermediary field_30453Lnet/minecraft/class_1531;field_30453:Inamed SHOW_ARMS_FLAGLnet/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 bELbql;bE:Iintermediary field_30442Lnet/minecraft/class_1531;field_30442:Inamed HIDE_BASE_PLATE_FLAGLnet/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 bFLbql;bF:Iintermediary field_30444Lnet/minecraft/class_1531;field_30444:Inamed MARKER_FLAGLnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_FLAG:I
-
ARMOR_STAND_FLAGS
- Mappings:
Namespace Name Mixin selector official bGLbql;bG:Laaj;intermediary field_7107Lnet/minecraft/class_1531;field_7107:Lnet/minecraft/class_2940;named ARMOR_STAND_FLAGSLnet/minecraft/entity/decoration/ArmorStandEntity;ARMOR_STAND_FLAGS:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_HEAD_ROTATION
- Mappings:
Namespace Name Mixin selector official bHLbql;bH:Laaj;intermediary field_7123Lnet/minecraft/class_1531;field_7123:Lnet/minecraft/class_2940;named TRACKER_HEAD_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_HEAD_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_BODY_ROTATION
- Mappings:
Namespace Name Mixin selector official bILbql;bI:Laaj;intermediary field_7122Lnet/minecraft/class_1531;field_7122:Lnet/minecraft/class_2940;named TRACKER_BODY_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_BODY_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_LEFT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bJLbql;bJ:Laaj;intermediary field_7116Lnet/minecraft/class_1531;field_7116:Lnet/minecraft/class_2940;named TRACKER_LEFT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_RIGHT_ARM_ROTATION
- Mappings:
Namespace Name Mixin selector official bKLbql;bK:Laaj;intermediary field_7105Lnet/minecraft/class_1531;field_7105:Lnet/minecraft/class_2940;named TRACKER_RIGHT_ARM_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_LEFT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bLLbql;bL:Laaj;intermediary field_7127Lnet/minecraft/class_1531;field_7127:Lnet/minecraft/class_2940;named TRACKER_LEFT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
TRACKER_RIGHT_LEG_ROTATION
- Mappings:
Namespace Name Mixin selector official bMLbql;bM:Laaj;intermediary field_7125Lnet/minecraft/class_1531;field_7125:Lnet/minecraft/class_2940;named TRACKER_RIGHT_LEG_ROTATIONLnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;
-
RIDEABLE_MINECART_PREDICATE
- Mappings:
Namespace Name Mixin selector official cbLbql;cb:Ljava/util/function/Predicate;intermediary field_7102Lnet/minecraft/class_1531;field_7102:Ljava/util/function/Predicate;named RIDEABLE_MINECART_PREDICATELnet/minecraft/entity/decoration/ArmorStandEntity;RIDEABLE_MINECART_PREDICATE:Ljava/util/function/Predicate;
-
heldItems
- Mappings:
Namespace Name Mixin selector official ccLbql;cc:Lhi;intermediary field_7114Lnet/minecraft/class_1531;field_7114:Lnet/minecraft/class_2371;named heldItemsLnet/minecraft/entity/decoration/ArmorStandEntity;heldItems:Lnet/minecraft/util/collection/DefaultedList;
-
armorItems
- Mappings:
Namespace Name Mixin selector official cdLbql;cd:Lhi;intermediary field_7108Lnet/minecraft/class_1531;field_7108:Lnet/minecraft/class_2371;named armorItemsLnet/minecraft/entity/decoration/ArmorStandEntity;armorItems:Lnet/minecraft/util/collection/DefaultedList;
-
invisible
private boolean invisible- Mappings:
Namespace Name Mixin selector official ceLbql;ce:Zintermediary field_7111Lnet/minecraft/class_1531;field_7111:Znamed invisibleLnet/minecraft/entity/decoration/ArmorStandEntity;invisible:Z
-
lastHitTime
public long lastHitTime- Mappings:
Namespace Name Mixin selector official bNLbql;bN:Jintermediary field_7112Lnet/minecraft/class_1531;field_7112:Jnamed lastHitTimeLnet/minecraft/entity/decoration/ArmorStandEntity;lastHitTime:J
-
disabledSlots
private int disabledSlots- Mappings:
Namespace Name Mixin selector official cfLbql;cf:Iintermediary field_7118Lnet/minecraft/class_1531;field_7118:Inamed disabledSlotsLnet/minecraft/entity/decoration/ArmorStandEntity;disabledSlots:I
-
headRotation
- Mappings:
Namespace Name Mixin selector official cgLbql;cg:Lhp;intermediary field_7104Lnet/minecraft/class_1531;field_7104:Lnet/minecraft/class_2379;named headRotationLnet/minecraft/entity/decoration/ArmorStandEntity;headRotation:Lnet/minecraft/util/math/EulerAngle;
-
bodyRotation
- Mappings:
Namespace Name Mixin selector official chLbql;ch:Lhp;intermediary field_7106Lnet/minecraft/class_1531;field_7106:Lnet/minecraft/class_2379;named bodyRotationLnet/minecraft/entity/decoration/ArmorStandEntity;bodyRotation:Lnet/minecraft/util/math/EulerAngle;
-
leftArmRotation
- Mappings:
Namespace Name Mixin selector official ciLbql;ci:Lhp;intermediary field_7126Lnet/minecraft/class_1531;field_7126:Lnet/minecraft/class_2379;named leftArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;leftArmRotation:Lnet/minecraft/util/math/EulerAngle;
-
rightArmRotation
- Mappings:
Namespace Name Mixin selector official cjLbql;cj:Lhp;intermediary field_7120Lnet/minecraft/class_1531;field_7120:Lnet/minecraft/class_2379;named rightArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;rightArmRotation:Lnet/minecraft/util/math/EulerAngle;
-
leftLegRotation
- Mappings:
Namespace Name Mixin selector official ckLbql;ck:Lhp;intermediary field_7110Lnet/minecraft/class_1531;field_7110:Lnet/minecraft/class_2379;named leftLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;leftLegRotation:Lnet/minecraft/util/math/EulerAngle;
-
rightLegRotation
- Mappings:
Namespace Name Mixin selector official clLbql;cl:Lhp;intermediary field_7103Lnet/minecraft/class_1531;field_7103:Lnet/minecraft/class_2379;named rightLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;rightLegRotation:Lnet/minecraft/util/math/EulerAngle;
-
-
Constructor Details
-
ArmorStandEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbbn;<init>(Lbbr;Lcgx;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
ArmorStandEntity
- Mappings:
Namespace Name Mixin selector official <init>Lbql;<init>(Lcgx;DDD)Vintermediary <init>Lnet/minecraft/class_1531;<init>(Lnet/minecraft/class_1937;DDD)Vnamed <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:
calculateDimensionsin classEntity- Mappings:
Namespace Name Mixin selector official z_Lbbn;z_()Vintermediary method_18382Lnet/minecraft/class_1297;method_18382()Vnamed calculateDimensionsLnet/minecraft/entity/Entity;calculateDimensions()V
-
canClip
private boolean canClip()- Mappings:
Namespace Name Mixin selector official CLbql;C()Zintermediary method_18059Lnet/minecraft/class_1531;method_18059()Znamed canClipLnet/minecraft/entity/decoration/ArmorStandEntity;canClip()Z
-
canMoveVoluntarily
public boolean canMoveVoluntarily()- Overrides:
canMoveVoluntarilyin classLivingEntity- Mappings:
Namespace Name Mixin selector official ePLbcc;eP()Zintermediary method_6034Lnet/minecraft/class_1309;method_6034()Znamed canMoveVoluntarilyLnet/minecraft/entity/LivingEntity;canMoveVoluntarily()Z
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTrackerin classLivingEntity- Mappings:
Namespace Name Mixin selector official a_Lbbn;a_()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getHandItems
Returns an iterable of item stacks held in the hands.- Overrides:
getHandItemsin classEntity- Returns:
- an iterable of item stacks held in the hands
- See Also:
- Mappings:
Namespace Name Mixin selector official bELbbn;bE()Ljava/lang/Iterable;intermediary method_5877Lnet/minecraft/class_1297;method_5877()Ljava/lang/Iterable;named getHandItemsLnet/minecraft/entity/Entity;getHandItems()Ljava/lang/Iterable;
-
getArmorItems
Returns an iterable of item stacks equipped as armor.- Specified by:
getArmorItemsin classLivingEntity- Returns:
- an iterable of item stacks equipped as armor
- See Also:
- Mappings:
Namespace Name Mixin selector official bFLbbn;bF()Ljava/lang/Iterable;intermediary method_5661Lnet/minecraft/class_1297;method_5661()Ljava/lang/Iterable;named getArmorItemsLnet/minecraft/entity/Entity;getArmorItems()Ljava/lang/Iterable;
-
getEquippedStack
- Specified by:
getEquippedStackin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbcc;c(Lbbs;)Lcax;intermediary method_6118Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;named getEquippedStackLnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
-
equipStack
Equipsstackatslot.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:
equipStackin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbbn;a(Lbbs;Lcax;)Vintermediary method_5673Lnet/minecraft/class_1297;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)Vnamed equipStackLnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
-
canEquip
- Overrides:
canEquipin classLivingEntity- Mappings:
Namespace Name Mixin selector official gLbcc;g(Lcax;)Zintermediary method_18397Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Znamed canEquipLnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
-
writeCustomDataToNbt
Writes custom data tonbt. Subclasses has 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 official bLbbn;b(Lpj;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses has 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 official aLbbn;a(Lpj;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readPoseNbt
- Mappings:
Namespace Name Mixin selector official cLbql;c(Lpj;)Vintermediary method_6928Lnet/minecraft/class_1531;method_6928(Lnet/minecraft/class_2487;)Vnamed readPoseNbtLnet/minecraft/entity/decoration/ArmorStandEntity;readPoseNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
poseToNbt
- Mappings:
Namespace Name Mixin selector official DLbql;D()Lpj;intermediary method_6911Lnet/minecraft/class_1531;method_6911()Lnet/minecraft/class_2487;named poseToNbtLnet/minecraft/entity/decoration/ArmorStandEntity;poseToNbt()Lnet/minecraft/nbt/NbtCompound;
-
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 official blLbbn;bl()Zintermediary method_5810Lnet/minecraft/class_1297;method_5810()Znamed isPushableLnet/minecraft/entity/Entity;isPushable()Z
-
pushAway
- Overrides:
pushAwayin classLivingEntity- Mappings:
Namespace Name Mixin selector official ALbcc;A(Lbbn;)Vintermediary method_6087Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)Vnamed pushAwayLnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
-
tickCramming
protected void tickCramming()- Overrides:
tickCrammingin classLivingEntity- Mappings:
Namespace Name Mixin selector official eNLbcc;eN()Vintermediary method_6070Lnet/minecraft/class_1309;method_6070()Vnamed tickCrammingLnet/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:
interactAtin classEntity- Parameters:
hitPos- the interaction's position offset from the entity's position- Mappings:
Namespace Name Mixin selector official aLbbn;a(Lbuc;Ldwq;Lbai;)Lbaj;intermediary method_5664Lnet/minecraft/class_1297;method_5664(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;named interactAtLnet/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 iLbql;i(Ldwq;)Lbbs;intermediary method_6916Lnet/minecraft/class_1531;method_6916(Lnet/minecraft/class_243;)Lnet/minecraft/class_1304;named getSlotFromPositionLnet/minecraft/entity/decoration/ArmorStandEntity;getSlotFromPosition(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/EquipmentSlot;
-
isSlotDisabled
- Mappings:
Namespace Name Mixin selector official eLbql;e(Lbbs;)Zintermediary method_6915Lnet/minecraft/class_1531;method_6915(Lnet/minecraft/class_1304;)Znamed isSlotDisabledLnet/minecraft/entity/decoration/ArmorStandEntity;isSlotDisabled(Lnet/minecraft/entity/EquipmentSlot;)Z
-
equip
- Mappings:
Namespace Name Mixin selector official aLbql;a(Lbuc;Lbbs;Lcax;Lbai;)Zintermediary method_6904Lnet/minecraft/class_1531;method_6904(Lnet/minecraft/class_1657;Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Znamed equipLnet/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.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
Entity.isInvulnerableTo(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 official aLbbn;a(Lbaw;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/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:
handleStatusin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbbn;a(B)Vintermediary method_5711Lnet/minecraft/class_1297;method_5711(B)Vnamed handleStatusLnet/minecraft/entity/Entity;handleStatus(B)V
-
shouldRender
public boolean shouldRender(double distance) - Overrides:
shouldRenderin classEntity- Mappings:
Namespace Name Mixin selector official aLbbn;a(D)Zintermediary method_5640Lnet/minecraft/class_1297;method_5640(D)Znamed shouldRenderLnet/minecraft/entity/Entity;shouldRender(D)Z
-
spawnBreakParticles
private void spawnBreakParticles()- Mappings:
Namespace Name Mixin selector official ELbql;E()Vintermediary method_6898Lnet/minecraft/class_1531;method_6898()Vnamed spawnBreakParticlesLnet/minecraft/entity/decoration/ArmorStandEntity;spawnBreakParticles()V
-
updateHealth
- Mappings:
Namespace Name Mixin selector official gLbql;g(Lbaw;F)Vintermediary method_6905Lnet/minecraft/class_1531;method_6905(Lnet/minecraft/class_1282;F)Vnamed updateHealthLnet/minecraft/entity/decoration/ArmorStandEntity;updateHealth(Lnet/minecraft/entity/damage/DamageSource;F)V
-
breakAndDropItem
- Mappings:
Namespace Name Mixin selector official gLbql;g(Lbaw;)Vintermediary method_6924Lnet/minecraft/class_1531;method_6924(Lnet/minecraft/class_1282;)Vnamed breakAndDropItemLnet/minecraft/entity/decoration/ArmorStandEntity;breakAndDropItem(Lnet/minecraft/entity/damage/DamageSource;)V
-
onBreak
- Mappings:
Namespace Name Mixin selector official hLbql;h(Lbaw;)Vintermediary method_6908Lnet/minecraft/class_1531;method_6908(Lnet/minecraft/class_1282;)Vnamed onBreakLnet/minecraft/entity/decoration/ArmorStandEntity;onBreak(Lnet/minecraft/entity/damage/DamageSource;)V
-
playBreakSound
private void playBreakSound()- Mappings:
Namespace Name Mixin selector official GLbql;G()Vintermediary method_6920Lnet/minecraft/class_1531;method_6920()Vnamed playBreakSoundLnet/minecraft/entity/decoration/ArmorStandEntity;playBreakSound()V
-
turnHead
protected float turnHead(float bodyRotation, float headRotation) - Overrides:
turnHeadin classLivingEntity- Mappings:
Namespace Name Mixin selector official eLbcc;e(FF)Fintermediary method_6031Lnet/minecraft/class_1309;method_6031(FF)Fnamed turnHeadLnet/minecraft/entity/LivingEntity;turnHead(FF)F
-
getActiveEyeHeight
- Overrides:
getActiveEyeHeightin classLivingEntity- Mappings:
Namespace Name Mixin selector official bLbcc;b(Lbco;Lbbo;)Fintermediary method_18394Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)Fnamed getActiveEyeHeightLnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
-
getHeightOffset
public double getHeightOffset()- Overrides:
getHeightOffsetin classEntity- Mappings:
Namespace Name Mixin selector official bsLbbn;bs()Dintermediary method_5678Lnet/minecraft/class_1297;method_5678()Dnamed getHeightOffsetLnet/minecraft/entity/Entity;getHeightOffset()D
-
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 official gLbcc;g(Ldwq;)Vintermediary method_6091Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)Vnamed travelLnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
-
setBodyYaw
public void setBodyYaw(float bodyYaw) Sets the body yaw of this entity.- Overrides:
setBodyYawin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official mLbbn;m(F)Vintermediary method_5636Lnet/minecraft/class_1297;method_5636(F)Vnamed setBodyYawLnet/minecraft/entity/Entity;setBodyYaw(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 official lLbbn;l(F)Vintermediary method_5847Lnet/minecraft/class_1297;method_5847(F)Vnamed setHeadYawLnet/minecraft/entity/Entity;setHeadYaw(F)V
-
tick
public void tick()Ticks this entity.- Overrides:
tickin classLivingEntity- See Also:
- Mappings:
Namespace Name Mixin selector official kLbbn;k()Vintermediary method_5773Lnet/minecraft/class_1297;method_5773()Vnamed tickLnet/minecraft/entity/Entity;tick()V
-
updatePotionVisibility
protected void updatePotionVisibility()- Overrides:
updatePotionVisibilityin classLivingEntity- Mappings:
Namespace Name Mixin selector official FLbcc;F()Vintermediary method_6027Lnet/minecraft/class_1309;method_6027()Vnamed updatePotionVisibilityLnet/minecraft/entity/LivingEntity;updatePotionVisibility()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 official jLbbn;j(Z)Vintermediary method_5648Lnet/minecraft/class_1297;method_5648(Z)Vnamed setInvisibleLnet/minecraft/entity/Entity;setInvisible(Z)V
-
isBaby
public boolean isBaby()- Overrides:
isBabyin classLivingEntity- Mappings:
Namespace Name Mixin selector official y_Lbcc;y_()Zintermediary method_6109Lnet/minecraft/class_1309;method_6109()Znamed isBabyLnet/minecraft/entity/LivingEntity;isBaby()Z
-
kill
public void kill()Kills the entity.This drops loot when applicable, and emits the
GameEvent.ENTITY_DIEgame event.- Overrides:
killin classLivingEntity- Mappings:
Namespace Name Mixin selector official agLbbn;ag()Vintermediary method_5768Lnet/minecraft/class_1297;method_5768()Vnamed killLnet/minecraft/entity/Entity;kill()V
-
isImmuneToExplosion
public boolean 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 official cELbbn;cE()Zintermediary method_5659Lnet/minecraft/class_1297;method_5659()Znamed isImmuneToExplosionLnet/minecraft/entity/Entity;isImmuneToExplosion()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 official c_Lbbn;c_()Ldqb;intermediary method_5657Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;named getPistonBehaviorLnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
-
setSmall
private void setSmall(boolean small) - Mappings:
Namespace Name Mixin selector official aLbql;a(Z)Vintermediary method_6922Lnet/minecraft/class_1531;method_6922(Z)Vnamed setSmallLnet/minecraft/entity/decoration/ArmorStandEntity;setSmall(Z)V
-
isSmall
public boolean isSmall()- Mappings:
Namespace Name Mixin selector official nLbql;n()Zintermediary method_6914Lnet/minecraft/class_1531;method_6914()Znamed isSmallLnet/minecraft/entity/decoration/ArmorStandEntity;isSmall()Z
-
setShowArms
private void setShowArms(boolean showArms) - Mappings:
Namespace Name Mixin selector official rLbql;r(Z)Vintermediary method_6913Lnet/minecraft/class_1531;method_6913(Z)Vnamed setShowArmsLnet/minecraft/entity/decoration/ArmorStandEntity;setShowArms(Z)V
-
shouldShowArms
public boolean shouldShowArms()- Mappings:
Namespace Name Mixin selector official qLbql;q()Zintermediary method_6929Lnet/minecraft/class_1531;method_6929()Znamed shouldShowArmsLnet/minecraft/entity/decoration/ArmorStandEntity;shouldShowArms()Z
-
setHideBasePlate
private void setHideBasePlate(boolean hideBasePlate) - Mappings:
Namespace Name Mixin selector official sLbql;s(Z)Vintermediary method_6907Lnet/minecraft/class_1531;method_6907(Z)Vnamed setHideBasePlateLnet/minecraft/entity/decoration/ArmorStandEntity;setHideBasePlate(Z)V
-
shouldHideBasePlate
public boolean shouldHideBasePlate()- Mappings:
Namespace Name Mixin selector official rLbql;r()Zintermediary method_6901Lnet/minecraft/class_1531;method_6901()Znamed shouldHideBasePlateLnet/minecraft/entity/decoration/ArmorStandEntity;shouldHideBasePlate()Z
-
setMarker
private void setMarker(boolean marker) - Mappings:
Namespace Name Mixin selector official tLbql;t(Z)Vintermediary method_6902Lnet/minecraft/class_1531;method_6902(Z)Vnamed setMarkerLnet/minecraft/entity/decoration/ArmorStandEntity;setMarker(Z)V
-
isMarker
public boolean isMarker()- Mappings:
Namespace Name Mixin selector official tLbql;t()Zintermediary method_6912Lnet/minecraft/class_1531;method_6912()Znamed isMarkerLnet/minecraft/entity/decoration/ArmorStandEntity;isMarker()Z
-
setBitField
private byte setBitField(byte value, int bitField, boolean set) - Mappings:
Namespace Name Mixin selector official aLbql;a(BIZ)Bintermediary method_6906Lnet/minecraft/class_1531;method_6906(BIZ)Bnamed setBitFieldLnet/minecraft/entity/decoration/ArmorStandEntity;setBitField(BIZ)B
-
setHeadRotation
- Mappings:
Namespace Name Mixin selector official aLbql;a(Lhp;)Vintermediary method_6919Lnet/minecraft/class_1531;method_6919(Lnet/minecraft/class_2379;)Vnamed setHeadRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setHeadRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setBodyRotation
- Mappings:
Namespace Name Mixin selector official bLbql;b(Lhp;)Vintermediary method_6927Lnet/minecraft/class_1531;method_6927(Lnet/minecraft/class_2379;)Vnamed setBodyRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setBodyRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setLeftArmRotation
- Mappings:
Namespace Name Mixin selector official cLbql;c(Lhp;)Vintermediary method_6910Lnet/minecraft/class_1531;method_6910(Lnet/minecraft/class_2379;)Vnamed setLeftArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setLeftArmRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setRightArmRotation
- Mappings:
Namespace Name Mixin selector official dLbql;d(Lhp;)Vintermediary method_6925Lnet/minecraft/class_1531;method_6925(Lnet/minecraft/class_2379;)Vnamed setRightArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setRightArmRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setLeftLegRotation
- Mappings:
Namespace Name Mixin selector official eLbql;e(Lhp;)Vintermediary method_6909Lnet/minecraft/class_1531;method_6909(Lnet/minecraft/class_2379;)Vnamed setLeftLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setLeftLegRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
setRightLegRotation
- Mappings:
Namespace Name Mixin selector official fLbql;f(Lhp;)Vintermediary method_6926Lnet/minecraft/class_1531;method_6926(Lnet/minecraft/class_2379;)Vnamed setRightLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;setRightLegRotation(Lnet/minecraft/util/math/EulerAngle;)V
-
getHeadRotation
- Mappings:
Namespace Name Mixin selector official uLbql;u()Lhp;intermediary method_6921Lnet/minecraft/class_1531;method_6921()Lnet/minecraft/class_2379;named getHeadRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getHeadRotation()Lnet/minecraft/util/math/EulerAngle;
-
getBodyRotation
- Mappings:
Namespace Name Mixin selector official wLbql;w()Lhp;intermediary method_6923Lnet/minecraft/class_1531;method_6923()Lnet/minecraft/class_2379;named getBodyRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getBodyRotation()Lnet/minecraft/util/math/EulerAngle;
-
getLeftArmRotation
- Mappings:
Namespace Name Mixin selector official xLbql;x()Lhp;intermediary method_6930Lnet/minecraft/class_1531;method_6930()Lnet/minecraft/class_2379;named getLeftArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getLeftArmRotation()Lnet/minecraft/util/math/EulerAngle;
-
getRightArmRotation
- Mappings:
Namespace Name Mixin selector official yLbql;y()Lhp;intermediary method_6903Lnet/minecraft/class_1531;method_6903()Lnet/minecraft/class_2379;named getRightArmRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getRightArmRotation()Lnet/minecraft/util/math/EulerAngle;
-
getLeftLegRotation
- Mappings:
Namespace Name Mixin selector official zLbql;z()Lhp;intermediary method_6917Lnet/minecraft/class_1531;method_6917()Lnet/minecraft/class_2379;named getLeftLegRotationLnet/minecraft/entity/decoration/ArmorStandEntity;getLeftLegRotation()Lnet/minecraft/util/math/EulerAngle;
-
getRightLegRotation
- Mappings:
Namespace Name Mixin selector official ALbql;A()Lhp;intermediary method_6900Lnet/minecraft/class_1531;method_6900()Lnet/minecraft/class_2379;named getRightLegRotationLnet/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:
canHitin classLivingEntity- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector official bkLbbn;bk()Zintermediary method_5863Lnet/minecraft/class_1297;method_5863()Znamed canHitLnet/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:
handleAttackin classEntity- Returns:
- whether to stop handling the attack
- See Also:
- Mappings:
Namespace Name Mixin selector official rLbbn;r(Lbbn;)Zintermediary method_5698Lnet/minecraft/class_1297;method_5698(Lnet/minecraft/class_1297;)Znamed handleAttackLnet/minecraft/entity/Entity;handleAttack(Lnet/minecraft/entity/Entity;)Z
-
getMainArm
- Specified by:
getMainArmin classLivingEntity- Mappings:
Namespace Name Mixin selector official eSLbcc;eS()Lbbx;intermediary method_6068Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;named getMainArmLnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
-
getFallSounds
- Overrides:
getFallSoundsin classLivingEntity- Mappings:
Namespace Name Mixin selector official enLbcc;en()Lbcc$a;intermediary method_39760Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;named getFallSoundsLnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbcc;c(Lbaw;)Lajv;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getDeathSound
- Overrides:
getDeathSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official x_Lbcc;x_()Lajv;intermediary method_6002Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;named getDeathSoundLnet/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:
onStruckByLightningin classEntity- Mappings:
Namespace Name Mixin selector official aLbbn;a(Lagg;Lbcb;)Vintermediary method_5800Lnet/minecraft/class_1297;method_5800(Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)Vnamed onStruckByLightningLnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LightningEntity;)V
-
isAffectedBySplashPotions
public boolean isAffectedBySplashPotions()- Overrides:
isAffectedBySplashPotionsin classLivingEntity- Mappings:
Namespace Name Mixin selector official feLbcc;fe()Zintermediary method_6086Lnet/minecraft/class_1309;method_6086()Znamed isAffectedBySplashPotionsLnet/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:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbbn;a(Laaj;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
isMobOrPlayer
public boolean isMobOrPlayer()- Overrides:
isMobOrPlayerin classLivingEntity- Mappings:
Namespace Name Mixin selector official ffLbcc;ff()Zintermediary method_6102Lnet/minecraft/class_1309;method_6102()Znamed isMobOrPlayerLnet/minecraft/entity/LivingEntity;isMobOrPlayer()Z
-
getDimensions
Returns the dimensions of the entity with the givenpose.- Overrides:
getDimensionsin classLivingEntity- Returns:
- the dimensions of the entity with the given
pose - See Also:
- Mappings:
Namespace Name Mixin selector official aLbbn;a(Lbco;)Lbbo;intermediary method_18377Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;named getDimensionsLnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
-
getDimensions
- Mappings:
Namespace Name Mixin selector official uLbql;u(Z)Lbbo;intermediary method_31168Lnet/minecraft/class_1531;method_31168(Z)Lnet/minecraft/class_4048;named getDimensionsLnet/minecraft/entity/decoration/ArmorStandEntity;getDimensions(Z)Lnet/minecraft/entity/EntityDimensions;
-
getClientCameraPosVec
- Overrides:
getClientCameraPosVecin classEntity- Mappings:
Namespace Name Mixin selector official jLbbn;j(F)Ldwq;intermediary method_31166Lnet/minecraft/class_1297;method_31166(F)Lnet/minecraft/class_243;named getClientCameraPosVecLnet/minecraft/entity/Entity;getClientCameraPosVec(F)Lnet/minecraft/util/math/Vec3d;
-
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 official dnLbbn;dn()Lcax;intermediary method_31480Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;named getPickBlockStackLnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
-
isPartOfGame
public boolean isPartOfGame()- Overrides:
isPartOfGamein classLivingEntity- Mappings:
Namespace Name Mixin selector official dZLbcc;dZ()Zintermediary method_36608Lnet/minecraft/class_1309;method_36608()Znamed isPartOfGameLnet/minecraft/entity/LivingEntity;isPartOfGame()Z
-