Class ArmorStandEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.decoration.ArmorStandEntity
All Implemented Interfaces:
Attackable, DataTracked, ScoreHolder, CommandOutput, Nameable, EntityLike

public class ArmorStandEntity extends LivingEntity
Mappings:
Namespace Name
named net/minecraft/entity/decoration/ArmorStandEntity
intermediary net/minecraft/class_1531
official ciw
  • Field Details

    • field_30443

      public static final int field_30443
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30443 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30443:I
      intermediary field_30443 Lnet/minecraft/class_1531;field_30443:I
      official b Lciw;b:I
    • field_30445

      private static final boolean field_30445
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30445 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30445:Z
      intermediary field_30445 Lnet/minecraft/class_1531;field_30445:Z
      official bP Lciw;bP:Z
    • DEFAULT_HEAD_ROTATION

      private static final EulerAngle DEFAULT_HEAD_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_HEAD_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_HEAD_ROTATION:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7113 Lnet/minecraft/class_1531;field_7113:Lnet/minecraft/class_2379;
      official bQ Lciw;bQ:Lke;
    • DEFAULT_BODY_ROTATION

      private static final EulerAngle DEFAULT_BODY_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_BODY_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_BODY_ROTATION:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7119 Lnet/minecraft/class_1531;field_7119:Lnet/minecraft/class_2379;
      official bR Lciw;bR:Lke;
    • DEFAULT_LEFT_ARM_ROTATION

      private static final EulerAngle DEFAULT_LEFT_ARM_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_LEFT_ARM_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7124 Lnet/minecraft/class_1531;field_7124:Lnet/minecraft/class_2379;
      official bS Lciw;bS:Lke;
    • DEFAULT_RIGHT_ARM_ROTATION

      private static final EulerAngle DEFAULT_RIGHT_ARM_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_RIGHT_ARM_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_ARM_ROTATION:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7115 Lnet/minecraft/class_1531;field_7115:Lnet/minecraft/class_2379;
      official bT Lciw;bT:Lke;
    • DEFAULT_LEFT_LEG_ROTATION

      private static final EulerAngle DEFAULT_LEFT_LEG_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_LEFT_LEG_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_LEFT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7121 Lnet/minecraft/class_1531;field_7121:Lnet/minecraft/class_2379;
      official bU Lciw;bU:Lke;
    • DEFAULT_RIGHT_LEG_ROTATION

      private static final EulerAngle DEFAULT_RIGHT_LEG_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_RIGHT_LEG_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;DEFAULT_RIGHT_LEG_ROTATION:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7117 Lnet/minecraft/class_1531;field_7117:Lnet/minecraft/class_2379;
      official bV Lciw;bV:Lke;
    • MARKER_DIMENSIONS

      private static final EntityDimensions MARKER_DIMENSIONS
      Mappings:
      Namespace Name Mixin selector
      named MARKER_DIMENSIONS Lnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
      intermediary field_26745 Lnet/minecraft/class_1531;field_26745:Lnet/minecraft/class_4048;
      official bW Lciw;bW:Lbsu;
    • SMALL_DIMENSIONS

      private static final EntityDimensions SMALL_DIMENSIONS
      Mappings:
      Namespace Name Mixin selector
      named SMALL_DIMENSIONS Lnet/minecraft/entity/decoration/ArmorStandEntity;SMALL_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
      intermediary field_26746 Lnet/minecraft/class_1531;field_26746:Lnet/minecraft/class_4048;
      official bX Lciw;bX:Lbsu;
    • field_30447

      private static final double field_30447
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30447 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30447:D
      intermediary field_30447 Lnet/minecraft/class_1531;field_30447:D
      official bY Lciw;bY:D
    • field_30448

      private static final double field_30448
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30448 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30448:D
      intermediary field_30448 Lnet/minecraft/class_1531;field_30448:D
      official bZ Lciw;bZ:D
    • field_30449

      private static final double field_30449
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30449 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30449:D
      intermediary field_30449 Lnet/minecraft/class_1531;field_30449:D
      official ca Lciw;ca:D
    • field_30450

      private static final double field_30450
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30450 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30450:D
      intermediary field_30450 Lnet/minecraft/class_1531;field_30450:D
      official cb Lciw;cb:D
    • field_30446

      public static final int field_30446
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30446 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30446:I
      intermediary field_30446 Lnet/minecraft/class_1531;field_30446:I
      official c Lciw;c:I
    • field_30451

      public static final int field_30451
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30451 Lnet/minecraft/entity/decoration/ArmorStandEntity;field_30451:I
      intermediary field_30451 Lnet/minecraft/class_1531;field_30451:I
      official d Lciw;d:I
    • SMALL_FLAG

      public static final int SMALL_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SMALL_FLAG Lnet/minecraft/entity/decoration/ArmorStandEntity;SMALL_FLAG:I
      intermediary field_30452 Lnet/minecraft/class_1531;field_30452:I
      official e Lciw;e:I
    • SHOW_ARMS_FLAG

      public static final int SHOW_ARMS_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SHOW_ARMS_FLAG Lnet/minecraft/entity/decoration/ArmorStandEntity;SHOW_ARMS_FLAG:I
      intermediary field_30453 Lnet/minecraft/class_1531;field_30453:I
      official f Lciw;f:I
    • HIDE_BASE_PLATE_FLAG

      public static final int HIDE_BASE_PLATE_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named HIDE_BASE_PLATE_FLAG Lnet/minecraft/entity/decoration/ArmorStandEntity;HIDE_BASE_PLATE_FLAG:I
      intermediary field_30442 Lnet/minecraft/class_1531;field_30442:I
      official g Lciw;g:I
    • MARKER_FLAG

      public static final int MARKER_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named MARKER_FLAG Lnet/minecraft/entity/decoration/ArmorStandEntity;MARKER_FLAG:I
      intermediary field_30444 Lnet/minecraft/class_1531;field_30444:I
      official h Lciw;h:I
    • ARMOR_STAND_FLAGS

      public static final TrackedData<Byte> ARMOR_STAND_FLAGS
      Mappings:
      Namespace Name Mixin selector
      named ARMOR_STAND_FLAGS Lnet/minecraft/entity/decoration/ArmorStandEntity;ARMOR_STAND_FLAGS:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7107 Lnet/minecraft/class_1531;field_7107:Lnet/minecraft/class_2940;
      official bH Lciw;bH:Lajw;
    • TRACKER_HEAD_ROTATION

      public static final TrackedData<EulerAngle> TRACKER_HEAD_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named TRACKER_HEAD_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_HEAD_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7123 Lnet/minecraft/class_1531;field_7123:Lnet/minecraft/class_2940;
      official bI Lciw;bI:Lajw;
    • TRACKER_BODY_ROTATION

      public static final TrackedData<EulerAngle> TRACKER_BODY_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named TRACKER_BODY_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_BODY_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7122 Lnet/minecraft/class_1531;field_7122:Lnet/minecraft/class_2940;
      official bJ Lciw;bJ:Lajw;
    • TRACKER_LEFT_ARM_ROTATION

      public static final TrackedData<EulerAngle> TRACKER_LEFT_ARM_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named TRACKER_LEFT_ARM_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7116 Lnet/minecraft/class_1531;field_7116:Lnet/minecraft/class_2940;
      official bK Lciw;bK:Lajw;
    • TRACKER_RIGHT_ARM_ROTATION

      public static final TrackedData<EulerAngle> TRACKER_RIGHT_ARM_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named TRACKER_RIGHT_ARM_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_ARM_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7105 Lnet/minecraft/class_1531;field_7105:Lnet/minecraft/class_2940;
      official bL Lciw;bL:Lajw;
    • TRACKER_LEFT_LEG_ROTATION

      public static final TrackedData<EulerAngle> TRACKER_LEFT_LEG_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named TRACKER_LEFT_LEG_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_LEFT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7127 Lnet/minecraft/class_1531;field_7127:Lnet/minecraft/class_2940;
      official bM Lciw;bM:Lajw;
    • TRACKER_RIGHT_LEG_ROTATION

      public static final TrackedData<EulerAngle> TRACKER_RIGHT_LEG_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named TRACKER_RIGHT_LEG_ROTATION Lnet/minecraft/entity/decoration/ArmorStandEntity;TRACKER_RIGHT_LEG_ROTATION:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_7125 Lnet/minecraft/class_1531;field_7125:Lnet/minecraft/class_2940;
      official bN Lciw;bN:Lajw;
    • RIDEABLE_MINECART_PREDICATE

      private static final Predicate<Entity> RIDEABLE_MINECART_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      named RIDEABLE_MINECART_PREDICATE Lnet/minecraft/entity/decoration/ArmorStandEntity;RIDEABLE_MINECART_PREDICATE:Ljava/util/function/Predicate;
      intermediary field_7102 Lnet/minecraft/class_1531;field_7102:Ljava/util/function/Predicate;
      official cc Lciw;cc:Ljava/util/function/Predicate;
    • heldItems

      private final DefaultedList<ItemStack> heldItems
      Mappings:
      Namespace Name Mixin selector
      named heldItems Lnet/minecraft/entity/decoration/ArmorStandEntity;heldItems:Lnet/minecraft/util/collection/DefaultedList;
      intermediary field_7114 Lnet/minecraft/class_1531;field_7114:Lnet/minecraft/class_2371;
      official cd Lciw;cd:Ljv;
    • armorItems

      private final DefaultedList<ItemStack> armorItems
      Mappings:
      Namespace Name Mixin selector
      named armorItems Lnet/minecraft/entity/decoration/ArmorStandEntity;armorItems:Lnet/minecraft/util/collection/DefaultedList;
      intermediary field_7108 Lnet/minecraft/class_1531;field_7108:Lnet/minecraft/class_2371;
      official ce Lciw;ce:Ljv;
    • invisible

      private boolean invisible
      Mappings:
      Namespace Name Mixin selector
      named invisible Lnet/minecraft/entity/decoration/ArmorStandEntity;invisible:Z
      intermediary field_7111 Lnet/minecraft/class_1531;field_7111:Z
      official cf Lciw;cf:Z
    • lastHitTime

      public long lastHitTime
      Mappings:
      Namespace Name Mixin selector
      named lastHitTime Lnet/minecraft/entity/decoration/ArmorStandEntity;lastHitTime:J
      intermediary field_7112 Lnet/minecraft/class_1531;field_7112:J
      official bO Lciw;bO:J
    • disabledSlots

      private int disabledSlots
      Mappings:
      Namespace Name Mixin selector
      named disabledSlots Lnet/minecraft/entity/decoration/ArmorStandEntity;disabledSlots:I
      intermediary field_7118 Lnet/minecraft/class_1531;field_7118:I
      official cg Lciw;cg:I
    • headRotation

      private EulerAngle headRotation
      Mappings:
      Namespace Name Mixin selector
      named headRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;headRotation:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7104 Lnet/minecraft/class_1531;field_7104:Lnet/minecraft/class_2379;
      official ch Lciw;ch:Lke;
    • bodyRotation

      private EulerAngle bodyRotation
      Mappings:
      Namespace Name Mixin selector
      named bodyRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;bodyRotation:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7106 Lnet/minecraft/class_1531;field_7106:Lnet/minecraft/class_2379;
      official ci Lciw;ci:Lke;
    • leftArmRotation

      private EulerAngle leftArmRotation
      Mappings:
      Namespace Name Mixin selector
      named leftArmRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;leftArmRotation:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7126 Lnet/minecraft/class_1531;field_7126:Lnet/minecraft/class_2379;
      official cj Lciw;cj:Lke;
    • rightArmRotation

      private EulerAngle rightArmRotation
      Mappings:
      Namespace Name Mixin selector
      named rightArmRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;rightArmRotation:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7120 Lnet/minecraft/class_1531;field_7120:Lnet/minecraft/class_2379;
      official ck Lciw;ck:Lke;
    • leftLegRotation

      private EulerAngle leftLegRotation
      Mappings:
      Namespace Name Mixin selector
      named leftLegRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;leftLegRotation:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7110 Lnet/minecraft/class_1531;field_7110:Lnet/minecraft/class_2379;
      official cl Lciw;cl:Lke;
    • rightLegRotation

      private EulerAngle rightLegRotation
      Mappings:
      Namespace Name Mixin selector
      named rightLegRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;rightLegRotation:Lnet/minecraft/util/math/EulerAngle;
      intermediary field_7103 Lnet/minecraft/class_1531;field_7103:Lnet/minecraft/class_2379;
      official cm Lciw;cm:Lke;
  • Constructor Details

    • ArmorStandEntity

      public ArmorStandEntity(EntityType<? extends ArmorStandEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbsr;<init>(Lbsx;Ldcw;)V
    • ArmorStandEntity

      public ArmorStandEntity(World world, double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/decoration/ArmorStandEntity;<init>(Lnet/minecraft/world/World;DDD)V
      intermediary <init> Lnet/minecraft/class_1531;<init>(Lnet/minecraft/class_1937;DDD)V
      official <init> Lciw;<init>(Ldcw;DDD)V
  • Method Details

    • createArmorStandAttributes

      public static DefaultAttributeContainer.Builder createArmorStandAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createArmorStandAttributes Lnet/minecraft/entity/decoration/ArmorStandEntity;createArmorStandAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_55745 Lnet/minecraft/class_1531;method_55745()Lnet/minecraft/class_5132$class_5133;
      official s Lciw;s()Lbuv$a;
    • calculateDimensions

      public void calculateDimensions()
      Calculates and sets the dimension (bounding box) of the entity and refreshes its position.
      Overrides:
      calculateDimensions in class Entity
      Mappings:
      Namespace Name Mixin selector
      named calculateDimensions Lnet/minecraft/entity/Entity;calculateDimensions()V
      intermediary method_18382 Lnet/minecraft/class_1297;method_18382()V
      official i_ Lbsr;i_()V
    • canClip

      private boolean canClip()
      Mappings:
      Namespace Name Mixin selector
      named canClip Lnet/minecraft/entity/decoration/ArmorStandEntity;canClip()Z
      intermediary method_18059 Lnet/minecraft/class_1531;method_18059()Z
      official H Lciw;H()Z
    • canMoveVoluntarily

      public boolean canMoveVoluntarily()
      Overrides:
      canMoveVoluntarily in class Entity
      Mappings:
      Namespace Name Mixin selector
      named canMoveVoluntarily Lnet/minecraft/entity/Entity;canMoveVoluntarily()Z
      intermediary method_6034 Lnet/minecraft/class_1297;method_6034()Z
      official db Lbsr;db()Z
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class LivingEntity
      API Note:
      Subclasses should override this and add to the builder any data that needs to be tracked.
      Mappings:
      Namespace Name Mixin selector
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker(Lnet/minecraft/entity/data/DataTracker$Builder;)V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693(Lnet/minecraft/class_2945$class_9222;)V
      official a Lbsr;a(Laka$a;)V
    • getHandItems

      public Iterable<ItemStack> getHandItems()
      Overrides:
      getHandItems in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getHandItems Lnet/minecraft/entity/LivingEntity;getHandItems()Ljava/lang/Iterable;
      intermediary method_5877 Lnet/minecraft/class_1309;method_5877()Ljava/lang/Iterable;
      official eW Lbtn;eW()Ljava/lang/Iterable;
    • getArmorItems

      public Iterable<ItemStack> getArmorItems()
      Specified by:
      getArmorItems in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getArmorItems Lnet/minecraft/entity/LivingEntity;getArmorItems()Ljava/lang/Iterable;
      intermediary method_5661 Lnet/minecraft/class_1309;method_5661()Ljava/lang/Iterable;
      official eV Lbtn;eV()Ljava/lang/Iterable;
    • getEquippedStack

      public ItemStack getEquippedStack(EquipmentSlot slot)
      Specified by:
      getEquippedStack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getEquippedStack Lnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
      intermediary method_6118 Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
      official a Lbtn;a(Lbsy;)Lcuq;
    • canUseSlot

      public boolean canUseSlot(EquipmentSlot slot)
      Overrides:
      canUseSlot in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named canUseSlot Lnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
      intermediary method_56991 Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Z
      official d Lbtn;d(Lbsy;)Z
    • equipStack

      public void equipStack(EquipmentSlot slot, ItemStack stack)
      Specified by:
      equipStack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named equipStack Lnet/minecraft/entity/LivingEntity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
      intermediary method_5673 Lnet/minecraft/class_1309;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
      official a Lbtn;a(Lbsy;Lcuq;)V
    • canEquip

      public boolean canEquip(ItemStack stack)
      Overrides:
      canEquip in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named canEquip Lnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_18397 Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Z
      official f Lbtn;f(Lcuq;)Z
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Writes custom data to nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      Overrides:
      writeCustomDataToNbt in class LivingEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      official b Lbsr;b(Lub;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Reads custom data from nbt. Subclasses have to implement this.

      NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readCustomDataFromNbt in class LivingEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbsr;a(Lub;)V
    • readPoseNbt

      private void readPoseNbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      named readPoseNbt Lnet/minecraft/entity/decoration/ArmorStandEntity;readPoseNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_6928 Lnet/minecraft/class_1531;method_6928(Lnet/minecraft/class_2487;)V
      official c Lciw;c(Lub;)V
    • poseToNbt

      private NbtCompound poseToNbt()
      Mappings:
      Namespace Name Mixin selector
      named poseToNbt Lnet/minecraft/entity/decoration/ArmorStandEntity;poseToNbt()Lnet/minecraft/nbt/NbtCompound;
      intermediary method_6911 Lnet/minecraft/class_1531;method_6911()Lnet/minecraft/class_2487;
      official I Lciw;I()Lub;
    • isPushable

      public boolean isPushable()
      Returns whether the entity can be pushed by other entities.
      Overrides:
      isPushable in class LivingEntity
      Returns:
      whether the entity can be pushed by other entities
      Mappings:
      Namespace Name Mixin selector
      named isPushable Lnet/minecraft/entity/Entity;isPushable()Z
      intermediary method_5810 Lnet/minecraft/class_1297;method_5810()Z
      official bB Lbsr;bB()Z
    • pushAway

      protected void pushAway(Entity entity)
      Overrides:
      pushAway in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named pushAway Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
      intermediary method_6087 Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)V
      official E Lbtn;E(Lbsr;)V
    • tickCramming

      protected void tickCramming()
      Overrides:
      tickCramming in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named tickCramming Lnet/minecraft/entity/LivingEntity;tickCramming()V
      intermediary method_6070 Lnet/minecraft/class_1309;method_6070()V
      official r Lbtn;r()V
    • interactAt

      public ActionResult interactAt(PlayerEntity player, Vec3d hitPos, Hand hand)
      Called when the player interacts with the entity at the specific position.

      This should not be used in most cases; Entity.interact(net.minecraft.entity.player.PlayerEntity, net.minecraft.util.Hand) should be used. This should be used if the interaction's result depends on which part of the entity was interacted at.

      Overrides:
      interactAt in class Entity
      Parameters:
      hitPos - the interaction's position offset from the entity's position
      Mappings:
      Namespace Name Mixin selector
      named interactAt Lnet/minecraft/entity/Entity;interactAt(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      intermediary method_5664 Lnet/minecraft/class_1297;method_5664(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      official a Lbsr;a(Lcmx;Lexc;Lbqq;)Lbqr;
    • getSlotFromPosition

      private EquipmentSlot getSlotFromPosition(Vec3d hitPos)
      Mappings:
      Namespace Name Mixin selector
      named getSlotFromPosition Lnet/minecraft/entity/decoration/ArmorStandEntity;getSlotFromPosition(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/entity/EquipmentSlot;
      intermediary method_6916 Lnet/minecraft/class_1531;method_6916(Lnet/minecraft/class_243;)Lnet/minecraft/class_1304;
      official b Lciw;b(Lexc;)Lbsy;
    • isSlotDisabled

      private boolean isSlotDisabled(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      named isSlotDisabled Lnet/minecraft/entity/decoration/ArmorStandEntity;isSlotDisabled(Lnet/minecraft/entity/EquipmentSlot;)Z
      intermediary method_6915 Lnet/minecraft/class_1531;method_6915(Lnet/minecraft/class_1304;)Z
      official e Lciw;e(Lbsy;)Z
    • equip

      private boolean equip(PlayerEntity player, EquipmentSlot slot, ItemStack stack, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      named equip Lnet/minecraft/entity/decoration/ArmorStandEntity;equip(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/util/Hand;)Z
      intermediary method_6904 Lnet/minecraft/class_1531;method_6904(Lnet/minecraft/class_1657;Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1268;)Z
      official a Lciw;a(Lcmx;Lbsy;Lcuq;Lbqq;)Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Applies a damage to this entity. The exact implementation differs between subclasses.

      LivingEntity has health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.

      Some entities like ItemEntity also have health value, which the overridden method decrements. There also exist several entities, like EndCrystalEntity, where any damage discards the entity (perhaps with an explosion).

      If this is overridden, it must check the result of LivingEntity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource) and return early.

      Overrides:
      damage in class LivingEntity
      Returns:
      whether the entity was actually damaged
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      official a Lbsr;a(Lbrk;F)Z
    • handleStatus

      public void handleStatus(byte status)
      Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.
      Overrides:
      handleStatus in class LivingEntity
      See Also:
      API Note:
      To send an entity status, use World.sendEntityStatus(net.minecraft.entity.Entity, byte).
      Mappings:
      Namespace Name Mixin selector
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      official b Lbsr;b(B)V
    • shouldRender

      public boolean shouldRender(double distance)
      Overrides:
      shouldRender in class Entity
      Mappings:
      Namespace Name Mixin selector
      named shouldRender Lnet/minecraft/entity/Entity;shouldRender(D)Z
      intermediary method_5640 Lnet/minecraft/class_1297;method_5640(D)Z
      official a Lbsr;a(D)Z
    • spawnBreakParticles

      private void spawnBreakParticles()
      Mappings:
      Namespace Name Mixin selector
      named spawnBreakParticles Lnet/minecraft/entity/decoration/ArmorStandEntity;spawnBreakParticles()V
      intermediary method_6898 Lnet/minecraft/class_1531;method_6898()V
      official J Lciw;J()V
    • updateHealth

      private void updateHealth(ServerWorld world, DamageSource damageSource, float amount)
      Mappings:
      Namespace Name Mixin selector
      named updateHealth Lnet/minecraft/entity/decoration/ArmorStandEntity;updateHealth(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)V
      intermediary method_6905 Lnet/minecraft/class_1531;method_6905(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)V
      official a Lciw;a(Laqu;Lbrk;F)V
    • breakAndDropItem

      private void breakAndDropItem(ServerWorld world, DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      named breakAndDropItem Lnet/minecraft/entity/decoration/ArmorStandEntity;breakAndDropItem(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)V
      intermediary method_6924 Lnet/minecraft/class_1531;method_6924(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)V
      official b Lciw;b(Laqu;Lbrk;)V
    • onBreak

      private void onBreak(ServerWorld world, DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      named onBreak Lnet/minecraft/entity/decoration/ArmorStandEntity;onBreak(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;)V
      intermediary method_6908 Lnet/minecraft/class_1531;method_6908(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;)V
      official c Lciw;c(Laqu;Lbrk;)V
    • playBreakSound

      private void playBreakSound()
      Mappings:
      Namespace Name Mixin selector
      named playBreakSound Lnet/minecraft/entity/decoration/ArmorStandEntity;playBreakSound()V
      intermediary method_6920 Lnet/minecraft/class_1531;method_6920()V
      official L Lciw;L()V
    • turnHead

      protected float turnHead(float bodyRotation, float headRotation)
      Overrides:
      turnHead in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named turnHead Lnet/minecraft/entity/LivingEntity;turnHead(FF)F
      intermediary method_6031 Lnet/minecraft/class_1309;method_6031(FF)F
      official f Lbtn;f(FF)F
    • travel

      public void travel(Vec3d movementInput)
      Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.

      See vanilla examples of custom horse vehicle and flying entities.

      Overrides:
      travel in class LivingEntity
      Parameters:
      movementInput - represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
      Mappings:
      Namespace Name Mixin selector
      named travel Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_6091 Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
      official a Lbtn;a(Lexc;)V
    • setBodyYaw

      public void setBodyYaw(float bodyYaw)
      Sets the body yaw of this entity.
      Overrides:
      setBodyYaw in class LivingEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named setBodyYaw Lnet/minecraft/entity/Entity;setBodyYaw(F)V
      intermediary method_5636 Lnet/minecraft/class_1297;method_5636(F)V
      official p Lbsr;p(F)V
    • setHeadYaw

      public void setHeadYaw(float headYaw)
      Sets the head yaw of this entity.
      Overrides:
      setHeadYaw in class LivingEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named setHeadYaw Lnet/minecraft/entity/Entity;setHeadYaw(F)V
      intermediary method_5847 Lnet/minecraft/class_1297;method_5847(F)V
      official o Lbsr;o(F)V
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class LivingEntity
      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 tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official l Lbsr;l()V
    • updatePotionVisibility

      protected void updatePotionVisibility()
      Overrides:
      updatePotionVisibility in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named updatePotionVisibility Lnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
      intermediary method_6027 Lnet/minecraft/class_1309;method_6027()V
      official K Lbtn;K()V
    • setInvisible

      public void setInvisible(boolean invisible)
      Sets whether the entity is invisible to everyone.

      Invisibility status effect and ArmorStandEntity's Invisible NBT key can cause an entity to be invisible.

      Overrides:
      setInvisible in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named setInvisible Lnet/minecraft/entity/Entity;setInvisible(Z)V
      intermediary method_5648 Lnet/minecraft/class_1297;method_5648(Z)V
      official k Lbsr;k(Z)V
    • isBaby

      public boolean isBaby()
      Overrides:
      isBaby in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named isBaby Lnet/minecraft/entity/LivingEntity;isBaby()Z
      intermediary method_6109 Lnet/minecraft/class_1309;method_6109()Z
      official o_ Lbtn;o_()Z
    • kill

      public void kill()
      Kills the entity.

      This drops loot when applicable, and emits the GameEvent.ENTITY_DIE game event.

      Overrides:
      kill in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named kill Lnet/minecraft/entity/Entity;kill()V
      intermediary method_5768 Lnet/minecraft/class_1297;method_5768()V
      official ap Lbsr;ap()V
    • isImmuneToExplosion

      public boolean isImmuneToExplosion(Explosion explosion)
      Returns whether the entity is immune from explosion knockback and damage.

      Invisible ArmorStandEntity and emerging or digging WardenEntity are immune from explosions.

      Overrides:
      isImmuneToExplosion in class Entity
      Returns:
      whether the entity is immune from explosion knockback and damage
      Mappings:
      Namespace Name Mixin selector
      named isImmuneToExplosion Lnet/minecraft/entity/Entity;isImmuneToExplosion(Lnet/minecraft/world/explosion/Explosion;)Z
      intermediary method_5659 Lnet/minecraft/class_1297;method_5659(Lnet/minecraft/class_1927;)Z
      official a Lbsr;a(Ldco;)Z
    • getPistonBehavior

      public PistonBehavior getPistonBehavior()
      Returns the behavior of the piston for this entity.

      This is PistonBehavior.NORMAL by default. AreaEffectCloudEntity, MarkerEntity, and marker ArmorStandEntity return PistonBehavior.IGNORE, causing the piston to not affect the entity's position. Other piston behaviors are inapplicable to entities, and treated like PistonBehavior.NORMAL.

      Overrides:
      getPistonBehavior in class Entity
      Returns:
      the behavior of the piston for this entity
      Mappings:
      Namespace Name Mixin selector
      named getPistonBehavior Lnet/minecraft/entity/Entity;getPistonBehavior()Lnet/minecraft/block/piston/PistonBehavior;
      intermediary method_5657 Lnet/minecraft/class_1297;method_5657()Lnet/minecraft/class_3619;
      official j_ Lbsr;j_()Lepj;
    • canAvoidTraps

      public boolean canAvoidTraps()
      Returns whether the entity cannot trigger pressure plates or tripwires.

      BatEntity is the only entity in vanilla that can avoid traps.

      Overrides:
      canAvoidTraps in class Entity
      Returns:
      whether the entity cannot trigger pressure plates or tripwires
      Mappings:
      Namespace Name Mixin selector
      named canAvoidTraps Lnet/minecraft/entity/Entity;canAvoidTraps()Z
      intermediary method_5696 Lnet/minecraft/class_1297;method_5696()Z
      official r_ Lbsr;r_()Z
    • setSmall

      private void setSmall(boolean small)
      Mappings:
      Namespace Name Mixin selector
      named setSmall Lnet/minecraft/entity/decoration/ArmorStandEntity;setSmall(Z)V
      intermediary method_6922 Lnet/minecraft/class_1531;method_6922(Z)V
      official u Lciw;u(Z)V
    • isSmall

      public boolean isSmall()
      Mappings:
      Namespace Name Mixin selector
      named isSmall Lnet/minecraft/entity/decoration/ArmorStandEntity;isSmall()Z
      intermediary method_6914 Lnet/minecraft/class_1531;method_6914()Z
      official t Lciw;t()Z
    • setShowArms

      public void setShowArms(boolean showArms)
      Mappings:
      Namespace Name Mixin selector
      named setShowArms Lnet/minecraft/entity/decoration/ArmorStandEntity;setShowArms(Z)V
      intermediary method_6913 Lnet/minecraft/class_1531;method_6913(Z)V
      official a Lciw;a(Z)V
    • shouldShowArms

      public boolean shouldShowArms()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowArms Lnet/minecraft/entity/decoration/ArmorStandEntity;shouldShowArms()Z
      intermediary method_6929 Lnet/minecraft/class_1531;method_6929()Z
      official v Lciw;v()Z
    • setHideBasePlate

      public void setHideBasePlate(boolean hideBasePlate)
      Mappings:
      Namespace Name Mixin selector
      named setHideBasePlate Lnet/minecraft/entity/decoration/ArmorStandEntity;setHideBasePlate(Z)V
      intermediary method_6907 Lnet/minecraft/class_1531;method_6907(Z)V
      official b Lciw;b(Z)V
    • shouldHideBasePlate

      public boolean shouldHideBasePlate()
      Mappings:
      Namespace Name Mixin selector
      named shouldHideBasePlate Lnet/minecraft/entity/decoration/ArmorStandEntity;shouldHideBasePlate()Z
      intermediary method_6901 Lnet/minecraft/class_1531;method_6901()Z
      official x Lciw;x()Z
    • setMarker

      private void setMarker(boolean marker)
      Mappings:
      Namespace Name Mixin selector
      named setMarker Lnet/minecraft/entity/decoration/ArmorStandEntity;setMarker(Z)V
      intermediary method_6902 Lnet/minecraft/class_1531;method_6902(Z)V
      official v Lciw;v(Z)V
    • isMarker

      public boolean isMarker()
      Mappings:
      Namespace Name Mixin selector
      named isMarker Lnet/minecraft/entity/decoration/ArmorStandEntity;isMarker()Z
      intermediary method_6912 Lnet/minecraft/class_1531;method_6912()Z
      official z Lciw;z()Z
    • setBitField

      private byte setBitField(byte value, int bitField, boolean set)
      Mappings:
      Namespace Name Mixin selector
      named setBitField Lnet/minecraft/entity/decoration/ArmorStandEntity;setBitField(BIZ)B
      intermediary method_6906 Lnet/minecraft/class_1531;method_6906(BIZ)B
      official a Lciw;a(BIZ)B
    • setHeadRotation

      public void setHeadRotation(EulerAngle angle)
      Mappings:
      Namespace Name Mixin selector
      named setHeadRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;setHeadRotation(Lnet/minecraft/util/math/EulerAngle;)V
      intermediary method_6919 Lnet/minecraft/class_1531;method_6919(Lnet/minecraft/class_2379;)V
      official a Lciw;a(Lke;)V
    • setBodyRotation

      public void setBodyRotation(EulerAngle angle)
      Mappings:
      Namespace Name Mixin selector
      named setBodyRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;setBodyRotation(Lnet/minecraft/util/math/EulerAngle;)V
      intermediary method_6927 Lnet/minecraft/class_1531;method_6927(Lnet/minecraft/class_2379;)V
      official b Lciw;b(Lke;)V
    • setLeftArmRotation

      public void setLeftArmRotation(EulerAngle angle)
      Mappings:
      Namespace Name Mixin selector
      named setLeftArmRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;setLeftArmRotation(Lnet/minecraft/util/math/EulerAngle;)V
      intermediary method_6910 Lnet/minecraft/class_1531;method_6910(Lnet/minecraft/class_2379;)V
      official c Lciw;c(Lke;)V
    • setRightArmRotation

      public void setRightArmRotation(EulerAngle angle)
      Mappings:
      Namespace Name Mixin selector
      named setRightArmRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;setRightArmRotation(Lnet/minecraft/util/math/EulerAngle;)V
      intermediary method_6925 Lnet/minecraft/class_1531;method_6925(Lnet/minecraft/class_2379;)V
      official d Lciw;d(Lke;)V
    • setLeftLegRotation

      public void setLeftLegRotation(EulerAngle angle)
      Mappings:
      Namespace Name Mixin selector
      named setLeftLegRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;setLeftLegRotation(Lnet/minecraft/util/math/EulerAngle;)V
      intermediary method_6909 Lnet/minecraft/class_1531;method_6909(Lnet/minecraft/class_2379;)V
      official e Lciw;e(Lke;)V
    • setRightLegRotation

      public void setRightLegRotation(EulerAngle angle)
      Mappings:
      Namespace Name Mixin selector
      named setRightLegRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;setRightLegRotation(Lnet/minecraft/util/math/EulerAngle;)V
      intermediary method_6926 Lnet/minecraft/class_1531;method_6926(Lnet/minecraft/class_2379;)V
      official f Lciw;f(Lke;)V
    • getHeadRotation

      public EulerAngle getHeadRotation()
      Mappings:
      Namespace Name Mixin selector
      named getHeadRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;getHeadRotation()Lnet/minecraft/util/math/EulerAngle;
      intermediary method_6921 Lnet/minecraft/class_1531;method_6921()Lnet/minecraft/class_2379;
      official A Lciw;A()Lke;
    • getBodyRotation

      public EulerAngle getBodyRotation()
      Mappings:
      Namespace Name Mixin selector
      named getBodyRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;getBodyRotation()Lnet/minecraft/util/math/EulerAngle;
      intermediary method_6923 Lnet/minecraft/class_1531;method_6923()Lnet/minecraft/class_2379;
      official B Lciw;B()Lke;
    • getLeftArmRotation

      public EulerAngle getLeftArmRotation()
      Mappings:
      Namespace Name Mixin selector
      named getLeftArmRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;getLeftArmRotation()Lnet/minecraft/util/math/EulerAngle;
      intermediary method_6930 Lnet/minecraft/class_1531;method_6930()Lnet/minecraft/class_2379;
      official C Lciw;C()Lke;
    • getRightArmRotation

      public EulerAngle getRightArmRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRightArmRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;getRightArmRotation()Lnet/minecraft/util/math/EulerAngle;
      intermediary method_6903 Lnet/minecraft/class_1531;method_6903()Lnet/minecraft/class_2379;
      official D Lciw;D()Lke;
    • getLeftLegRotation

      public EulerAngle getLeftLegRotation()
      Mappings:
      Namespace Name Mixin selector
      named getLeftLegRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;getLeftLegRotation()Lnet/minecraft/util/math/EulerAngle;
      intermediary method_6917 Lnet/minecraft/class_1531;method_6917()Lnet/minecraft/class_2379;
      official E Lciw;E()Lke;
    • getRightLegRotation

      public EulerAngle getRightLegRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRightLegRotation Lnet/minecraft/entity/decoration/ArmorStandEntity;getRightLegRotation()Lnet/minecraft/util/math/EulerAngle;
      intermediary method_6900 Lnet/minecraft/class_1531;method_6900()Lnet/minecraft/class_2379;
      official F Lciw;F()Lke;
    • canHit

      public boolean canHit()
      Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.
      Overrides:
      canHit in class LivingEntity
      Returns:
      whether the entity can be hit with a projectile or be targeted by the player crosshair
      Mappings:
      Namespace Name Mixin selector
      named canHit Lnet/minecraft/entity/Entity;canHit()Z
      intermediary method_5863 Lnet/minecraft/class_1297;method_5863()Z
      official bA Lbsr;bA()Z
    • handleAttack

      public boolean handleAttack(Entity attacker)
      Handles a player attacking the entity. This is called before damage(net.minecraft.entity.damage.DamageSource, float) and can be used to restrict players from attacking the entity by returning true.
      Overrides:
      handleAttack in class Entity
      Returns:
      whether to stop handling the attack
      See Also:
      API Note:
      For example, ArmorStandEntity checks whether the player can modify blocks at the entity's position.
      Mappings:
      Namespace Name Mixin selector
      named handleAttack Lnet/minecraft/entity/Entity;handleAttack(Lnet/minecraft/entity/Entity;)Z
      intermediary method_5698 Lnet/minecraft/class_1297;method_5698(Lnet/minecraft/class_1297;)Z
      official u Lbsr;u(Lbsr;)Z
    • getMainArm

      public Arm getMainArm()
      Specified by:
      getMainArm in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getMainArm Lnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
      intermediary method_6068 Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;
      official fq Lbtn;fq()Lbtg;
    • getFallSounds

      public LivingEntity.FallSounds getFallSounds()
      Overrides:
      getFallSounds in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getFallSounds Lnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
      intermediary method_39760 Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;
      official eH Lbtn;eH()Lbtn$a;
    • getHurtSound

      @Nullable protected @Nullable SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official d Lbtn;d(Lbrk;)Lavo;
    • getDeathSound

      @Nullable protected @Nullable SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official n_ Lbtn;n_()Lavo;
    • onStruckByLightning

      public void onStruckByLightning(ServerWorld world, LightningEntity lightning)
      Called when the entity is struck by lightning. This sets the entity on fire and deals lightning damage by default; entities that do not take such damage should override this method to do nothing.
      Overrides:
      onStruckByLightning in class Entity
      Mappings:
      Namespace Name Mixin selector
      named onStruckByLightning Lnet/minecraft/entity/Entity;onStruckByLightning(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/LightningEntity;)V
      intermediary method_5800 Lnet/minecraft/class_1297;method_5800(Lnet/minecraft/class_3218;Lnet/minecraft/class_1538;)V
      official a Lbsr;a(Laqu;Lbtm;)V
    • isAffectedBySplashPotions

      public boolean isAffectedBySplashPotions()
      Overrides:
      isAffectedBySplashPotions in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named isAffectedBySplashPotions Lnet/minecraft/entity/LivingEntity;isAffectedBySplashPotions()Z
      intermediary method_6086 Lnet/minecraft/class_1309;method_6086()Z
      official fC Lbtn;fC()Z
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      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:
      onTrackedDataSet in interface DataTracked
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named onTrackedDataSet Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
      intermediary method_5674 Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
      official a Lajz;a(Lajw;)V
    • isMobOrPlayer

      public boolean isMobOrPlayer()
      Overrides:
      isMobOrPlayer in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named isMobOrPlayer Lnet/minecraft/entity/LivingEntity;isMobOrPlayer()Z
      intermediary method_6102 Lnet/minecraft/class_1309;method_6102()Z
      official fD Lbtn;fD()Z
    • getBaseDimensions

      public EntityDimensions getBaseDimensions(EntityPose pose)
      Overrides:
      getBaseDimensions in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getBaseDimensions Lnet/minecraft/entity/LivingEntity;getBaseDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
      intermediary method_55694 Lnet/minecraft/class_1309;method_55694(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      official e Lbtn;e(Lbua;)Lbsu;
    • getDimensions

      private EntityDimensions getDimensions(boolean marker)
      Mappings:
      Namespace Name Mixin selector
      named getDimensions Lnet/minecraft/entity/decoration/ArmorStandEntity;getDimensions(Z)Lnet/minecraft/entity/EntityDimensions;
      intermediary method_31168 Lnet/minecraft/class_1531;method_31168(Z)Lnet/minecraft/class_4048;
      official w Lciw;w(Z)Lbsu;
    • getClientCameraPosVec

      public Vec3d getClientCameraPosVec(float tickDelta)
      Overrides:
      getClientCameraPosVec in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getClientCameraPosVec Lnet/minecraft/entity/Entity;getClientCameraPosVec(F)Lnet/minecraft/util/math/Vec3d;
      intermediary method_31166 Lnet/minecraft/class_1297;method_31166(F)Lnet/minecraft/class_243;
      official l Lbsr;l(F)Lexc;
    • getPickBlockStack

      public ItemStack getPickBlockStack()
      Returns the stack for creative "pick block" functionality, or null if there is none.

      If the entity has an item representation (such as boats or minecarts), this should be overridden to return a new stack. Note that MobEntity handles the spawn eggs. ItemFrameEntity instead returns the copy of the stack held in the frame.

      Overrides:
      getPickBlockStack in class Entity
      Returns:
      the stack for creative "pick block" functionality, or null if there is none
      Mappings:
      Namespace Name Mixin selector
      named getPickBlockStack Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;
      intermediary method_31480 Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
      official dB Lbsr;dB()Lcuq;
    • isPartOfGame

      public boolean isPartOfGame()
      Overrides:
      isPartOfGame in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named isPartOfGame Lnet/minecraft/entity/LivingEntity;isPartOfGame()Z
      intermediary method_36608 Lnet/minecraft/class_1309;method_36608()Z
      official eq Lbtn;eq()Z