Class LivingEntity

java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
All Implemented Interfaces:
Attackable, CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
ArmorStandEntity, MobEntity, PlayerEntity

public abstract class LivingEntity extends Entity implements Attackable
Represents an entity which has a health value and can receive damage.
Mappings:
Namespace Name
official bjg
intermediary net/minecraft/class_1309
named net/minecraft/entity/LivingEntity
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b:Lorg/slf4j/Logger;
      intermediary field_36332 Lnet/minecraft/class_1309;field_36332:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/entity/LivingEntity;LOGGER:Lorg/slf4j/Logger;
    • ACTIVE_EFFECTS_NBT_KEY

      private static final String ACTIVE_EFFECTS_NBT_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c:Ljava/lang/String;
      intermediary field_45740 Lnet/minecraft/class_1309;field_45740:Ljava/lang/String;
      named ACTIVE_EFFECTS_NBT_KEY Lnet/minecraft/entity/LivingEntity;ACTIVE_EFFECTS_NBT_KEY:Ljava/lang/String;
    • SOUL_SPEED_BOOST_ID

      private static final UUID SOUL_SPEED_BOOST_ID
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d:Ljava/util/UUID;
      intermediary field_23128 Lnet/minecraft/class_1309;field_23128:Ljava/util/UUID;
      named SOUL_SPEED_BOOST_ID Lnet/minecraft/entity/LivingEntity;SOUL_SPEED_BOOST_ID:Ljava/util/UUID;
    • POWDER_SNOW_SLOW_ID

      private static final UUID POWDER_SNOW_SLOW_ID
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e:Ljava/util/UUID;
      intermediary field_27859 Lnet/minecraft/class_1309;field_27859:Ljava/util/UUID;
      named POWDER_SNOW_SLOW_ID Lnet/minecraft/entity/LivingEntity;POWDER_SNOW_SLOW_ID:Ljava/util/UUID;
    • SPRINTING_SPEED_BOOST

      private static final EntityAttributeModifier SPRINTING_SPEED_BOOST
      Mappings:
      Namespace Name Mixin selector
      official bA Lbjg;bA:Lbkk;
      intermediary field_6231 Lnet/minecraft/class_1309;field_6231:Lnet/minecraft/class_1322;
      named SPRINTING_SPEED_BOOST Lnet/minecraft/entity/LivingEntity;SPRINTING_SPEED_BOOST:Lnet/minecraft/entity/attribute/EntityAttributeModifier;
    • field_30069

      public static final int field_30069
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lbjg;g:I
      intermediary field_30069 Lnet/minecraft/class_1309;field_30069:I
      named field_30069 Lnet/minecraft/entity/LivingEntity;field_30069:I
    • field_30070

      public static final int field_30070
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official h Lbjg;h:I
      intermediary field_30070 Lnet/minecraft/class_1309;field_30070:I
      named field_30070 Lnet/minecraft/entity/LivingEntity;field_30070:I
    • EQUIPMENT_SLOT_ID

      public static final int EQUIPMENT_SLOT_ID
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official i Lbjg;i:I
      intermediary field_30071 Lnet/minecraft/class_1309;field_30071:I
      named EQUIPMENT_SLOT_ID Lnet/minecraft/entity/LivingEntity;EQUIPMENT_SLOT_ID:I
    • field_30072

      public static final int field_30072
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official j Lbjg;j:I
      intermediary field_30072 Lnet/minecraft/class_1309;field_30072:I
      named field_30072 Lnet/minecraft/entity/LivingEntity;field_30072:I
    • GLOWING_FLAG

      public static final int GLOWING_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official k Lbjg;k:I
      intermediary field_30073 Lnet/minecraft/class_1309;field_30073:I
      named GLOWING_FLAG Lnet/minecraft/entity/LivingEntity;GLOWING_FLAG:I
    • field_30074

      public static final int field_30074
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbjg;l:I
      intermediary field_30074 Lnet/minecraft/class_1309;field_30074:I
      named field_30074 Lnet/minecraft/entity/LivingEntity;field_30074:I
    • field_30078

      private static final int field_30078
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bB Lbjg;bB:I
      intermediary field_30078 Lnet/minecraft/class_1309;field_30078:I
      named field_30078 Lnet/minecraft/entity/LivingEntity;field_30078:I
    • field_30075

      public static final double field_30075
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official m Lbjg;m:D
      intermediary field_30075 Lnet/minecraft/class_1309;field_30075:D
      named field_30075 Lnet/minecraft/entity/LivingEntity;field_30075:D
    • GRAVITY

      public static final double GRAVITY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official n Lbjg;n:D
      intermediary field_30076 Lnet/minecraft/class_1309;field_30076:D
      named GRAVITY Lnet/minecraft/entity/LivingEntity;GRAVITY:D
    • DEATH_TICKS

      public static final int DEATH_TICKS
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official o Lbjg;o:I
      intermediary field_30077 Lnet/minecraft/class_1309;field_30077:I
      named DEATH_TICKS Lnet/minecraft/entity/LivingEntity;DEATH_TICKS:I
    • FALL_FLYING_FLAG

      private static final int FALL_FLYING_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bC Lbjg;bC:I
      intermediary field_30079 Lnet/minecraft/class_1309;field_30079:I
      named FALL_FLYING_FLAG Lnet/minecraft/entity/LivingEntity;FALL_FLYING_FLAG:I
    • field_30080

      private static final int field_30080
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bD Lbjg;bD:I
      intermediary field_30080 Lnet/minecraft/class_1309;field_30080:I
      named field_30080 Lnet/minecraft/entity/LivingEntity;field_30080:I
    • field_30081

      private static final int field_30081
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bE Lbjg;bE:I
      intermediary field_30081 Lnet/minecraft/class_1309;field_30081:I
      named field_30081 Lnet/minecraft/entity/LivingEntity;field_30081:I
    • field_30063

      public static final int field_30063
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official p Lbjg;p:I
      intermediary field_30063 Lnet/minecraft/class_1309;field_30063:I
      named field_30063 Lnet/minecraft/entity/LivingEntity;field_30063:I
    • field_44874

      private static final float field_44874
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bF Lbjg;bF:F
      intermediary field_44874 Lnet/minecraft/class_1309;field_44874:F
      named field_44874 Lnet/minecraft/entity/LivingEntity;field_44874:F
    • MAX_ENTITY_VIEWING_DISTANCE

      private static final double MAX_ENTITY_VIEWING_DISTANCE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bG Lbjg;bG:D
      intermediary field_33908 Lnet/minecraft/class_1309;field_33908:D
      named MAX_ENTITY_VIEWING_DISTANCE Lnet/minecraft/entity/LivingEntity;MAX_ENTITY_VIEWING_DISTANCE:D
    • USING_ITEM_FLAG

      protected static final int USING_ITEM_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official q Lbjg;q:I
      intermediary field_30064 Lnet/minecraft/class_1309;field_30064:I
      named USING_ITEM_FLAG Lnet/minecraft/entity/LivingEntity;USING_ITEM_FLAG:I
    • OFF_HAND_ACTIVE_FLAG

      protected static final int OFF_HAND_ACTIVE_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official r Lbjg;r:I
      intermediary field_30065 Lnet/minecraft/class_1309;field_30065:I
      named OFF_HAND_ACTIVE_FLAG Lnet/minecraft/entity/LivingEntity;OFF_HAND_ACTIVE_FLAG:I
    • USING_RIPTIDE_FLAG

      protected static final int USING_RIPTIDE_FLAG
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official s Lbjg;s:I
      intermediary field_30066 Lnet/minecraft/class_1309;field_30066:I
      named USING_RIPTIDE_FLAG Lnet/minecraft/entity/LivingEntity;USING_RIPTIDE_FLAG:I
    • LIVING_FLAGS

      protected static final TrackedData<Byte> LIVING_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official t Lbjg;t:Laee;
      intermediary field_6257 Lnet/minecraft/class_1309;field_6257:Lnet/minecraft/class_2940;
      named LIVING_FLAGS Lnet/minecraft/entity/LivingEntity;LIVING_FLAGS:Lnet/minecraft/entity/data/TrackedData;
    • HEALTH

      private static final TrackedData<Float> HEALTH
      Mappings:
      Namespace Name Mixin selector
      official bH Lbjg;bH:Laee;
      intermediary field_6247 Lnet/minecraft/class_1309;field_6247:Lnet/minecraft/class_2940;
      named HEALTH Lnet/minecraft/entity/LivingEntity;HEALTH:Lnet/minecraft/entity/data/TrackedData;
    • POTION_SWIRLS_COLOR

      private static final TrackedData<Integer> POTION_SWIRLS_COLOR
      Mappings:
      Namespace Name Mixin selector
      official bI Lbjg;bI:Laee;
      intermediary field_6240 Lnet/minecraft/class_1309;field_6240:Lnet/minecraft/class_2940;
      named POTION_SWIRLS_COLOR Lnet/minecraft/entity/LivingEntity;POTION_SWIRLS_COLOR:Lnet/minecraft/entity/data/TrackedData;
    • POTION_SWIRLS_AMBIENT

      private static final TrackedData<Boolean> POTION_SWIRLS_AMBIENT
      Mappings:
      Namespace Name Mixin selector
      official bJ Lbjg;bJ:Laee;
      intermediary field_6214 Lnet/minecraft/class_1309;field_6214:Lnet/minecraft/class_2940;
      named POTION_SWIRLS_AMBIENT Lnet/minecraft/entity/LivingEntity;POTION_SWIRLS_AMBIENT:Lnet/minecraft/entity/data/TrackedData;
    • STUCK_ARROW_COUNT

      private static final TrackedData<Integer> STUCK_ARROW_COUNT
      Mappings:
      Namespace Name Mixin selector
      official bK Lbjg;bK:Laee;
      intermediary field_6219 Lnet/minecraft/class_1309;field_6219:Lnet/minecraft/class_2940;
      named STUCK_ARROW_COUNT Lnet/minecraft/entity/LivingEntity;STUCK_ARROW_COUNT:Lnet/minecraft/entity/data/TrackedData;
    • STINGER_COUNT

      private static final TrackedData<Integer> STINGER_COUNT
      Mappings:
      Namespace Name Mixin selector
      official bL Lbjg;bL:Laee;
      intermediary field_20348 Lnet/minecraft/class_1309;field_20348:Lnet/minecraft/class_2940;
      named STINGER_COUNT Lnet/minecraft/entity/LivingEntity;STINGER_COUNT:Lnet/minecraft/entity/data/TrackedData;
    • SLEEPING_POSITION

      private static final TrackedData<Optional<BlockPos>> SLEEPING_POSITION
      Mappings:
      Namespace Name Mixin selector
      official bM Lbjg;bM:Laee;
      intermediary field_18073 Lnet/minecraft/class_1309;field_18073:Lnet/minecraft/class_2940;
      named SLEEPING_POSITION Lnet/minecraft/entity/LivingEntity;SLEEPING_POSITION:Lnet/minecraft/entity/data/TrackedData;
    • field_30067

      protected static final float field_30067
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official u Lbjg;u:F
      intermediary field_30067 Lnet/minecraft/class_1309;field_30067:F
      named field_30067 Lnet/minecraft/entity/LivingEntity;field_30067:F
    • SLEEPING_DIMENSIONS

      protected static final EntityDimensions SLEEPING_DIMENSIONS
      Mappings:
      Namespace Name Mixin selector
      official v Lbjg;v:Lbir;
      intermediary field_18072 Lnet/minecraft/class_1309;field_18072:Lnet/minecraft/class_4048;
      named SLEEPING_DIMENSIONS Lnet/minecraft/entity/LivingEntity;SLEEPING_DIMENSIONS:Lnet/minecraft/entity/EntityDimensions;
    • BABY_SCALE_FACTOR

      public static final float BABY_SCALE_FACTOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official aE Lbjg;aE:F
      intermediary field_30068 Lnet/minecraft/class_1309;field_30068:F
      named BABY_SCALE_FACTOR Lnet/minecraft/entity/LivingEntity;BABY_SCALE_FACTOR:F
    • field_42636

      private static final int field_42636
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bN Lbjg;bN:I
      intermediary field_42636 Lnet/minecraft/class_1309;field_42636:I
      named field_42636 Lnet/minecraft/entity/LivingEntity;field_42636:I
    • attributes

      private final AttributeContainer attributes
      Mappings:
      Namespace Name Mixin selector
      official bO Lbjg;bO:Lbkj;
      intermediary field_6260 Lnet/minecraft/class_1309;field_6260:Lnet/minecraft/class_5131;
      named attributes Lnet/minecraft/entity/LivingEntity;attributes:Lnet/minecraft/entity/attribute/AttributeContainer;
    • damageTracker

      private final DamageTracker damageTracker
      Mappings:
      Namespace Name Mixin selector
      official bP Lbjg;bP:Lbhl;
      intermediary field_6256 Lnet/minecraft/class_1309;field_6256:Lnet/minecraft/class_1283;
      named damageTracker Lnet/minecraft/entity/LivingEntity;damageTracker:Lnet/minecraft/entity/damage/DamageTracker;
    • activeStatusEffects

      private final Map<StatusEffect,StatusEffectInstance> activeStatusEffects
      Mappings:
      Namespace Name Mixin selector
      official bQ Lbjg;bQ:Ljava/util/Map;
      intermediary field_6280 Lnet/minecraft/class_1309;field_6280:Ljava/util/Map;
      named activeStatusEffects Lnet/minecraft/entity/LivingEntity;activeStatusEffects:Ljava/util/Map;
    • syncedHandStacks

      private final DefaultedList<ItemStack> syncedHandStacks
      Mappings:
      Namespace Name Mixin selector
      official bR Lbjg;bR:Lhn;
      intermediary field_6234 Lnet/minecraft/class_1309;field_6234:Lnet/minecraft/class_2371;
      named syncedHandStacks Lnet/minecraft/entity/LivingEntity;syncedHandStacks:Lnet/minecraft/util/collection/DefaultedList;
    • syncedArmorStacks

      private final DefaultedList<ItemStack> syncedArmorStacks
      Mappings:
      Namespace Name Mixin selector
      official bS Lbjg;bS:Lhn;
      intermediary field_6248 Lnet/minecraft/class_1309;field_6248:Lnet/minecraft/class_2371;
      named syncedArmorStacks Lnet/minecraft/entity/LivingEntity;syncedArmorStacks:Lnet/minecraft/util/collection/DefaultedList;
    • handSwinging

      public boolean handSwinging
      Mappings:
      Namespace Name Mixin selector
      official aF Lbjg;aF:Z
      intermediary field_6252 Lnet/minecraft/class_1309;field_6252:Z
      named handSwinging Lnet/minecraft/entity/LivingEntity;handSwinging:Z
    • noDrag

      private boolean noDrag
      Mappings:
      Namespace Name Mixin selector
      official bT Lbjg;bT:Z
      intermediary field_30082 Lnet/minecraft/class_1309;field_30082:Z
      named noDrag Lnet/minecraft/entity/LivingEntity;noDrag:Z
    • preferredHand

      public Hand preferredHand
      Mappings:
      Namespace Name Mixin selector
      official aG Lbjg;aG:Lbgx;
      intermediary field_6266 Lnet/minecraft/class_1309;field_6266:Lnet/minecraft/class_1268;
      named preferredHand Lnet/minecraft/entity/LivingEntity;preferredHand:Lnet/minecraft/util/Hand;
    • handSwingTicks

      public int handSwingTicks
      Mappings:
      Namespace Name Mixin selector
      official aH Lbjg;aH:I
      intermediary field_6279 Lnet/minecraft/class_1309;field_6279:I
      named handSwingTicks Lnet/minecraft/entity/LivingEntity;handSwingTicks:I
    • stuckArrowTimer

      public int stuckArrowTimer
      Mappings:
      Namespace Name Mixin selector
      official aI Lbjg;aI:I
      intermediary field_6218 Lnet/minecraft/class_1309;field_6218:I
      named stuckArrowTimer Lnet/minecraft/entity/LivingEntity;stuckArrowTimer:I
    • stuckStingerTimer

      public int stuckStingerTimer
      Mappings:
      Namespace Name Mixin selector
      official aJ Lbjg;aJ:I
      intermediary field_20347 Lnet/minecraft/class_1309;field_20347:I
      named stuckStingerTimer Lnet/minecraft/entity/LivingEntity;stuckStingerTimer:I
    • hurtTime

      public int hurtTime
      Mappings:
      Namespace Name Mixin selector
      official aK Lbjg;aK:I
      intermediary field_6235 Lnet/minecraft/class_1309;field_6235:I
      named hurtTime Lnet/minecraft/entity/LivingEntity;hurtTime:I
    • maxHurtTime

      public int maxHurtTime
      Mappings:
      Namespace Name Mixin selector
      official aL Lbjg;aL:I
      intermediary field_6254 Lnet/minecraft/class_1309;field_6254:I
      named maxHurtTime Lnet/minecraft/entity/LivingEntity;maxHurtTime:I
    • deathTime

      public int deathTime
      Mappings:
      Namespace Name Mixin selector
      official aM Lbjg;aM:I
      intermediary field_6213 Lnet/minecraft/class_1309;field_6213:I
      named deathTime Lnet/minecraft/entity/LivingEntity;deathTime:I
    • lastHandSwingProgress

      public float lastHandSwingProgress
      Mappings:
      Namespace Name Mixin selector
      official aN Lbjg;aN:F
      intermediary field_6229 Lnet/minecraft/class_1309;field_6229:F
      named lastHandSwingProgress Lnet/minecraft/entity/LivingEntity;lastHandSwingProgress:F
    • handSwingProgress

      public float handSwingProgress
      Mappings:
      Namespace Name Mixin selector
      official aO Lbjg;aO:F
      intermediary field_6251 Lnet/minecraft/class_1309;field_6251:F
      named handSwingProgress Lnet/minecraft/entity/LivingEntity;handSwingProgress:F
    • lastAttackedTicks

      protected int lastAttackedTicks
      Mappings:
      Namespace Name Mixin selector
      official aP Lbjg;aP:I
      intermediary field_6273 Lnet/minecraft/class_1309;field_6273:I
      named lastAttackedTicks Lnet/minecraft/entity/LivingEntity;lastAttackedTicks:I
    • limbAnimator

      public final LimbAnimator limbAnimator
      Mappings:
      Namespace Name Mixin selector
      official aQ Lbjg;aQ:Lbkf;
      intermediary field_42108 Lnet/minecraft/class_1309;field_42108:Lnet/minecraft/class_8080;
      named limbAnimator Lnet/minecraft/entity/LivingEntity;limbAnimator:Lnet/minecraft/entity/LimbAnimator;
    • defaultMaxHealth

      public final int defaultMaxHealth
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official aR Lbjg;aR:I
      intermediary field_6269 Lnet/minecraft/class_1309;field_6269:I
      named defaultMaxHealth Lnet/minecraft/entity/LivingEntity;defaultMaxHealth:I
    • randomLargeSeed

      public final float randomLargeSeed
      Mappings:
      Namespace Name Mixin selector
      official aS Lbjg;aS:F
      intermediary field_6244 Lnet/minecraft/class_1309;field_6244:F
      named randomLargeSeed Lnet/minecraft/entity/LivingEntity;randomLargeSeed:F
    • randomSmallSeed

      public final float randomSmallSeed
      Mappings:
      Namespace Name Mixin selector
      official aT Lbjg;aT:F
      intermediary field_6262 Lnet/minecraft/class_1309;field_6262:F
      named randomSmallSeed Lnet/minecraft/entity/LivingEntity;randomSmallSeed:F
    • bodyYaw

      public float bodyYaw
      Mappings:
      Namespace Name Mixin selector
      official aU Lbjg;aU:F
      intermediary field_6283 Lnet/minecraft/class_1309;field_6283:F
      named bodyYaw Lnet/minecraft/entity/LivingEntity;bodyYaw:F
    • prevBodyYaw

      public float prevBodyYaw
      Mappings:
      Namespace Name Mixin selector
      official aV Lbjg;aV:F
      intermediary field_6220 Lnet/minecraft/class_1309;field_6220:F
      named prevBodyYaw Lnet/minecraft/entity/LivingEntity;prevBodyYaw:F
    • headYaw

      public float headYaw
      Mappings:
      Namespace Name Mixin selector
      official aW Lbjg;aW:F
      intermediary field_6241 Lnet/minecraft/class_1309;field_6241:F
      named headYaw Lnet/minecraft/entity/LivingEntity;headYaw:F
    • prevHeadYaw

      public float prevHeadYaw
      Mappings:
      Namespace Name Mixin selector
      official aX Lbjg;aX:F
      intermediary field_6259 Lnet/minecraft/class_1309;field_6259:F
      named prevHeadYaw Lnet/minecraft/entity/LivingEntity;prevHeadYaw:F
    • attackingPlayer

      @Nullable protected @Nullable PlayerEntity attackingPlayer
      Mappings:
      Namespace Name Mixin selector
      official aY Lbjg;aY:Lcbu;
      intermediary field_6258 Lnet/minecraft/class_1309;field_6258:Lnet/minecraft/class_1657;
      named attackingPlayer Lnet/minecraft/entity/LivingEntity;attackingPlayer:Lnet/minecraft/entity/player/PlayerEntity;
    • playerHitTimer

      protected int playerHitTimer
      Mappings:
      Namespace Name Mixin selector
      official aZ Lbjg;aZ:I
      intermediary field_6238 Lnet/minecraft/class_1309;field_6238:I
      named playerHitTimer Lnet/minecraft/entity/LivingEntity;playerHitTimer:I
    • dead

      protected boolean dead
      Mappings:
      Namespace Name Mixin selector
      official ba Lbjg;ba:Z
      intermediary field_6272 Lnet/minecraft/class_1309;field_6272:Z
      named dead Lnet/minecraft/entity/LivingEntity;dead:Z
    • despawnCounter

      protected int despawnCounter
      Mappings:
      Namespace Name Mixin selector
      official bb Lbjg;bb:I
      intermediary field_6278 Lnet/minecraft/class_1309;field_6278:I
      named despawnCounter Lnet/minecraft/entity/LivingEntity;despawnCounter:I
    • prevStepBobbingAmount

      protected float prevStepBobbingAmount
      Mappings:
      Namespace Name Mixin selector
      official bc Lbjg;bc:F
      intermediary field_6217 Lnet/minecraft/class_1309;field_6217:F
      named prevStepBobbingAmount Lnet/minecraft/entity/LivingEntity;prevStepBobbingAmount:F
    • stepBobbingAmount

      protected float stepBobbingAmount
      Mappings:
      Namespace Name Mixin selector
      official bd Lbjg;bd:F
      intermediary field_6233 Lnet/minecraft/class_1309;field_6233:F
      named stepBobbingAmount Lnet/minecraft/entity/LivingEntity;stepBobbingAmount:F
    • lookDirection

      protected float lookDirection
      Mappings:
      Namespace Name Mixin selector
      official be Lbjg;be:F
      intermediary field_6255 Lnet/minecraft/class_1309;field_6255:F
      named lookDirection Lnet/minecraft/entity/LivingEntity;lookDirection:F
    • prevLookDirection

      protected float prevLookDirection
      Mappings:
      Namespace Name Mixin selector
      official bf Lbjg;bf:F
      intermediary field_6275 Lnet/minecraft/class_1309;field_6275:F
      named prevLookDirection Lnet/minecraft/entity/LivingEntity;prevLookDirection:F
    • field_6215

      protected float field_6215
      Mappings:
      Namespace Name Mixin selector
      official bg Lbjg;bg:F
      intermediary field_6215 Lnet/minecraft/class_1309;field_6215:F
      named field_6215 Lnet/minecraft/entity/LivingEntity;field_6215:F
    • scoreAmount

      protected int scoreAmount
      Mappings:
      Namespace Name Mixin selector
      official bh Lbjg;bh:I
      intermediary field_6232 Lnet/minecraft/class_1309;field_6232:I
      named scoreAmount Lnet/minecraft/entity/LivingEntity;scoreAmount:I
    • lastDamageTaken

      protected float lastDamageTaken
      Mappings:
      Namespace Name Mixin selector
      official bi Lbjg;bi:F
      intermediary field_6253 Lnet/minecraft/class_1309;field_6253:F
      named lastDamageTaken Lnet/minecraft/entity/LivingEntity;lastDamageTaken:F
    • jumping

      protected boolean jumping
      Mappings:
      Namespace Name Mixin selector
      official bj Lbjg;bj:Z
      intermediary field_6282 Lnet/minecraft/class_1309;field_6282:Z
      named jumping Lnet/minecraft/entity/LivingEntity;jumping:Z
    • sidewaysSpeed

      public float sidewaysSpeed
      Mappings:
      Namespace Name Mixin selector
      official bk Lbjg;bk:F
      intermediary field_6212 Lnet/minecraft/class_1309;field_6212:F
      named sidewaysSpeed Lnet/minecraft/entity/LivingEntity;sidewaysSpeed:F
    • upwardSpeed

      public float upwardSpeed
      Mappings:
      Namespace Name Mixin selector
      official bl Lbjg;bl:F
      intermediary field_6227 Lnet/minecraft/class_1309;field_6227:F
      named upwardSpeed Lnet/minecraft/entity/LivingEntity;upwardSpeed:F
    • forwardSpeed

      public float forwardSpeed
      Mappings:
      Namespace Name Mixin selector
      official bm Lbjg;bm:F
      intermediary field_6250 Lnet/minecraft/class_1309;field_6250:F
      named forwardSpeed Lnet/minecraft/entity/LivingEntity;forwardSpeed:F
    • bodyTrackingIncrements

      protected int bodyTrackingIncrements
      Mappings:
      Namespace Name Mixin selector
      official bn Lbjg;bn:I
      intermediary field_6210 Lnet/minecraft/class_1309;field_6210:I
      named bodyTrackingIncrements Lnet/minecraft/entity/LivingEntity;bodyTrackingIncrements:I
    • serverX

      protected double serverX
      Mappings:
      Namespace Name Mixin selector
      official bo Lbjg;bo:D
      intermediary field_6224 Lnet/minecraft/class_1309;field_6224:D
      named serverX Lnet/minecraft/entity/LivingEntity;serverX:D
    • serverY

      protected double serverY
      Mappings:
      Namespace Name Mixin selector
      official bp Lbjg;bp:D
      intermediary field_6245 Lnet/minecraft/class_1309;field_6245:D
      named serverY Lnet/minecraft/entity/LivingEntity;serverY:D
    • serverZ

      protected double serverZ
      Mappings:
      Namespace Name Mixin selector
      official bq Lbjg;bq:D
      intermediary field_6263 Lnet/minecraft/class_1309;field_6263:D
      named serverZ Lnet/minecraft/entity/LivingEntity;serverZ:D
    • serverYaw

      protected double serverYaw
      Mappings:
      Namespace Name Mixin selector
      official br Lbjg;br:D
      intermediary field_6284 Lnet/minecraft/class_1309;field_6284:D
      named serverYaw Lnet/minecraft/entity/LivingEntity;serverYaw:D
    • serverPitch

      protected double serverPitch
      Mappings:
      Namespace Name Mixin selector
      official bs Lbjg;bs:D
      intermediary field_6221 Lnet/minecraft/class_1309;field_6221:D
      named serverPitch Lnet/minecraft/entity/LivingEntity;serverPitch:D
    • serverHeadYaw

      protected double serverHeadYaw
      Mappings:
      Namespace Name Mixin selector
      official bt Lbjg;bt:D
      intermediary field_45123 Lnet/minecraft/class_1309;field_45123:D
      named serverHeadYaw Lnet/minecraft/entity/LivingEntity;serverHeadYaw:D
    • headTrackingIncrements

      protected int headTrackingIncrements
      Mappings:
      Namespace Name Mixin selector
      official bu Lbjg;bu:I
      intermediary field_6265 Lnet/minecraft/class_1309;field_6265:I
      named headTrackingIncrements Lnet/minecraft/entity/LivingEntity;headTrackingIncrements:I
    • effectsChanged

      private boolean effectsChanged
      Mappings:
      Namespace Name Mixin selector
      official bU Lbjg;bU:Z
      intermediary field_6285 Lnet/minecraft/class_1309;field_6285:Z
      named effectsChanged Lnet/minecraft/entity/LivingEntity;effectsChanged:Z
    • attacker

      @Nullable private @Nullable LivingEntity attacker
      Mappings:
      Namespace Name Mixin selector
      official bV Lbjg;bV:Lbjg;
      intermediary field_6274 Lnet/minecraft/class_1309;field_6274:Lnet/minecraft/class_1309;
      named attacker Lnet/minecraft/entity/LivingEntity;attacker:Lnet/minecraft/entity/LivingEntity;
    • lastAttackedTime

      private int lastAttackedTime
      Mappings:
      Namespace Name Mixin selector
      official bW Lbjg;bW:I
      intermediary field_6230 Lnet/minecraft/class_1309;field_6230:I
      named lastAttackedTime Lnet/minecraft/entity/LivingEntity;lastAttackedTime:I
    • attacking

      private LivingEntity attacking
      Mappings:
      Namespace Name Mixin selector
      official bX Lbjg;bX:Lbjg;
      intermediary field_6236 Lnet/minecraft/class_1309;field_6236:Lnet/minecraft/class_1309;
      named attacking Lnet/minecraft/entity/LivingEntity;attacking:Lnet/minecraft/entity/LivingEntity;
    • lastAttackTime

      private int lastAttackTime
      Mappings:
      Namespace Name Mixin selector
      official bY Lbjg;bY:I
      intermediary field_6270 Lnet/minecraft/class_1309;field_6270:I
      named lastAttackTime Lnet/minecraft/entity/LivingEntity;lastAttackTime:I
    • movementSpeed

      private float movementSpeed
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbjg;bZ:F
      intermediary field_6287 Lnet/minecraft/class_1309;field_6287:F
      named movementSpeed Lnet/minecraft/entity/LivingEntity;movementSpeed:F
    • jumpingCooldown

      private int jumpingCooldown
      Mappings:
      Namespace Name Mixin selector
      official ca Lbjg;ca:I
      intermediary field_6228 Lnet/minecraft/class_1309;field_6228:I
      named jumpingCooldown Lnet/minecraft/entity/LivingEntity;jumpingCooldown:I
    • absorptionAmount

      private float absorptionAmount
      Mappings:
      Namespace Name Mixin selector
      official cb Lbjg;cb:F
      intermediary field_6246 Lnet/minecraft/class_1309;field_6246:F
      named absorptionAmount Lnet/minecraft/entity/LivingEntity;absorptionAmount:F
    • activeItemStack

      protected ItemStack activeItemStack
      Mappings:
      Namespace Name Mixin selector
      official bv Lbjg;bv:Lcjf;
      intermediary field_6277 Lnet/minecraft/class_1309;field_6277:Lnet/minecraft/class_1799;
      named activeItemStack Lnet/minecraft/entity/LivingEntity;activeItemStack:Lnet/minecraft/item/ItemStack;
    • itemUseTimeLeft

      protected int itemUseTimeLeft
      Mappings:
      Namespace Name Mixin selector
      official bw Lbjg;bw:I
      intermediary field_6222 Lnet/minecraft/class_1309;field_6222:I
      named itemUseTimeLeft Lnet/minecraft/entity/LivingEntity;itemUseTimeLeft:I
    • roll

      protected int roll
      Mappings:
      Namespace Name Mixin selector
      official bx Lbjg;bx:I
      intermediary field_6239 Lnet/minecraft/class_1309;field_6239:I
      named roll Lnet/minecraft/entity/LivingEntity;roll:I
    • lastBlockPos

      private BlockPos lastBlockPos
      Mappings:
      Namespace Name Mixin selector
      official cc Lbjg;cc:Lgw;
      intermediary field_6268 Lnet/minecraft/class_1309;field_6268:Lnet/minecraft/class_2338;
      named lastBlockPos Lnet/minecraft/entity/LivingEntity;lastBlockPos:Lnet/minecraft/util/math/BlockPos;
    • climbingPos

      private Optional<BlockPos> climbingPos
      Mappings:
      Namespace Name Mixin selector
      official cd Lbjg;cd:Ljava/util/Optional;
      intermediary field_22418 Lnet/minecraft/class_1309;field_22418:Ljava/util/Optional;
      named climbingPos Lnet/minecraft/entity/LivingEntity;climbingPos:Ljava/util/Optional;
    • lastDamageSource

      @Nullable private @Nullable DamageSource lastDamageSource
      Mappings:
      Namespace Name Mixin selector
      official ce Lbjg;ce:Lbho;
      intermediary field_6276 Lnet/minecraft/class_1309;field_6276:Lnet/minecraft/class_1282;
      named lastDamageSource Lnet/minecraft/entity/LivingEntity;lastDamageSource:Lnet/minecraft/entity/damage/DamageSource;
    • lastDamageTime

      private long lastDamageTime
      Mappings:
      Namespace Name Mixin selector
      official cf Lbjg;cf:J
      intermediary field_6226 Lnet/minecraft/class_1309;field_6226:J
      named lastDamageTime Lnet/minecraft/entity/LivingEntity;lastDamageTime:J
    • riptideTicks

      protected int riptideTicks
      Mappings:
      Namespace Name Mixin selector
      official by Lbjg;by:I
      intermediary field_6261 Lnet/minecraft/class_1309;field_6261:I
      named riptideTicks Lnet/minecraft/entity/LivingEntity;riptideTicks:I
    • leaningPitch

      private float leaningPitch
      Mappings:
      Namespace Name Mixin selector
      official cg Lbjg;cg:F
      intermediary field_6243 Lnet/minecraft/class_1309;field_6243:F
      named leaningPitch Lnet/minecraft/entity/LivingEntity;leaningPitch:F
    • lastLeaningPitch

      private float lastLeaningPitch
      Mappings:
      Namespace Name Mixin selector
      official ch Lbjg;ch:F
      intermediary field_6264 Lnet/minecraft/class_1309;field_6264:F
      named lastLeaningPitch Lnet/minecraft/entity/LivingEntity;lastLeaningPitch:F
    • brain

      protected Brain<?> brain
      Mappings:
      Namespace Name Mixin selector
      official bz Lbjg;bz:Lbkg;
      intermediary field_18321 Lnet/minecraft/class_1309;field_18321:Lnet/minecraft/class_4095;
      named brain Lnet/minecraft/entity/LivingEntity;brain:Lnet/minecraft/entity/ai/brain/Brain;
    • experienceDroppingDisabled

      private boolean experienceDroppingDisabled
      Mappings:
      Namespace Name Mixin selector
      official ci Lbjg;ci:Z
      intermediary field_37421 Lnet/minecraft/class_1309;field_37421:Z
      named experienceDroppingDisabled Lnet/minecraft/entity/LivingEntity;experienceDroppingDisabled:Z
  • Constructor Details

    • LivingEntity

      protected LivingEntity(EntityType<? extends LivingEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbiq;<init>(Lbiu;Lcpv;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • getBrain

      public Brain<?> getBrain()
      Mappings:
      Namespace Name Mixin selector
      official dN Lbjg;dN()Lbkg;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
    • createBrainProfile

      protected Brain.Profile<?> createBrainProfile()
      Mappings:
      Namespace Name Mixin selector
      official dO Lbjg;dO()Lbkg$b;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
    • deserializeBrain

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lcom/mojang/serialization/Dynamic;)Lbkg;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
    • kill

      public void kill()
      Kills the entity.

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

      Overrides:
      kill in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aj Lbiq;aj()V
      intermediary method_5768 Lnet/minecraft/class_1297;method_5768()V
      named kill Lnet/minecraft/entity/Entity;kill()V
    • canTarget

      public boolean canTarget(EntityType<?> type)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbiu;)Z
      intermediary method_5973 Lnet/minecraft/class_1309;method_5973(Lnet/minecraft/class_1299;)Z
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/EntityType;)Z
    • initDataTracker

      protected void initDataTracker()
      Initializes data tracker.
      Specified by:
      initDataTracker in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbiq;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • createLivingAttributes

      public static DefaultAttributeContainer.Builder createLivingAttributes()
      Mappings:
      Namespace Name Mixin selector
      official dP Lbjg;dP()Lbkl$a;
      intermediary method_26827 Lnet/minecraft/class_1309;method_26827()Lnet/minecraft/class_5132$class_5133;
      named createLivingAttributes Lnet/minecraft/entity/LivingEntity;createLivingAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • fall

      protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition)
      Called when the entity falls. Flying mobs should override this to do nothing.
      Overrides:
      fall in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(DZLdfj;Lgw;)V
      intermediary method_5623 Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
    • canBreatheInWater

      public boolean canBreatheInWater()
      Mappings:
      Namespace Name Mixin selector
      official dQ Lbjg;dQ()Z
      intermediary method_6094 Lnet/minecraft/class_1309;method_6094()Z
      named canBreatheInWater Lnet/minecraft/entity/LivingEntity;canBreatheInWater()Z
    • getLeaningPitch

      public float getLeaningPitch(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(F)F
      intermediary method_6024 Lnet/minecraft/class_1309;method_6024(F)F
      named getLeaningPitch Lnet/minecraft/entity/LivingEntity;getLeaningPitch(F)F
    • baseTick

      public void baseTick()
      Overrides:
      baseTick in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aq Lbiq;aq()V
      intermediary method_5670 Lnet/minecraft/class_1297;method_5670()V
      named baseTick Lnet/minecraft/entity/Entity;baseTick()V
    • shouldDisplaySoulSpeedEffects

      public boolean shouldDisplaySoulSpeedEffects()
      Mappings:
      Namespace Name Mixin selector
      official dR Lbjg;dR()Z
      intermediary method_27302 Lnet/minecraft/class_1309;method_27302()Z
      named shouldDisplaySoulSpeedEffects Lnet/minecraft/entity/LivingEntity;shouldDisplaySoulSpeedEffects()Z
    • displaySoulSpeedEffects

      protected void displaySoulSpeedEffects()
      Mappings:
      Namespace Name Mixin selector
      official dS Lbjg;dS()V
      intermediary method_25937 Lnet/minecraft/class_1309;method_25937()V
      named displaySoulSpeedEffects Lnet/minecraft/entity/LivingEntity;displaySoulSpeedEffects()V
    • isOnSoulSpeedBlock

      protected boolean isOnSoulSpeedBlock()
      Mappings:
      Namespace Name Mixin selector
      official dT Lbjg;dT()Z
      intermediary method_27303 Lnet/minecraft/class_1309;method_27303()Z
      named isOnSoulSpeedBlock Lnet/minecraft/entity/LivingEntity;isOnSoulSpeedBlock()Z
    • getVelocityMultiplier

      protected float getVelocityMultiplier()
      Overrides:
      getVelocityMultiplier in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aJ Lbiq;aJ()F
      intermediary method_23326 Lnet/minecraft/class_1297;method_23326()F
      named getVelocityMultiplier Lnet/minecraft/entity/Entity;getVelocityMultiplier()F
    • shouldRemoveSoulSpeedBoost

      protected boolean shouldRemoveSoulSpeedBoost(BlockState landingState)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Ldfj;)Z
      intermediary method_29500 Lnet/minecraft/class_1309;method_29500(Lnet/minecraft/class_2680;)Z
      named shouldRemoveSoulSpeedBoost Lnet/minecraft/entity/LivingEntity;shouldRemoveSoulSpeedBoost(Lnet/minecraft/block/BlockState;)Z
    • removeSoulSpeedBoost

      protected void removeSoulSpeedBoost()
      Mappings:
      Namespace Name Mixin selector
      official dU Lbjg;dU()V
      intermediary method_29501 Lnet/minecraft/class_1309;method_29501()V
      named removeSoulSpeedBoost Lnet/minecraft/entity/LivingEntity;removeSoulSpeedBoost()V
    • addSoulSpeedBoostIfNeeded

      protected void addSoulSpeedBoostIfNeeded()
      Mappings:
      Namespace Name Mixin selector
      official dV Lbjg;dV()V
      intermediary method_29502 Lnet/minecraft/class_1309;method_29502()V
      named addSoulSpeedBoostIfNeeded Lnet/minecraft/entity/LivingEntity;addSoulSpeedBoostIfNeeded()V
    • removePowderSnowSlow

      protected void removePowderSnowSlow()
      Mappings:
      Namespace Name Mixin selector
      official dW Lbjg;dW()V
      intermediary method_32324 Lnet/minecraft/class_1309;method_32324()V
      named removePowderSnowSlow Lnet/minecraft/entity/LivingEntity;removePowderSnowSlow()V
    • addPowderSnowSlowIfNeeded

      protected void addPowderSnowSlowIfNeeded()
      Mappings:
      Namespace Name Mixin selector
      official dX Lbjg;dX()V
      intermediary method_32325 Lnet/minecraft/class_1309;method_32325()V
      named addPowderSnowSlowIfNeeded Lnet/minecraft/entity/LivingEntity;addPowderSnowSlowIfNeeded()V
    • applyMovementEffects

      protected void applyMovementEffects(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lgw;)V
      intermediary method_6126 Lnet/minecraft/class_1309;method_6126(Lnet/minecraft/class_2338;)V
      named applyMovementEffects Lnet/minecraft/entity/LivingEntity;applyMovementEffects(Lnet/minecraft/util/math/BlockPos;)V
    • isBaby

      public boolean isBaby()
      Mappings:
      Namespace Name Mixin selector
      official m_ Lbjg;m_()Z
      intermediary method_6109 Lnet/minecraft/class_1309;method_6109()Z
      named isBaby Lnet/minecraft/entity/LivingEntity;isBaby()Z
    • getScaleFactor

      public float getScaleFactor()
      Mappings:
      Namespace Name Mixin selector
      official dY Lbjg;dY()F
      intermediary method_17825 Lnet/minecraft/class_1309;method_17825()F
      named getScaleFactor Lnet/minecraft/entity/LivingEntity;getScaleFactor()F
    • shouldSwimInFluids

      protected boolean shouldSwimInFluids()
      Mappings:
      Namespace Name Mixin selector
      official dZ Lbjg;dZ()Z
      intermediary method_29920 Lnet/minecraft/class_1309;method_29920()Z
      named shouldSwimInFluids Lnet/minecraft/entity/LivingEntity;shouldSwimInFluids()Z
    • updatePostDeath

      protected void updatePostDeath()
      Mappings:
      Namespace Name Mixin selector
      official ea Lbjg;ea()V
      intermediary method_6108 Lnet/minecraft/class_1309;method_6108()V
      named updatePostDeath Lnet/minecraft/entity/LivingEntity;updatePostDeath()V
    • shouldDropXp

      public boolean shouldDropXp()
      Returns if this entity should drop experience on death when the doMobLoot game rule is enabled and has been attacked by a player.

      If shouldAlwaysDropXp() returns true, this check is disregarded.

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official eb Lbjg;eb()Z
      intermediary method_6054 Lnet/minecraft/class_1309;method_6054()Z
      named shouldDropXp Lnet/minecraft/entity/LivingEntity;shouldDropXp()Z
    • shouldDropLoot

      protected boolean shouldDropLoot()
      Mappings:
      Namespace Name Mixin selector
      official ec Lbjg;ec()Z
      intermediary method_27071 Lnet/minecraft/class_1309;method_27071()Z
      named shouldDropLoot Lnet/minecraft/entity/LivingEntity;shouldDropLoot()Z
    • getNextAirUnderwater

      protected int getNextAirUnderwater(int air)
      Mappings:
      Namespace Name Mixin selector
      official m Lbjg;m(I)I
      intermediary method_6130 Lnet/minecraft/class_1309;method_6130(I)I
      named getNextAirUnderwater Lnet/minecraft/entity/LivingEntity;getNextAirUnderwater(I)I
    • getNextAirOnLand

      protected int getNextAirOnLand(int air)
      Mappings:
      Namespace Name Mixin selector
      official n Lbjg;n(I)I
      intermediary method_6064 Lnet/minecraft/class_1309;method_6064(I)I
      named getNextAirOnLand Lnet/minecraft/entity/LivingEntity;getNextAirOnLand(I)I
    • getXpToDrop

      public int getXpToDrop()
      Called when this entity is killed and returns the amount of experience to drop.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ed Lbjg;ed()I
      intermediary method_6110 Lnet/minecraft/class_1309;method_6110()I
      named getXpToDrop Lnet/minecraft/entity/LivingEntity;getXpToDrop()I
    • shouldAlwaysDropXp

      protected boolean shouldAlwaysDropXp()
      Returns if this entity may always drop experience, skipping any other checks.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ee Lbjg;ee()Z
      intermediary method_6071 Lnet/minecraft/class_1309;method_6071()Z
      named shouldAlwaysDropXp Lnet/minecraft/entity/LivingEntity;shouldAlwaysDropXp()Z
    • getRandom

      public Random getRandom()
      Mappings:
      Namespace Name Mixin selector
      official ef Lbjg;ef()Lasc;
      intermediary method_6051 Lnet/minecraft/class_1309;method_6051()Lnet/minecraft/class_5819;
      named getRandom Lnet/minecraft/entity/LivingEntity;getRandom()Lnet/minecraft/util/math/random/Random;
    • getAttacker

      @Nullable public @Nullable LivingEntity getAttacker()
      Mappings:
      Namespace Name Mixin selector
      official eg Lbjg;eg()Lbjg;
      intermediary method_6065 Lnet/minecraft/class_1309;method_6065()Lnet/minecraft/class_1309;
      named getAttacker Lnet/minecraft/entity/LivingEntity;getAttacker()Lnet/minecraft/entity/LivingEntity;
    • getLastAttacker

      public LivingEntity getLastAttacker()
      Specified by:
      getLastAttacker in interface Attackable
      Mappings:
      Namespace Name Mixin selector
      official S_ Lbio;S_()Lbjg;
      intermediary method_49107 Lnet/minecraft/class_8149;method_49107()Lnet/minecraft/class_1309;
      named getLastAttacker Lnet/minecraft/entity/Attackable;getLastAttacker()Lnet/minecraft/entity/LivingEntity;
    • getLastAttackedTime

      public int getLastAttackedTime()
      Mappings:
      Namespace Name Mixin selector
      official eh Lbjg;eh()I
      intermediary method_6117 Lnet/minecraft/class_1309;method_6117()I
      named getLastAttackedTime Lnet/minecraft/entity/LivingEntity;getLastAttackedTime()I
    • setAttacking

      public void setAttacking(@Nullable @Nullable PlayerEntity attacking)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lcbu;)V
      intermediary method_29505 Lnet/minecraft/class_1309;method_29505(Lnet/minecraft/class_1657;)V
      named setAttacking Lnet/minecraft/entity/LivingEntity;setAttacking(Lnet/minecraft/entity/player/PlayerEntity;)V
    • setAttacker

      public void setAttacker(@Nullable @Nullable LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbjg;)V
      intermediary method_6015 Lnet/minecraft/class_1309;method_6015(Lnet/minecraft/class_1309;)V
      named setAttacker Lnet/minecraft/entity/LivingEntity;setAttacker(Lnet/minecraft/entity/LivingEntity;)V
    • getAttacking

      @Nullable public @Nullable LivingEntity getAttacking()
      Mappings:
      Namespace Name Mixin selector
      official ei Lbjg;ei()Lbjg;
      intermediary method_6052 Lnet/minecraft/class_1309;method_6052()Lnet/minecraft/class_1309;
      named getAttacking Lnet/minecraft/entity/LivingEntity;getAttacking()Lnet/minecraft/entity/LivingEntity;
    • getLastAttackTime

      public int getLastAttackTime()
      Mappings:
      Namespace Name Mixin selector
      official ej Lbjg;ej()I
      intermediary method_6083 Lnet/minecraft/class_1309;method_6083()I
      named getLastAttackTime Lnet/minecraft/entity/LivingEntity;getLastAttackTime()I
    • onAttacking

      public void onAttacking(Entity target)
      Mappings:
      Namespace Name Mixin selector
      official A Lbjg;A(Lbiq;)V
      intermediary method_6114 Lnet/minecraft/class_1309;method_6114(Lnet/minecraft/class_1297;)V
      named onAttacking Lnet/minecraft/entity/LivingEntity;onAttacking(Lnet/minecraft/entity/Entity;)V
    • getDespawnCounter

      public int getDespawnCounter()
      Mappings:
      Namespace Name Mixin selector
      official ek Lbjg;ek()I
      intermediary method_6131 Lnet/minecraft/class_1309;method_6131()I
      named getDespawnCounter Lnet/minecraft/entity/LivingEntity;getDespawnCounter()I
    • setDespawnCounter

      public void setDespawnCounter(int despawnCounter)
      Mappings:
      Namespace Name Mixin selector
      official o Lbjg;o(I)V
      intermediary method_16826 Lnet/minecraft/class_1309;method_16826(I)V
      named setDespawnCounter Lnet/minecraft/entity/LivingEntity;setDespawnCounter(I)V
    • hasNoDrag

      public boolean hasNoDrag()
      Mappings:
      Namespace Name Mixin selector
      official el Lbjg;el()Z
      intermediary method_35053 Lnet/minecraft/class_1309;method_35053()Z
      named hasNoDrag Lnet/minecraft/entity/LivingEntity;hasNoDrag()Z
    • setNoDrag

      public void setNoDrag(boolean noDrag)
      Mappings:
      Namespace Name Mixin selector
      official p Lbjg;p(Z)V
      intermediary method_35054 Lnet/minecraft/class_1309;method_35054(Z)V
      named setNoDrag Lnet/minecraft/entity/LivingEntity;setNoDrag(Z)V
    • isArmorSlot

      protected boolean isArmorSlot(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbiv;)Z
      intermediary method_44201 Lnet/minecraft/class_1309;method_44201(Lnet/minecraft/class_1304;)Z
      named isArmorSlot Lnet/minecraft/entity/LivingEntity;isArmorSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
    • onEquipStack

      public void onEquipStack(EquipmentSlot slot, ItemStack oldStack, ItemStack newStack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbiv;Lcjf;Lcjf;)V
      intermediary method_6116 Lnet/minecraft/class_1309;method_6116(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
      named onEquipStack Lnet/minecraft/entity/LivingEntity;onEquipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
    • remove

      public void remove(Entity.RemovalReason reason)
      Removes the entity.
      Overrides:
      remove in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Lbiq$c;)V
      intermediary method_5650 Lnet/minecraft/class_1297;method_5650(Lnet/minecraft/class_1297$class_5529;)V
      named remove Lnet/minecraft/entity/Entity;remove(Lnet/minecraft/entity/Entity$RemovalReason;)V
    • 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.

      Specified by:
      writeCustomDataToNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbiq;b(Lqw;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      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.

      Specified by:
      readCustomDataFromNbt in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Lqw;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • tickStatusEffects

      protected void tickStatusEffects()
      Mappings:
      Namespace Name Mixin selector
      official em Lbjg;em()V
      intermediary method_6050 Lnet/minecraft/class_1309;method_6050()V
      named tickStatusEffects Lnet/minecraft/entity/LivingEntity;tickStatusEffects()V
    • updatePotionVisibility

      protected void updatePotionVisibility()
      Mappings:
      Namespace Name Mixin selector
      official H Lbjg;H()V
      intermediary method_6027 Lnet/minecraft/class_1309;method_6027()V
      named updatePotionVisibility Lnet/minecraft/entity/LivingEntity;updatePotionVisibility()V
    • updateGlowing

      private void updateGlowing()
      Mappings:
      Namespace Name Mixin selector
      official s Lbjg;s()V
      intermediary method_36362 Lnet/minecraft/class_1309;method_36362()V
      named updateGlowing Lnet/minecraft/entity/LivingEntity;updateGlowing()V
    • getAttackDistanceScalingFactor

      public double getAttackDistanceScalingFactor(@Nullable @Nullable Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official B Lbjg;B(Lbiq;)D
      intermediary method_18390 Lnet/minecraft/class_1309;method_18390(Lnet/minecraft/class_1297;)D
      named getAttackDistanceScalingFactor Lnet/minecraft/entity/LivingEntity;getAttackDistanceScalingFactor(Lnet/minecraft/entity/Entity;)D
    • canTarget

      public boolean canTarget(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbjg;)Z
      intermediary method_18395 Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Z
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
    • isTarget

      public boolean isTarget(LivingEntity entity, TargetPredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbjg;Lbts;)Z
      intermediary method_18391 Lnet/minecraft/class_1309;method_18391(Lnet/minecraft/class_1309;Lnet/minecraft/class_4051;)Z
      named isTarget Lnet/minecraft/entity/LivingEntity;isTarget(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/ai/TargetPredicate;)Z
    • canTakeDamage

      public boolean canTakeDamage()
      Mappings:
      Namespace Name Mixin selector
      official en Lbjg;en()Z
      intermediary method_33190 Lnet/minecraft/class_1309;method_33190()Z
      named canTakeDamage Lnet/minecraft/entity/LivingEntity;canTakeDamage()Z
    • isPartOfGame

      public boolean isPartOfGame()
      Mappings:
      Namespace Name Mixin selector
      official eo Lbjg;eo()Z
      intermediary method_36608 Lnet/minecraft/class_1309;method_36608()Z
      named isPartOfGame Lnet/minecraft/entity/LivingEntity;isPartOfGame()Z
    • containsOnlyAmbientEffects

      public static boolean containsOnlyAmbientEffects(Collection<StatusEffectInstance> effects)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Ljava/util/Collection;)Z
      intermediary method_6089 Lnet/minecraft/class_1309;method_6089(Ljava/util/Collection;)Z
      named containsOnlyAmbientEffects Lnet/minecraft/entity/LivingEntity;containsOnlyAmbientEffects(Ljava/util/Collection;)Z
    • clearPotionSwirls

      protected void clearPotionSwirls()
      Mappings:
      Namespace Name Mixin selector
      official ep Lbjg;ep()V
      intermediary method_6069 Lnet/minecraft/class_1309;method_6069()V
      named clearPotionSwirls Lnet/minecraft/entity/LivingEntity;clearPotionSwirls()V
    • clearStatusEffects

      public boolean clearStatusEffects()
      Mappings:
      Namespace Name Mixin selector
      official eq Lbjg;eq()Z
      intermediary method_6012 Lnet/minecraft/class_1309;method_6012()Z
      named clearStatusEffects Lnet/minecraft/entity/LivingEntity;clearStatusEffects()Z
    • getStatusEffects

      public Collection<StatusEffectInstance> getStatusEffects()
      Mappings:
      Namespace Name Mixin selector
      official er Lbjg;er()Ljava/util/Collection;
      intermediary method_6026 Lnet/minecraft/class_1309;method_6026()Ljava/util/Collection;
      named getStatusEffects Lnet/minecraft/entity/LivingEntity;getStatusEffects()Ljava/util/Collection;
    • getActiveStatusEffects

      public Map<StatusEffect,StatusEffectInstance> getActiveStatusEffects()
      Mappings:
      Namespace Name Mixin selector
      official es Lbjg;es()Ljava/util/Map;
      intermediary method_6088 Lnet/minecraft/class_1309;method_6088()Ljava/util/Map;
      named getActiveStatusEffects Lnet/minecraft/entity/LivingEntity;getActiveStatusEffects()Ljava/util/Map;
    • hasStatusEffect

      public boolean hasStatusEffect(StatusEffect effect)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbib;)Z
      intermediary method_6059 Lnet/minecraft/class_1309;method_6059(Lnet/minecraft/class_1291;)Z
      named hasStatusEffect Lnet/minecraft/entity/LivingEntity;hasStatusEffect(Lnet/minecraft/entity/effect/StatusEffect;)Z
    • getStatusEffect

      @Nullable public @Nullable StatusEffectInstance getStatusEffect(StatusEffect effect)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbib;)Lbid;
      intermediary method_6112 Lnet/minecraft/class_1309;method_6112(Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;
      named getStatusEffect Lnet/minecraft/entity/LivingEntity;getStatusEffect(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/entity/effect/StatusEffectInstance;
    • addStatusEffect

      public final boolean addStatusEffect(StatusEffectInstance effect)
      Adds a status effect to this entity without specifying a source entity.

      Consider calling addStatusEffect(StatusEffectInstance, Entity) if the effect is caused by or from an entity.

      Parameters:
      effect - the effect to add
      Returns:
      whether the active status effects of this entity has been modified
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbid;)Z
      intermediary method_6092 Lnet/minecraft/class_1309;method_6092(Lnet/minecraft/class_1293;)Z
      named addStatusEffect Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
    • addStatusEffect

      public boolean addStatusEffect(StatusEffectInstance effect, @Nullable @Nullable Entity source)
      Adds a status effect to this entity.
      Parameters:
      effect - the effect to add
      source - the source entity or null for non-entity sources
      Returns:
      whether the active status effects of this entity has been modified
      Implementation Note:
      A status effect may fail to be added due to getting overridden by existing effects or the effect being incompatible with this entity.
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbid;Lbiq;)Z
      intermediary method_37222 Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Z
      named addStatusEffect Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Z
    • canHaveStatusEffect

      public boolean canHaveStatusEffect(StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbid;)Z
      intermediary method_6049 Lnet/minecraft/class_1309;method_6049(Lnet/minecraft/class_1293;)Z
      named canHaveStatusEffect Lnet/minecraft/entity/LivingEntity;canHaveStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
    • setStatusEffect

      public void setStatusEffect(StatusEffectInstance effect, @Nullable @Nullable Entity source)
      Sets a status effect in this entity.

      The preexistent status effect of the same type on this entity, if there is one, is cleared. To actually add a status effect and undergo effect combination logic, call addStatusEffect(StatusEffectInstance, Entity).

      Parameters:
      effect - the effect to set
      source - the source entity or null for non-entity sources
      API Note:
      In vanilla, this is exclusively used by the client to set a status effect on the player upon reception of the status effect packet.
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbid;Lbiq;)V
      intermediary method_26082 Lnet/minecraft/class_1309;method_26082(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)V
      named setStatusEffect Lnet/minecraft/entity/LivingEntity;setStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)V
    • isUndead

      public boolean isUndead()
      Mappings:
      Namespace Name Mixin selector
      official et Lbjg;et()Z
      intermediary method_5999 Lnet/minecraft/class_1309;method_5999()Z
      named isUndead Lnet/minecraft/entity/LivingEntity;isUndead()Z
    • removeStatusEffectInternal

      @Nullable public @Nullable StatusEffectInstance removeStatusEffectInternal(@Nullable @Nullable StatusEffect type)
      Removes a status effect from this entity without calling any listener.

      This method does not perform any cleanup or synchronization operation. Under most circumstances, calling removeStatusEffect(StatusEffect) is highly preferable.

      Returns:
      the status effect removed
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbib;)Lbid;
      intermediary method_6111 Lnet/minecraft/class_1309;method_6111(Lnet/minecraft/class_1291;)Lnet/minecraft/class_1293;
      named removeStatusEffectInternal Lnet/minecraft/entity/LivingEntity;removeStatusEffectInternal(Lnet/minecraft/entity/effect/StatusEffect;)Lnet/minecraft/entity/effect/StatusEffectInstance;
    • removeStatusEffect

      public boolean removeStatusEffect(StatusEffect type)
      Removes a status effect from this entity.

      Calling this method will call cleanup methods on the status effect and trigger synchronization of effect particles with watching clients. If this entity is a player, the change in the list of effects will also be synchronized with the corresponding client.

      Returns:
      whether the active status effects on this entity has been changed by this call
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbib;)Z
      intermediary method_6016 Lnet/minecraft/class_1309;method_6016(Lnet/minecraft/class_1291;)Z
      named removeStatusEffect Lnet/minecraft/entity/LivingEntity;removeStatusEffect(Lnet/minecraft/entity/effect/StatusEffect;)Z
    • onStatusEffectApplied

      protected void onStatusEffectApplied(StatusEffectInstance effect, @Nullable @Nullable Entity source)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbid;Lbiq;)V
      intermediary method_6020 Lnet/minecraft/class_1309;method_6020(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)V
      named onStatusEffectApplied Lnet/minecraft/entity/LivingEntity;onStatusEffectApplied(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)V
    • sendEffectToControllingPlayer

      public void sendEffectToControllingPlayer(StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbid;)V
      intermediary method_52197 Lnet/minecraft/class_1309;method_52197(Lnet/minecraft/class_1293;)V
      named sendEffectToControllingPlayer Lnet/minecraft/entity/LivingEntity;sendEffectToControllingPlayer(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • onStatusEffectUpgraded

      protected void onStatusEffectUpgraded(StatusEffectInstance effect, boolean reapplyEffect, @Nullable @Nullable Entity source)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbid;ZLbiq;)V
      intermediary method_6009 Lnet/minecraft/class_1309;method_6009(Lnet/minecraft/class_1293;ZLnet/minecraft/class_1297;)V
      named onStatusEffectUpgraded Lnet/minecraft/entity/LivingEntity;onStatusEffectUpgraded(Lnet/minecraft/entity/effect/StatusEffectInstance;ZLnet/minecraft/entity/Entity;)V
    • onStatusEffectRemoved

      protected void onStatusEffectRemoved(StatusEffectInstance effect)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbid;)V
      intermediary method_6129 Lnet/minecraft/class_1309;method_6129(Lnet/minecraft/class_1293;)V
      named onStatusEffectRemoved Lnet/minecraft/entity/LivingEntity;onStatusEffectRemoved(Lnet/minecraft/entity/effect/StatusEffectInstance;)V
    • updateAttributes

      private void updateAttributes()
      Mappings:
      Namespace Name Mixin selector
      official w Lbjg;w()V
      intermediary method_52543 Lnet/minecraft/class_1309;method_52543()V
      named updateAttributes Lnet/minecraft/entity/LivingEntity;updateAttributes()V
    • updateAttribute

      private void updateAttribute(EntityAttribute attribute)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbkh;)V
      intermediary method_52540 Lnet/minecraft/class_1309;method_52540(Lnet/minecraft/class_1320;)V
      named updateAttribute Lnet/minecraft/entity/LivingEntity;updateAttribute(Lnet/minecraft/entity/attribute/EntityAttribute;)V
    • heal

      public void heal(float amount)
      Heals this entity by the given amount of half-hearts.

      A dead entity cannot be healed.

      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(F)V
      intermediary method_6025 Lnet/minecraft/class_1309;method_6025(F)V
      named heal Lnet/minecraft/entity/LivingEntity;heal(F)V
    • getHealth

      public float getHealth()
      Mappings:
      Namespace Name Mixin selector
      official eu Lbjg;eu()F
      intermediary method_6032 Lnet/minecraft/class_1309;method_6032()F
      named getHealth Lnet/minecraft/entity/LivingEntity;getHealth()F
    • setHealth

      public void setHealth(float health)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(F)V
      intermediary method_6033 Lnet/minecraft/class_1309;method_6033(F)V
      named setHealth Lnet/minecraft/entity/LivingEntity;setHealth(F)V
    • isDead

      public boolean isDead()
      Mappings:
      Namespace Name Mixin selector
      official ev Lbjg;ev()Z
      intermediary method_29504 Lnet/minecraft/class_1309;method_29504()Z
      named isDead Lnet/minecraft/entity/LivingEntity;isDead()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 Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource) and return early.

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

      protected void takeShieldHit(LivingEntity attacker)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbjg;)V
      intermediary method_6090 Lnet/minecraft/class_1309;method_6090(Lnet/minecraft/class_1309;)V
      named takeShieldHit Lnet/minecraft/entity/LivingEntity;takeShieldHit(Lnet/minecraft/entity/LivingEntity;)V
    • knockback

      protected void knockback(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(Lbjg;)V
      intermediary method_6060 Lnet/minecraft/class_1309;method_6060(Lnet/minecraft/class_1309;)V
      named knockback Lnet/minecraft/entity/LivingEntity;knockback(Lnet/minecraft/entity/LivingEntity;)V
    • tryUseTotem

      private boolean tryUseTotem(DamageSource source)
      Mappings:
      Namespace Name Mixin selector
      official h Lbjg;h(Lbho;)Z
      intermediary method_6095 Lnet/minecraft/class_1309;method_6095(Lnet/minecraft/class_1282;)Z
      named tryUseTotem Lnet/minecraft/entity/LivingEntity;tryUseTotem(Lnet/minecraft/entity/damage/DamageSource;)Z
    • getRecentDamageSource

      @Nullable public @Nullable DamageSource getRecentDamageSource()
      Mappings:
      Namespace Name Mixin selector
      official ew Lbjg;ew()Lbho;
      intermediary method_6081 Lnet/minecraft/class_1309;method_6081()Lnet/minecraft/class_1282;
      named getRecentDamageSource Lnet/minecraft/entity/LivingEntity;getRecentDamageSource()Lnet/minecraft/entity/damage/DamageSource;
    • playHurtSound

      protected void playHurtSound(DamageSource source)
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(Lbho;)V
      intermediary method_6013 Lnet/minecraft/class_1309;method_6013(Lnet/minecraft/class_1282;)V
      named playHurtSound Lnet/minecraft/entity/LivingEntity;playHurtSound(Lnet/minecraft/entity/damage/DamageSource;)V
    • blockedByShield

      public boolean blockedByShield(DamageSource source)
      Mappings:
      Namespace Name Mixin selector
      official f Lbjg;f(Lbho;)Z
      intermediary method_6061 Lnet/minecraft/class_1309;method_6061(Lnet/minecraft/class_1282;)Z
      named blockedByShield Lnet/minecraft/entity/LivingEntity;blockedByShield(Lnet/minecraft/entity/damage/DamageSource;)Z
    • playEquipmentBreakEffects

      private void playEquipmentBreakEffects(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official i Lbjg;i(Lcjf;)V
      intermediary method_6045 Lnet/minecraft/class_1309;method_6045(Lnet/minecraft/class_1799;)V
      named playEquipmentBreakEffects Lnet/minecraft/entity/LivingEntity;playEquipmentBreakEffects(Lnet/minecraft/item/ItemStack;)V
    • onDeath

      public void onDeath(DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbho;)V
      intermediary method_6078 Lnet/minecraft/class_1309;method_6078(Lnet/minecraft/class_1282;)V
      named onDeath Lnet/minecraft/entity/LivingEntity;onDeath(Lnet/minecraft/entity/damage/DamageSource;)V
    • onKilledBy

      protected void onKilledBy(@Nullable @Nullable LivingEntity adversary)
      Performs secondary effects after this mob has been killed.

      The default behavior spawns a wither rose if adversary is a WitherEntity.

      Parameters:
      adversary - the main adversary responsible for this entity's death
      Mappings:
      Namespace Name Mixin selector
      official f Lbjg;f(Lbjg;)V
      intermediary method_23733 Lnet/minecraft/class_1309;method_23733(Lnet/minecraft/class_1309;)V
      named onKilledBy Lnet/minecraft/entity/LivingEntity;onKilledBy(Lnet/minecraft/entity/LivingEntity;)V
    • drop

      protected void drop(DamageSource source)
      Mappings:
      Namespace Name Mixin selector
      official g Lbjg;g(Lbho;)V
      intermediary method_16080 Lnet/minecraft/class_1309;method_16080(Lnet/minecraft/class_1282;)V
      named drop Lnet/minecraft/entity/LivingEntity;drop(Lnet/minecraft/entity/damage/DamageSource;)V
    • dropInventory

      protected void dropInventory()
      Mappings:
      Namespace Name Mixin selector
      official ex Lbjg;ex()V
      intermediary method_16078 Lnet/minecraft/class_1309;method_16078()V
      named dropInventory Lnet/minecraft/entity/LivingEntity;dropInventory()V
    • dropXp

      protected void dropXp()
      Drops experience when this entity is killed.

      To control the details of experience dropping, consider overriding shouldAlwaysDropXp(), shouldDropXp(), and getXpToDrop().

      Mappings:
      Namespace Name Mixin selector
      official ey Lbjg;ey()V
      intermediary method_23883 Lnet/minecraft/class_1309;method_23883()V
      named dropXp Lnet/minecraft/entity/LivingEntity;dropXp()V
    • dropEquipment

      protected void dropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbho;IZ)V
      intermediary method_6099 Lnet/minecraft/class_1309;method_6099(Lnet/minecraft/class_1282;IZ)V
      named dropEquipment Lnet/minecraft/entity/LivingEntity;dropEquipment(Lnet/minecraft/entity/damage/DamageSource;IZ)V
    • getLootTable

      public Identifier getLootTable()
      Mappings:
      Namespace Name Mixin selector
      official ez Lbjg;ez()Laew;
      intermediary method_5989 Lnet/minecraft/class_1309;method_5989()Lnet/minecraft/class_2960;
      named getLootTable Lnet/minecraft/entity/LivingEntity;getLootTable()Lnet/minecraft/util/Identifier;
    • getLootTableSeed

      public long getLootTableSeed()
      Mappings:
      Namespace Name Mixin selector
      official eA Lbjg;eA()J
      intermediary method_51851 Lnet/minecraft/class_1309;method_51851()J
      named getLootTableSeed Lnet/minecraft/entity/LivingEntity;getLootTableSeed()J
    • dropLoot

      protected void dropLoot(DamageSource damageSource, boolean causedByPlayer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbho;Z)V
      intermediary method_16077 Lnet/minecraft/class_1309;method_16077(Lnet/minecraft/class_1282;Z)V
      named dropLoot Lnet/minecraft/entity/LivingEntity;dropLoot(Lnet/minecraft/entity/damage/DamageSource;Z)V
    • takeKnockback

      public void takeKnockback(double strength, double x, double z)
      Mappings:
      Namespace Name Mixin selector
      official q Lbjg;q(DDD)V
      intermediary method_6005 Lnet/minecraft/class_1309;method_6005(DDD)V
      named takeKnockback Lnet/minecraft/entity/LivingEntity;takeKnockback(DDD)V
    • tiltScreen

      public void tiltScreen(double deltaX, double deltaZ)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(DD)V
      intermediary method_48761 Lnet/minecraft/class_1309;method_48761(DD)V
      named tiltScreen Lnet/minecraft/entity/LivingEntity;tiltScreen(DD)V
    • getHurtSound

      @Nullable protected @Nullable SoundEvent getHurtSound(DamageSource source)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbho;)Lapc;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getDeathSound

      @Nullable protected @Nullable SoundEvent getDeathSound()
      Mappings:
      Namespace Name Mixin selector
      official l_ Lbjg;l_()Lapc;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getFallSound

      private SoundEvent getFallSound(int distance)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(I)Lapc;
      intermediary method_6041 Lnet/minecraft/class_1309;method_6041(I)Lnet/minecraft/class_3414;
      named getFallSound Lnet/minecraft/entity/LivingEntity;getFallSound(I)Lnet/minecraft/sound/SoundEvent;
    • disableExperienceDropping

      public void disableExperienceDropping()
      Mappings:
      Namespace Name Mixin selector
      official eB Lbjg;eB()V
      intermediary method_41329 Lnet/minecraft/class_1309;method_41329()V
      named disableExperienceDropping Lnet/minecraft/entity/LivingEntity;disableExperienceDropping()V
    • isExperienceDroppingDisabled

      public boolean isExperienceDroppingDisabled()
      Mappings:
      Namespace Name Mixin selector
      official eC Lbjg;eC()Z
      intermediary method_41330 Lnet/minecraft/class_1309;method_41330()Z
      named isExperienceDroppingDisabled Lnet/minecraft/entity/LivingEntity;isExperienceDroppingDisabled()Z
    • getDamageTiltYaw

      public float getDamageTiltYaw()
      Mappings:
      Namespace Name Mixin selector
      official eD Lbjg;eD()F
      intermediary method_48157 Lnet/minecraft/class_1309;method_48157()F
      named getDamageTiltYaw Lnet/minecraft/entity/LivingEntity;getDamageTiltYaw()F
    • getHitbox

      protected Box getHitbox()
      Gets the area in which this entity can be attacked by mobs whose attack box overlaps it.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official eE Lbjg;eE()Lehi;
      intermediary method_53510 Lnet/minecraft/class_1309;method_53510()Lnet/minecraft/class_238;
      named getHitbox Lnet/minecraft/entity/LivingEntity;getHitbox()Lnet/minecraft/util/math/Box;
    • getFallSounds

      public LivingEntity.FallSounds getFallSounds()
      Mappings:
      Namespace Name Mixin selector
      official eF Lbjg;eF()Lbjg$a;
      intermediary method_39760 Lnet/minecraft/class_1309;method_39760()Lnet/minecraft/class_1309$class_6823;
      named getFallSounds Lnet/minecraft/entity/LivingEntity;getFallSounds()Lnet/minecraft/entity/LivingEntity$FallSounds;
    • getDrinkSound

      protected SoundEvent getDrinkSound(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lcjf;)Lapc;
      intermediary method_18807 Lnet/minecraft/class_1309;method_18807(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
      named getDrinkSound Lnet/minecraft/entity/LivingEntity;getDrinkSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
    • getEatSound

      public SoundEvent getEatSound(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lcjf;)Lapc;
      intermediary method_18869 Lnet/minecraft/class_1309;method_18869(Lnet/minecraft/class_1799;)Lnet/minecraft/class_3414;
      named getEatSound Lnet/minecraft/entity/LivingEntity;getEatSound(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/sound/SoundEvent;
    • getClimbingPos

      public Optional<BlockPos> getClimbingPos()
      Mappings:
      Namespace Name Mixin selector
      official eG Lbjg;eG()Ljava/util/Optional;
      intermediary method_24832 Lnet/minecraft/class_1309;method_24832()Ljava/util/Optional;
      named getClimbingPos Lnet/minecraft/entity/LivingEntity;getClimbingPos()Ljava/util/Optional;
    • isClimbing

      public boolean isClimbing()
      Mappings:
      Namespace Name Mixin selector
      official c_ Lbjg;c_()Z
      intermediary method_6101 Lnet/minecraft/class_1309;method_6101()Z
      named isClimbing Lnet/minecraft/entity/LivingEntity;isClimbing()Z
    • canEnterTrapdoor

      private boolean canEnterTrapdoor(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lgw;Ldfj;)Z
      intermediary method_6077 Lnet/minecraft/class_1309;method_6077(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Z
      named canEnterTrapdoor Lnet/minecraft/entity/LivingEntity;canEnterTrapdoor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Z
    • isAlive

      public boolean isAlive()
      Returns whether the entity is alive.

      For non-LivingEntity, this is the same as negating Entity.isRemoved(). LivingEntity checks the entity's health in addition to the removal.

      Overrides:
      isAlive in class Entity
      Returns:
      whether the entity is alive
      Mappings:
      Namespace Name Mixin selector
      official bv Lbiq;bv()Z
      intermediary method_5805 Lnet/minecraft/class_1297;method_5805()Z
      named isAlive Lnet/minecraft/entity/Entity;isAlive()Z
    • handleFallDamage

      public boolean handleFallDamage(float fallDistance, float damageMultiplier, DamageSource damageSource)
      Called when an entity falls.

      Flying mobs and mobs immune to fall damage should override this to do nothing. Mobs with reduced fall damage should override this method to apply reduced damage instead. Some entities explode instead of applying fall damage, like TntMinecartEntity.

      Overrides:
      handleFallDamage in class Entity
      Returns:
      whether to play the sound when falling on honey block; false for all entities except horses and llamas
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(FFLbho;)Z
      intermediary method_5747 Lnet/minecraft/class_1297;method_5747(FFLnet/minecraft/class_1282;)Z
      named handleFallDamage Lnet/minecraft/entity/Entity;handleFallDamage(FFLnet/minecraft/entity/damage/DamageSource;)Z
    • computeFallDamage

      protected int computeFallDamage(float fallDistance, float damageMultiplier)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(FF)I
      intermediary method_23329 Lnet/minecraft/class_1309;method_23329(FF)I
      named computeFallDamage Lnet/minecraft/entity/LivingEntity;computeFallDamage(FF)I
    • playBlockFallSound

      protected void playBlockFallSound()
      Mappings:
      Namespace Name Mixin selector
      official eH Lbjg;eH()V
      intermediary method_23328 Lnet/minecraft/class_1309;method_23328()V
      named playBlockFallSound Lnet/minecraft/entity/LivingEntity;playBlockFallSound()V
    • animateDamage

      public void animateDamage(float yaw)
      Called on the client to animate the entity's damage (the wobble).
      Overrides:
      animateDamage in class Entity
      Mappings:
      Namespace Name Mixin selector
      official m Lbiq;m(F)V
      intermediary method_5879 Lnet/minecraft/class_1297;method_5879(F)V
      named animateDamage Lnet/minecraft/entity/Entity;animateDamage(F)V
    • getArmor

      public int getArmor()
      Mappings:
      Namespace Name Mixin selector
      official eI Lbjg;eI()I
      intermediary method_6096 Lnet/minecraft/class_1309;method_6096()I
      named getArmor Lnet/minecraft/entity/LivingEntity;getArmor()I
    • damageArmor

      protected void damageArmor(DamageSource source, float amount)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbho;F)V
      intermediary method_6105 Lnet/minecraft/class_1309;method_6105(Lnet/minecraft/class_1282;F)V
      named damageArmor Lnet/minecraft/entity/LivingEntity;damageArmor(Lnet/minecraft/entity/damage/DamageSource;F)V
    • damageHelmet

      protected void damageHelmet(DamageSource source, float amount)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbho;F)V
      intermediary method_36977 Lnet/minecraft/class_1309;method_36977(Lnet/minecraft/class_1282;F)V
      named damageHelmet Lnet/minecraft/entity/LivingEntity;damageHelmet(Lnet/minecraft/entity/damage/DamageSource;F)V
    • damageShield

      protected void damageShield(float amount)
      Mappings:
      Namespace Name Mixin selector
      official u Lbjg;u(F)V
      intermediary method_6056 Lnet/minecraft/class_1309;method_6056(F)V
      named damageShield Lnet/minecraft/entity/LivingEntity;damageShield(F)V
    • applyArmorToDamage

      protected float applyArmorToDamage(DamageSource source, float amount)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbho;F)F
      intermediary method_6132 Lnet/minecraft/class_1309;method_6132(Lnet/minecraft/class_1282;F)F
      named applyArmorToDamage Lnet/minecraft/entity/LivingEntity;applyArmorToDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
    • modifyAppliedDamage

      protected float modifyAppliedDamage(DamageSource source, float amount)
      Returns the modified damage value for the applied damage.
      Returns:
      the modified damage value for the applied damage
      API Note:
      Subclasses should override this to make the entity take reduced damage.
      Implementation Note:
      This applies various protection enchantments and the resistance effect. WitchEntity uses this to negate their own damage and reduce the applied status effect damage.
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(Lbho;F)F
      intermediary method_6036 Lnet/minecraft/class_1309;method_6036(Lnet/minecraft/class_1282;F)F
      named modifyAppliedDamage Lnet/minecraft/entity/LivingEntity;modifyAppliedDamage(Lnet/minecraft/entity/damage/DamageSource;F)F
    • applyDamage

      protected void applyDamage(DamageSource source, float amount)
      Mappings:
      Namespace Name Mixin selector
      official f Lbjg;f(Lbho;F)V
      intermediary method_6074 Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_1282;F)V
      named applyDamage Lnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/entity/damage/DamageSource;F)V
    • getDamageTracker

      public DamageTracker getDamageTracker()
      Mappings:
      Namespace Name Mixin selector
      official eJ Lbjg;eJ()Lbhl;
      intermediary method_6066 Lnet/minecraft/class_1309;method_6066()Lnet/minecraft/class_1283;
      named getDamageTracker Lnet/minecraft/entity/LivingEntity;getDamageTracker()Lnet/minecraft/entity/damage/DamageTracker;
    • getPrimeAdversary

      @Nullable public @Nullable LivingEntity getPrimeAdversary()
      Mappings:
      Namespace Name Mixin selector
      official eK Lbjg;eK()Lbjg;
      intermediary method_6124 Lnet/minecraft/class_1309;method_6124()Lnet/minecraft/class_1309;
      named getPrimeAdversary Lnet/minecraft/entity/LivingEntity;getPrimeAdversary()Lnet/minecraft/entity/LivingEntity;
    • getMaxHealth

      public final float getMaxHealth()
      Mappings:
      Namespace Name Mixin selector
      official eL Lbjg;eL()F
      intermediary method_6063 Lnet/minecraft/class_1309;method_6063()F
      named getMaxHealth Lnet/minecraft/entity/LivingEntity;getMaxHealth()F
    • getMaxAbsorption

      public final float getMaxAbsorption()
      Mappings:
      Namespace Name Mixin selector
      official eM Lbjg;eM()F
      intermediary method_52541 Lnet/minecraft/class_1309;method_52541()F
      named getMaxAbsorption Lnet/minecraft/entity/LivingEntity;getMaxAbsorption()F
    • getStuckArrowCount

      public final int getStuckArrowCount()
      Mappings:
      Namespace Name Mixin selector
      official eN Lbjg;eN()I
      intermediary method_6022 Lnet/minecraft/class_1309;method_6022()I
      named getStuckArrowCount Lnet/minecraft/entity/LivingEntity;getStuckArrowCount()I
    • setStuckArrowCount

      public final void setStuckArrowCount(int stuckArrowCount)
      Mappings:
      Namespace Name Mixin selector
      official p Lbjg;p(I)V
      intermediary method_6097 Lnet/minecraft/class_1309;method_6097(I)V
      named setStuckArrowCount Lnet/minecraft/entity/LivingEntity;setStuckArrowCount(I)V
    • getStingerCount

      public final int getStingerCount()
      Mappings:
      Namespace Name Mixin selector
      official eO Lbjg;eO()I
      intermediary method_21753 Lnet/minecraft/class_1309;method_21753()I
      named getStingerCount Lnet/minecraft/entity/LivingEntity;getStingerCount()I
    • setStingerCount

      public final void setStingerCount(int stingerCount)
      Mappings:
      Namespace Name Mixin selector
      official q Lbjg;q(I)V
      intermediary method_21755 Lnet/minecraft/class_1309;method_21755(I)V
      named setStingerCount Lnet/minecraft/entity/LivingEntity;setStingerCount(I)V
    • getHandSwingDuration

      private int getHandSwingDuration()
      Mappings:
      Namespace Name Mixin selector
      official z Lbjg;z()I
      intermediary method_6028 Lnet/minecraft/class_1309;method_6028()I
      named getHandSwingDuration Lnet/minecraft/entity/LivingEntity;getHandSwingDuration()I
    • swingHand

      public void swingHand(Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbgx;)V
      intermediary method_6104 Lnet/minecraft/class_1309;method_6104(Lnet/minecraft/class_1268;)V
      named swingHand Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;)V
    • swingHand

      public void swingHand(Hand hand, boolean fromServerPlayer)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbgx;Z)V
      intermediary method_23667 Lnet/minecraft/class_1309;method_23667(Lnet/minecraft/class_1268;Z)V
      named swingHand Lnet/minecraft/entity/LivingEntity;swingHand(Lnet/minecraft/util/Hand;Z)V
    • onDamaged

      public void onDamaged(DamageSource damageSource)
      Overrides:
      onDamaged in class Entity
      Mappings:
      Namespace Name Mixin selector
      official c Lbiq;c(Lbho;)V
      intermediary method_48922 Lnet/minecraft/class_1297;method_48922(Lnet/minecraft/class_1282;)V
      named onDamaged Lnet/minecraft/entity/Entity;onDamaged(Lnet/minecraft/entity/damage/DamageSource;)V
    • 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 Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbiq;b(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • addDeathParticles

      private void addDeathParticles()
      Mappings:
      Namespace Name Mixin selector
      official A Lbjg;A()V
      intermediary method_36549 Lnet/minecraft/class_1309;method_36549()V
      named addDeathParticles Lnet/minecraft/entity/LivingEntity;addDeathParticles()V
    • swapHandStacks

      private void swapHandStacks()
      Mappings:
      Namespace Name Mixin selector
      official B Lbjg;B()V
      intermediary method_30127 Lnet/minecraft/class_1309;method_30127()V
      named swapHandStacks Lnet/minecraft/entity/LivingEntity;swapHandStacks()V
    • tickInVoid

      protected void tickInVoid()
      Called when the entity is 64 blocks below the world's minimum Y position.

      Living entities use this to deal out of world damage.

      Overrides:
      tickInVoid in class Entity
      Mappings:
      Namespace Name Mixin selector
      official az Lbiq;az()V
      intermediary method_5825 Lnet/minecraft/class_1297;method_5825()V
      named tickInVoid Lnet/minecraft/entity/Entity;tickInVoid()V
    • tickHandSwing

      protected void tickHandSwing()
      Mappings:
      Namespace Name Mixin selector
      official eP Lbjg;eP()V
      intermediary method_6119 Lnet/minecraft/class_1309;method_6119()V
      named tickHandSwing Lnet/minecraft/entity/LivingEntity;tickHandSwing()V
    • getAttributeInstance

      @Nullable public @Nullable EntityAttributeInstance getAttributeInstance(EntityAttribute attribute)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbkh;)Lbki;
      intermediary method_5996 Lnet/minecraft/class_1309;method_5996(Lnet/minecraft/class_1320;)Lnet/minecraft/class_1324;
      named getAttributeInstance Lnet/minecraft/entity/LivingEntity;getAttributeInstance(Lnet/minecraft/entity/attribute/EntityAttribute;)Lnet/minecraft/entity/attribute/EntityAttributeInstance;
    • getAttributeValue

      public double getAttributeValue(RegistryEntry<EntityAttribute> attribute)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lhe;)D
      intermediary method_45325 Lnet/minecraft/class_1309;method_45325(Lnet/minecraft/class_6880;)D
      named getAttributeValue Lnet/minecraft/entity/LivingEntity;getAttributeValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
    • getAttributeValue

      public double getAttributeValue(EntityAttribute attribute)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbkh;)D
      intermediary method_26825 Lnet/minecraft/class_1309;method_26825(Lnet/minecraft/class_1320;)D
      named getAttributeValue Lnet/minecraft/entity/LivingEntity;getAttributeValue(Lnet/minecraft/entity/attribute/EntityAttribute;)D
    • getAttributeBaseValue

      public double getAttributeBaseValue(RegistryEntry<EntityAttribute> attribute)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lhe;)D
      intermediary method_45326 Lnet/minecraft/class_1309;method_45326(Lnet/minecraft/class_6880;)D
      named getAttributeBaseValue Lnet/minecraft/entity/LivingEntity;getAttributeBaseValue(Lnet/minecraft/registry/entry/RegistryEntry;)D
    • getAttributeBaseValue

      public double getAttributeBaseValue(EntityAttribute attribute)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbkh;)D
      intermediary method_26826 Lnet/minecraft/class_1309;method_26826(Lnet/minecraft/class_1320;)D
      named getAttributeBaseValue Lnet/minecraft/entity/LivingEntity;getAttributeBaseValue(Lnet/minecraft/entity/attribute/EntityAttribute;)D
    • getAttributes

      public AttributeContainer getAttributes()
      Mappings:
      Namespace Name Mixin selector
      official eQ Lbjg;eQ()Lbkj;
      intermediary method_6127 Lnet/minecraft/class_1309;method_6127()Lnet/minecraft/class_5131;
      named getAttributes Lnet/minecraft/entity/LivingEntity;getAttributes()Lnet/minecraft/entity/attribute/AttributeContainer;
    • getGroup

      public EntityGroup getGroup()
      Mappings:
      Namespace Name Mixin selector
      official eR Lbjg;eR()Lbjl;
      intermediary method_6046 Lnet/minecraft/class_1309;method_6046()Lnet/minecraft/class_1310;
      named getGroup Lnet/minecraft/entity/LivingEntity;getGroup()Lnet/minecraft/entity/EntityGroup;
    • getMainHandStack

      public ItemStack getMainHandStack()
      Mappings:
      Namespace Name Mixin selector
      official eS Lbjg;eS()Lcjf;
      intermediary method_6047 Lnet/minecraft/class_1309;method_6047()Lnet/minecraft/class_1799;
      named getMainHandStack Lnet/minecraft/entity/LivingEntity;getMainHandStack()Lnet/minecraft/item/ItemStack;
    • getOffHandStack

      public ItemStack getOffHandStack()
      Mappings:
      Namespace Name Mixin selector
      official eT Lbjg;eT()Lcjf;
      intermediary method_6079 Lnet/minecraft/class_1309;method_6079()Lnet/minecraft/class_1799;
      named getOffHandStack Lnet/minecraft/entity/LivingEntity;getOffHandStack()Lnet/minecraft/item/ItemStack;
    • isHolding

      public boolean isHolding(Item item)
      Checks if this entity is holding a certain item.

      This checks both the entity's main and off hand.

      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lcja;)Z
      intermediary method_24518 Lnet/minecraft/class_1309;method_24518(Lnet/minecraft/class_1792;)Z
      named isHolding Lnet/minecraft/entity/LivingEntity;isHolding(Lnet/minecraft/item/Item;)Z
    • isHolding

      public boolean isHolding(Predicate<ItemStack> predicate)
      Checks if this entity is holding a certain item.

      This checks both the entity's main and off hand.

      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Ljava/util/function/Predicate;)Z
      intermediary method_24520 Lnet/minecraft/class_1309;method_24520(Ljava/util/function/Predicate;)Z
      named isHolding Lnet/minecraft/entity/LivingEntity;isHolding(Ljava/util/function/Predicate;)Z
    • getStackInHand

      public ItemStack getStackInHand(Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbgx;)Lcjf;
      intermediary method_5998 Lnet/minecraft/class_1309;method_5998(Lnet/minecraft/class_1268;)Lnet/minecraft/class_1799;
      named getStackInHand Lnet/minecraft/entity/LivingEntity;getStackInHand(Lnet/minecraft/util/Hand;)Lnet/minecraft/item/ItemStack;
    • setStackInHand

      public void setStackInHand(Hand hand, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbgx;Lcjf;)V
      intermediary method_6122 Lnet/minecraft/class_1309;method_6122(Lnet/minecraft/class_1268;Lnet/minecraft/class_1799;)V
      named setStackInHand Lnet/minecraft/entity/LivingEntity;setStackInHand(Lnet/minecraft/util/Hand;Lnet/minecraft/item/ItemStack;)V
    • hasStackEquipped

      public boolean hasStackEquipped(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbiv;)Z
      intermediary method_6084 Lnet/minecraft/class_1309;method_6084(Lnet/minecraft/class_1304;)Z
      named hasStackEquipped Lnet/minecraft/entity/LivingEntity;hasStackEquipped(Lnet/minecraft/entity/EquipmentSlot;)Z
    • getArmorItems

      public abstract Iterable<ItemStack> getArmorItems()
      Returns an iterable of item stacks equipped as armor.
      Overrides:
      getArmorItems in class Entity
      Returns:
      an iterable of item stacks equipped as armor
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bK Lbiq;bK()Ljava/lang/Iterable;
      intermediary method_5661 Lnet/minecraft/class_1297;method_5661()Ljava/lang/Iterable;
      named getArmorItems Lnet/minecraft/entity/Entity;getArmorItems()Ljava/lang/Iterable;
    • getEquippedStack

      public abstract ItemStack getEquippedStack(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbiv;)Lcjf;
      intermediary method_6118 Lnet/minecraft/class_1309;method_6118(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
      named getEquippedStack Lnet/minecraft/entity/LivingEntity;getEquippedStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
    • equipStack

      public abstract void equipStack(EquipmentSlot slot, ItemStack stack)
      Equips stack at slot.This is also used to set an entity's mainhand or offhand stack. This overwrites any stacks present in that slot without dropping them.
      Overrides:
      equipStack in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Lbiv;Lcjf;)V
      intermediary method_5673 Lnet/minecraft/class_1297;method_5673(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
      named equipStack Lnet/minecraft/entity/Entity;equipStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
    • processEquippedStack

      protected void processEquippedStack(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(Lcjf;)V
      intermediary method_37410 Lnet/minecraft/class_1309;method_37410(Lnet/minecraft/class_1799;)V
      named processEquippedStack Lnet/minecraft/entity/LivingEntity;processEquippedStack(Lnet/minecraft/item/ItemStack;)V
    • getArmorVisibility

      public float getArmorVisibility()
      Mappings:
      Namespace Name Mixin selector
      official eU Lbjg;eU()F
      intermediary method_18396 Lnet/minecraft/class_1309;method_18396()F
      named getArmorVisibility Lnet/minecraft/entity/LivingEntity;getArmorVisibility()F
    • setSprinting

      public void setSprinting(boolean sprinting)
      Sets whether the entity is sprinting.
      Overrides:
      setSprinting in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official g Lbiq;g(Z)V
      intermediary method_5728 Lnet/minecraft/class_1297;method_5728(Z)V
      named setSprinting Lnet/minecraft/entity/Entity;setSprinting(Z)V
    • getSoundVolume

      protected float getSoundVolume()
      Mappings:
      Namespace Name Mixin selector
      official eV Lbjg;eV()F
      intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • getSoundPitch

      public float getSoundPitch()
      Mappings:
      Namespace Name Mixin selector
      official eW Lbjg;eW()F
      intermediary method_6017 Lnet/minecraft/class_1309;method_6017()F
      named getSoundPitch Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
    • isImmobile

      protected boolean isImmobile()
      Mappings:
      Namespace Name Mixin selector
      official eX Lbjg;eX()Z
      intermediary method_6062 Lnet/minecraft/class_1309;method_6062()Z
      named isImmobile Lnet/minecraft/entity/LivingEntity;isImmobile()Z
    • pushAwayFrom

      public void pushAwayFrom(Entity entity)
      Overrides:
      pushAwayFrom in class Entity
      Mappings:
      Namespace Name Mixin selector
      official g Lbiq;g(Lbiq;)V
      intermediary method_5697 Lnet/minecraft/class_1297;method_5697(Lnet/minecraft/class_1297;)V
      named pushAwayFrom Lnet/minecraft/entity/Entity;pushAwayFrom(Lnet/minecraft/entity/Entity;)V
    • onDismounted

      private void onDismounted(Entity vehicle)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbiq;)V
      intermediary method_6038 Lnet/minecraft/class_1309;method_6038(Lnet/minecraft/class_1297;)V
      named onDismounted Lnet/minecraft/entity/LivingEntity;onDismounted(Lnet/minecraft/entity/Entity;)V
    • shouldRenderName

      public boolean shouldRenderName()
      Returns whether to render the name of the entity.

      This returns true for players and Entity.isCustomNameVisible() for other entities.

      Overrides:
      shouldRenderName in class Entity
      Returns:
      whether to render the name of the entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cB Lbiq;cB()Z
      intermediary method_5733 Lnet/minecraft/class_1297;method_5733()Z
      named shouldRenderName Lnet/minecraft/entity/Entity;shouldRenderName()Z
    • getJumpVelocity

      protected float getJumpVelocity()
      Mappings:
      Namespace Name Mixin selector
      official eY Lbjg;eY()F
      intermediary method_6106 Lnet/minecraft/class_1309;method_6106()F
      named getJumpVelocity Lnet/minecraft/entity/LivingEntity;getJumpVelocity()F
    • getJumpBoostVelocityModifier

      public float getJumpBoostVelocityModifier()
      Mappings:
      Namespace Name Mixin selector
      official eZ Lbjg;eZ()F
      intermediary method_37416 Lnet/minecraft/class_1309;method_37416()F
      named getJumpBoostVelocityModifier Lnet/minecraft/entity/LivingEntity;getJumpBoostVelocityModifier()F
    • jump

      protected void jump()
      Mappings:
      Namespace Name Mixin selector
      official fa Lbjg;fa()V
      intermediary method_6043 Lnet/minecraft/class_1309;method_6043()V
      named jump Lnet/minecraft/entity/LivingEntity;jump()V
    • knockDownwards

      protected void knockDownwards()
      Mappings:
      Namespace Name Mixin selector
      official fb Lbjg;fb()V
      intermediary method_6093 Lnet/minecraft/class_1309;method_6093()V
      named knockDownwards Lnet/minecraft/entity/LivingEntity;knockDownwards()V
    • swimUpward

      protected void swimUpward(TagKey<Fluid> fluid)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Laqh;)V
      intermediary method_6010 Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_6862;)V
      named swimUpward Lnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/registry/tag/TagKey;)V
    • getBaseMovementSpeedMultiplier

      protected float getBaseMovementSpeedMultiplier()
      Mappings:
      Namespace Name Mixin selector
      official fc Lbjg;fc()F
      intermediary method_6120 Lnet/minecraft/class_1309;method_6120()F
      named getBaseMovementSpeedMultiplier Lnet/minecraft/entity/LivingEntity;getBaseMovementSpeedMultiplier()F
    • canWalkOnFluid

      public boolean canWalkOnFluid(FluidState state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Leam;)Z
      intermediary method_26319 Lnet/minecraft/class_1309;method_26319(Lnet/minecraft/class_3610;)Z
      named canWalkOnFluid Lnet/minecraft/entity/LivingEntity;canWalkOnFluid(Lnet/minecraft/fluid/FluidState;)Z
    • 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.

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

      private void travelControlled(PlayerEntity controllingPlayer, Vec3d movementInput)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lcbu;Lehn;)V
      intermediary method_49483 Lnet/minecraft/class_1309;method_49483(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
      named travelControlled Lnet/minecraft/entity/LivingEntity;travelControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
    • tickControlled

      protected void tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lcbu;Lehn;)V
      intermediary method_49481 Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
      named tickControlled Lnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
    • getControlledMovementInput

      protected Vec3d getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lcbu;Lehn;)Lehn;
      intermediary method_49482 Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      named getControlledMovementInput Lnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • getSaddledSpeed

      protected float getSaddledSpeed(PlayerEntity controllingPlayer)
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(Lcbu;)F
      intermediary method_49485 Lnet/minecraft/class_1309;method_49485(Lnet/minecraft/class_1657;)F
      named getSaddledSpeed Lnet/minecraft/entity/LivingEntity;getSaddledSpeed(Lnet/minecraft/entity/player/PlayerEntity;)F
    • updateLimbs

      public void updateLimbs(boolean flutter)
      Mappings:
      Namespace Name Mixin selector
      official q Lbjg;q(Z)V
      intermediary method_29242 Lnet/minecraft/class_1309;method_29242(Z)V
      named updateLimbs Lnet/minecraft/entity/LivingEntity;updateLimbs(Z)V
    • updateLimbs

      protected void updateLimbs(float posDelta)
      Mappings:
      Namespace Name Mixin selector
      official v Lbjg;v(F)V
      intermediary method_48565 Lnet/minecraft/class_1309;method_48565(F)V
      named updateLimbs Lnet/minecraft/entity/LivingEntity;updateLimbs(F)V
    • applyMovementInput

      public Vec3d applyMovementInput(Vec3d movementInput, float slipperiness)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lehn;F)Lehn;
      intermediary method_26318 Lnet/minecraft/class_1309;method_26318(Lnet/minecraft/class_243;F)Lnet/minecraft/class_243;
      named applyMovementInput Lnet/minecraft/entity/LivingEntity;applyMovementInput(Lnet/minecraft/util/math/Vec3d;F)Lnet/minecraft/util/math/Vec3d;
    • applyFluidMovingSpeed

      public Vec3d applyFluidMovingSpeed(double gravity, boolean falling, Vec3d motion)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(DZLehn;)Lehn;
      intermediary method_26317 Lnet/minecraft/class_1309;method_26317(DZLnet/minecraft/class_243;)Lnet/minecraft/class_243;
      named applyFluidMovingSpeed Lnet/minecraft/entity/LivingEntity;applyFluidMovingSpeed(DZLnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • applyClimbingSpeed

      private Vec3d applyClimbingSpeed(Vec3d motion)
      Mappings:
      Namespace Name Mixin selector
      official j Lbjg;j(Lehn;)Lehn;
      intermediary method_18801 Lnet/minecraft/class_1309;method_18801(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      named applyClimbingSpeed Lnet/minecraft/entity/LivingEntity;applyClimbingSpeed(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • getMovementSpeed

      private float getMovementSpeed(float slipperiness)
      Mappings:
      Namespace Name Mixin selector
      official A Lbjg;A(F)F
      intermediary method_18802 Lnet/minecraft/class_1309;method_18802(F)F
      named getMovementSpeed Lnet/minecraft/entity/LivingEntity;getMovementSpeed(F)F
    • getOffGroundSpeed

      protected float getOffGroundSpeed()
      Mappings:
      Namespace Name Mixin selector
      official fd Lbjg;fd()F
      intermediary method_49484 Lnet/minecraft/class_1309;method_49484()F
      named getOffGroundSpeed Lnet/minecraft/entity/LivingEntity;getOffGroundSpeed()F
    • getMovementSpeed

      public float getMovementSpeed()
      Mappings:
      Namespace Name Mixin selector
      official fe Lbjg;fe()F
      intermediary method_6029 Lnet/minecraft/class_1309;method_6029()F
      named getMovementSpeed Lnet/minecraft/entity/LivingEntity;getMovementSpeed()F
    • setMovementSpeed

      public void setMovementSpeed(float movementSpeed)
      Mappings:
      Namespace Name Mixin selector
      official w Lbjg;w(F)V
      intermediary method_6125 Lnet/minecraft/class_1309;method_6125(F)V
      named setMovementSpeed Lnet/minecraft/entity/LivingEntity;setMovementSpeed(F)V
    • tryAttack

      public boolean tryAttack(Entity target)
      Mappings:
      Namespace Name Mixin selector
      official C Lbjg;C(Lbiq;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_1297;)Z
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/entity/Entity;)Z
    • tick

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official l Lbiq;l()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • sendEquipmentChanges

      private void sendEquipmentChanges()
      Sends equipment changes to nearby players.
      Mappings:
      Namespace Name Mixin selector
      official C Lbjg;C()V
      intermediary method_30128 Lnet/minecraft/class_1309;method_30128()V
      named sendEquipmentChanges Lnet/minecraft/entity/LivingEntity;sendEquipmentChanges()V
    • getEquipmentChanges

      @Nullable private @Nullable Map<EquipmentSlot,ItemStack> getEquipmentChanges()
      Returns the difference between the last sent equipment set and the current one.
      Returns:
      the difference between the last sent equipment set and the current one
      Mappings:
      Namespace Name Mixin selector
      official E Lbjg;E()Ljava/util/Map;
      intermediary method_30129 Lnet/minecraft/class_1309;method_30129()Ljava/util/Map;
      named getEquipmentChanges Lnet/minecraft/entity/LivingEntity;getEquipmentChanges()Ljava/util/Map;
    • areItemsDifferent

      public boolean areItemsDifferent(ItemStack stack, ItemStack stack2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lcjf;Lcjf;)Z
      intermediary method_45324 Lnet/minecraft/class_1309;method_45324(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
      named areItemsDifferent Lnet/minecraft/entity/LivingEntity;areItemsDifferent(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
    • checkHandStackSwap

      private void checkHandStackSwap(Map<EquipmentSlot,ItemStack> equipmentChanges)
      Notifies nearby players if the stacks in the hands have been swapped.
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Ljava/util/Map;)V
      intermediary method_30121 Lnet/minecraft/class_1309;method_30121(Ljava/util/Map;)V
      named checkHandStackSwap Lnet/minecraft/entity/LivingEntity;checkHandStackSwap(Ljava/util/Map;)V
    • sendEquipmentChanges

      private void sendEquipmentChanges(Map<EquipmentSlot,ItemStack> equipmentChanges)
      Sends equipment changes to nearby players.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Ljava/util/Map;)V
      intermediary method_30123 Lnet/minecraft/class_1309;method_30123(Ljava/util/Map;)V
      named sendEquipmentChanges Lnet/minecraft/entity/LivingEntity;sendEquipmentChanges(Ljava/util/Map;)V
    • getSyncedArmorStack

      private ItemStack getSyncedArmorStack(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(Lbiv;)Lcjf;
      intermediary method_30125 Lnet/minecraft/class_1309;method_30125(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
      named getSyncedArmorStack Lnet/minecraft/entity/LivingEntity;getSyncedArmorStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
    • setSyncedArmorStack

      private void setSyncedArmorStack(EquipmentSlot slot, ItemStack armor)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbiv;Lcjf;)V
      intermediary method_30122 Lnet/minecraft/class_1309;method_30122(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
      named setSyncedArmorStack Lnet/minecraft/entity/LivingEntity;setSyncedArmorStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
    • getSyncedHandStack

      private ItemStack getSyncedHandStack(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official f Lbjg;f(Lbiv;)Lcjf;
      intermediary method_30126 Lnet/minecraft/class_1309;method_30126(Lnet/minecraft/class_1304;)Lnet/minecraft/class_1799;
      named getSyncedHandStack Lnet/minecraft/entity/LivingEntity;getSyncedHandStack(Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/item/ItemStack;
    • setSyncedHandStack

      private void setSyncedHandStack(EquipmentSlot slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbiv;Lcjf;)V
      intermediary method_30124 Lnet/minecraft/class_1309;method_30124(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
      named setSyncedHandStack Lnet/minecraft/entity/LivingEntity;setSyncedHandStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
    • turnHead

      protected float turnHead(float bodyRotation, float headRotation)
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(FF)F
      intermediary method_6031 Lnet/minecraft/class_1309;method_6031(FF)F
      named turnHead Lnet/minecraft/entity/LivingEntity;turnHead(FF)F
    • tickMovement

      public void tickMovement()
      Mappings:
      Namespace Name Mixin selector
      official b_ Lbjg;b_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • hurtByWater

      public boolean hurtByWater()
      Mappings:
      Namespace Name Mixin selector
      official ff Lbjg;ff()Z
      intermediary method_29503 Lnet/minecraft/class_1309;method_29503()Z
      named hurtByWater Lnet/minecraft/entity/LivingEntity;hurtByWater()Z
    • tickFallFlying

      private void tickFallFlying()
      Mappings:
      Namespace Name Mixin selector
      official F Lbjg;F()V
      intermediary method_6053 Lnet/minecraft/class_1309;method_6053()V
      named tickFallFlying Lnet/minecraft/entity/LivingEntity;tickFallFlying()V
    • tickNewAi

      protected void tickNewAi()
      Mappings:
      Namespace Name Mixin selector
      official fg Lbjg;fg()V
      intermediary method_6023 Lnet/minecraft/class_1309;method_6023()V
      named tickNewAi Lnet/minecraft/entity/LivingEntity;tickNewAi()V
    • tickCramming

      protected void tickCramming()
      Mappings:
      Namespace Name Mixin selector
      official fh Lbjg;fh()V
      intermediary method_6070 Lnet/minecraft/class_1309;method_6070()V
      named tickCramming Lnet/minecraft/entity/LivingEntity;tickCramming()V
    • tickRiptide

      protected void tickRiptide(Box a, Box b)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lehi;Lehi;)V
      intermediary method_6035 Lnet/minecraft/class_1309;method_6035(Lnet/minecraft/class_238;Lnet/minecraft/class_238;)V
      named tickRiptide Lnet/minecraft/entity/LivingEntity;tickRiptide(Lnet/minecraft/util/math/Box;Lnet/minecraft/util/math/Box;)V
    • pushAway

      protected void pushAway(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official D Lbjg;D(Lbiq;)V
      intermediary method_6087 Lnet/minecraft/class_1309;method_6087(Lnet/minecraft/class_1297;)V
      named pushAway Lnet/minecraft/entity/LivingEntity;pushAway(Lnet/minecraft/entity/Entity;)V
    • attackLivingEntity

      protected void attackLivingEntity(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official g Lbjg;g(Lbjg;)V
      intermediary method_5997 Lnet/minecraft/class_1309;method_5997(Lnet/minecraft/class_1309;)V
      named attackLivingEntity Lnet/minecraft/entity/LivingEntity;attackLivingEntity(Lnet/minecraft/entity/LivingEntity;)V
    • isUsingRiptide

      public boolean isUsingRiptide()
      Mappings:
      Namespace Name Mixin selector
      official fi Lbjg;fi()Z
      intermediary method_6123 Lnet/minecraft/class_1309;method_6123()Z
      named isUsingRiptide Lnet/minecraft/entity/LivingEntity;isUsingRiptide()Z
    • stopRiding

      public void stopRiding()
      Stops riding the vehicle if present.

      For example, if player is riding on a horse, player.stopRiding() will dismount that player from the horse.

      Overrides:
      stopRiding in class Entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official aa Lbiq;aa()V
      intermediary method_5848 Lnet/minecraft/class_1297;method_5848()V
      named stopRiding Lnet/minecraft/entity/Entity;stopRiding()V
    • tickRiding

      public void tickRiding()
      Overrides:
      tickRiding in class Entity
      Mappings:
      Namespace Name Mixin selector
      official by Lbiq;by()V
      intermediary method_5842 Lnet/minecraft/class_1297;method_5842()V
      named tickRiding Lnet/minecraft/entity/Entity;tickRiding()V
    • updateTrackedPositionAndAngles

      public void updateTrackedPositionAndAngles(double x, double y, double z, float yaw, float pitch, int interpolationSteps)
      Overrides:
      updateTrackedPositionAndAngles in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(DDDFFI)V
      intermediary method_5759 Lnet/minecraft/class_1297;method_5759(DDDFFI)V
      named updateTrackedPositionAndAngles Lnet/minecraft/entity/Entity;updateTrackedPositionAndAngles(DDDFFI)V
    • getLerpTargetX

      public double getLerpTargetX()
      Overrides:
      getLerpTargetX in class Entity
      Mappings:
      Namespace Name Mixin selector
      official n_ Lbiq;n_()D
      intermediary method_53830 Lnet/minecraft/class_1297;method_53830()D
      named getLerpTargetX Lnet/minecraft/entity/Entity;getLerpTargetX()D
    • getLerpTargetY

      public double getLerpTargetY()
      Overrides:
      getLerpTargetY in class Entity
      Mappings:
      Namespace Name Mixin selector
      official K_ Lbiq;K_()D
      intermediary method_53827 Lnet/minecraft/class_1297;method_53827()D
      named getLerpTargetY Lnet/minecraft/entity/Entity;getLerpTargetY()D
    • getLerpTargetZ

      public double getLerpTargetZ()
      Overrides:
      getLerpTargetZ in class Entity
      Mappings:
      Namespace Name Mixin selector
      official L_ Lbiq;L_()D
      intermediary method_53828 Lnet/minecraft/class_1297;method_53828()D
      named getLerpTargetZ Lnet/minecraft/entity/Entity;getLerpTargetZ()D
    • getLerpTargetPitch

      public float getLerpTargetPitch()
      Overrides:
      getLerpTargetPitch in class Entity
      Mappings:
      Namespace Name Mixin selector
      official d_ Lbiq;d_()F
      intermediary method_53829 Lnet/minecraft/class_1297;method_53829()F
      named getLerpTargetPitch Lnet/minecraft/entity/Entity;getLerpTargetPitch()F
    • getLerpTargetYaw

      public float getLerpTargetYaw()
      Overrides:
      getLerpTargetYaw in class Entity
      Mappings:
      Namespace Name Mixin selector
      official o_ Lbiq;o_()F
      intermediary method_53831 Lnet/minecraft/class_1297;method_53831()F
      named getLerpTargetYaw Lnet/minecraft/entity/Entity;getLerpTargetYaw()F
    • updateTrackedHeadRotation

      public void updateTrackedHeadRotation(float yaw, int interpolationSteps)
      Overrides:
      updateTrackedHeadRotation in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(FI)V
      intermediary method_5683 Lnet/minecraft/class_1297;method_5683(FI)V
      named updateTrackedHeadRotation Lnet/minecraft/entity/Entity;updateTrackedHeadRotation(FI)V
    • setJumping

      public void setJumping(boolean jumping)
      Mappings:
      Namespace Name Mixin selector
      official r Lbjg;r(Z)V
      intermediary method_6100 Lnet/minecraft/class_1309;method_6100(Z)V
      named setJumping Lnet/minecraft/entity/LivingEntity;setJumping(Z)V
    • triggerItemPickedUpByEntityCriteria

      public void triggerItemPickedUpByEntityCriteria(ItemEntity item)
      Called to trigger advancement criteria when an entity picks up an item thrown by a player.
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbyn;)V
      intermediary method_29499 Lnet/minecraft/class_1309;method_29499(Lnet/minecraft/class_1542;)V
      named triggerItemPickedUpByEntityCriteria Lnet/minecraft/entity/LivingEntity;triggerItemPickedUpByEntityCriteria(Lnet/minecraft/entity/ItemEntity;)V
    • sendPickup

      public void sendPickup(Entity item, int count)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbiq;I)V
      intermediary method_6103 Lnet/minecraft/class_1309;method_6103(Lnet/minecraft/class_1297;I)V
      named sendPickup Lnet/minecraft/entity/LivingEntity;sendPickup(Lnet/minecraft/entity/Entity;I)V
    • canSee

      public boolean canSee(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official E Lbjg;E(Lbiq;)Z
      intermediary method_6057 Lnet/minecraft/class_1309;method_6057(Lnet/minecraft/class_1297;)Z
      named canSee Lnet/minecraft/entity/LivingEntity;canSee(Lnet/minecraft/entity/Entity;)Z
    • getYaw

      public float getYaw(float tickDelta)
      Overrides:
      getYaw in class Entity
      Mappings:
      Namespace Name Mixin selector
      official h Lbiq;h(F)F
      intermediary method_5705 Lnet/minecraft/class_1297;method_5705(F)F
      named getYaw Lnet/minecraft/entity/Entity;getYaw(F)F
    • getHandSwingProgress

      public float getHandSwingProgress(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official x Lbjg;x(F)F
      intermediary method_6055 Lnet/minecraft/class_1309;method_6055(F)F
      named getHandSwingProgress Lnet/minecraft/entity/LivingEntity;getHandSwingProgress(F)F
    • 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 Entity
      Returns:
      whether the entity can be hit with a projectile or be targeted by the player crosshair
      Mappings:
      Namespace Name Mixin selector
      official br Lbiq;br()Z
      intermediary method_5863 Lnet/minecraft/class_1297;method_5863()Z
      named canHit Lnet/minecraft/entity/Entity;canHit()Z
    • isPushable

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

      public float getHeadYaw()
      Returns the head yaw of the entity.
      Overrides:
      getHeadYaw in class Entity
      Returns:
      the head yaw of the entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official co Lbiq;co()F
      intermediary method_5791 Lnet/minecraft/class_1297;method_5791()F
      named getHeadYaw Lnet/minecraft/entity/Entity;getHeadYaw()F
    • setHeadYaw

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

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

      protected Vec3d positionInPortal(Direction.Axis portalAxis, BlockLocating.Rectangle portalRect)
      Returns the entity's position in the portal after teleportation.
      Overrides:
      positionInPortal in class Entity
      Returns:
      the entity's position in the portal after teleportation
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Lha$a;Ll$a;)Lehn;
      intermediary method_30633 Lnet/minecraft/class_1297;method_30633(Lnet/minecraft/class_2350$class_2351;Lnet/minecraft/class_5459$class_5460;)Lnet/minecraft/class_243;
      named positionInPortal Lnet/minecraft/entity/Entity;positionInPortal(Lnet/minecraft/util/math/Direction$Axis;Lnet/minecraft/world/BlockLocating$Rectangle;)Lnet/minecraft/util/math/Vec3d;
    • positionInPortal

      public static Vec3d positionInPortal(Vec3d pos)
      Mappings:
      Namespace Name Mixin selector
      official i Lbjg;i(Lehn;)Lehn;
      intermediary method_31079 Lnet/minecraft/class_1309;method_31079(Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      named positionInPortal Lnet/minecraft/entity/LivingEntity;positionInPortal(Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
    • getAbsorptionAmount

      public float getAbsorptionAmount()
      Mappings:
      Namespace Name Mixin selector
      official fj Lbjg;fj()F
      intermediary method_6067 Lnet/minecraft/class_1309;method_6067()F
      named getAbsorptionAmount Lnet/minecraft/entity/LivingEntity;getAbsorptionAmount()F
    • setAbsorptionAmount

      public final void setAbsorptionAmount(float absorptionAmount)
      Mappings:
      Namespace Name Mixin selector
      official y Lbjg;y(F)V
      intermediary method_6073 Lnet/minecraft/class_1309;method_6073(F)V
      named setAbsorptionAmount Lnet/minecraft/entity/LivingEntity;setAbsorptionAmount(F)V
    • setAbsorptionAmountUnclamped

      protected void setAbsorptionAmountUnclamped(float absorptionAmount)
      Mappings:
      Namespace Name Mixin selector
      official z Lbjg;z(F)V
      intermediary method_52544 Lnet/minecraft/class_1309;method_52544(F)V
      named setAbsorptionAmountUnclamped Lnet/minecraft/entity/LivingEntity;setAbsorptionAmountUnclamped(F)V
    • enterCombat

      public void enterCombat()
      Mappings:
      Namespace Name Mixin selector
      official e_ Lbjg;e_()V
      intermediary method_6000 Lnet/minecraft/class_1309;method_6000()V
      named enterCombat Lnet/minecraft/entity/LivingEntity;enterCombat()V
    • endCombat

      public void endCombat()
      Mappings:
      Namespace Name Mixin selector
      official f_ Lbjg;f_()V
      intermediary method_6044 Lnet/minecraft/class_1309;method_6044()V
      named endCombat Lnet/minecraft/entity/LivingEntity;endCombat()V
    • markEffectsDirty

      protected void markEffectsDirty()
      Mappings:
      Namespace Name Mixin selector
      official fk Lbjg;fk()V
      intermediary method_6008 Lnet/minecraft/class_1309;method_6008()V
      named markEffectsDirty Lnet/minecraft/entity/LivingEntity;markEffectsDirty()V
    • getMainArm

      public abstract Arm getMainArm()
      Mappings:
      Namespace Name Mixin selector
      official fl Lbjg;fl()Lbja;
      intermediary method_6068 Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;
      named getMainArm Lnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
    • isUsingItem

      public boolean isUsingItem()
      Mappings:
      Namespace Name Mixin selector
      official fm Lbjg;fm()Z
      intermediary method_6115 Lnet/minecraft/class_1309;method_6115()Z
      named isUsingItem Lnet/minecraft/entity/LivingEntity;isUsingItem()Z
    • getActiveHand

      public Hand getActiveHand()
      Mappings:
      Namespace Name Mixin selector
      official fn Lbjg;fn()Lbgx;
      intermediary method_6058 Lnet/minecraft/class_1309;method_6058()Lnet/minecraft/class_1268;
      named getActiveHand Lnet/minecraft/entity/LivingEntity;getActiveHand()Lnet/minecraft/util/Hand;
    • tickActiveItemStack

      private void tickActiveItemStack()
      Mappings:
      Namespace Name Mixin selector
      official G Lbjg;G()V
      intermediary method_6076 Lnet/minecraft/class_1309;method_6076()V
      named tickActiveItemStack Lnet/minecraft/entity/LivingEntity;tickActiveItemStack()V
    • tickItemStackUsage

      protected void tickItemStackUsage(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lcjf;)V
      intermediary method_37119 Lnet/minecraft/class_1309;method_37119(Lnet/minecraft/class_1799;)V
      named tickItemStackUsage Lnet/minecraft/entity/LivingEntity;tickItemStackUsage(Lnet/minecraft/item/ItemStack;)V
    • shouldSpawnConsumptionEffects

      private boolean shouldSpawnConsumptionEffects()
      Mappings:
      Namespace Name Mixin selector
      official I Lbjg;I()Z
      intermediary method_22382 Lnet/minecraft/class_1309;method_22382()Z
      named shouldSpawnConsumptionEffects Lnet/minecraft/entity/LivingEntity;shouldSpawnConsumptionEffects()Z
    • updateLeaningPitch

      private void updateLeaningPitch()
      Mappings:
      Namespace Name Mixin selector
      official K Lbjg;K()V
      intermediary method_6072 Lnet/minecraft/class_1309;method_6072()V
      named updateLeaningPitch Lnet/minecraft/entity/LivingEntity;updateLeaningPitch()V
    • setLivingFlag

      protected void setLivingFlag(int mask, boolean value)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(IZ)V
      intermediary method_6085 Lnet/minecraft/class_1309;method_6085(IZ)V
      named setLivingFlag Lnet/minecraft/entity/LivingEntity;setLivingFlag(IZ)V
    • setCurrentHand

      public void setCurrentHand(Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official c Lbjg;c(Lbgx;)V
      intermediary method_6019 Lnet/minecraft/class_1309;method_6019(Lnet/minecraft/class_1268;)V
      named setCurrentHand Lnet/minecraft/entity/LivingEntity;setCurrentHand(Lnet/minecraft/util/Hand;)V
    • 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.

      Overrides:
      onTrackedDataSet in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Laee;)V
      intermediary method_5674 Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • lookAt

      public void lookAt(EntityAnchorArgumentType.EntityAnchor anchorPoint, Vec3d target)
      Changes this entity's pitch and yaw to look at target.
      Overrides:
      lookAt in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Led$a;Lehn;)V
      intermediary method_5702 Lnet/minecraft/class_1297;method_5702(Lnet/minecraft/class_2183$class_2184;Lnet/minecraft/class_243;)V
      named lookAt Lnet/minecraft/entity/Entity;lookAt(Lnet/minecraft/command/argument/EntityAnchorArgumentType$EntityAnchor;Lnet/minecraft/util/math/Vec3d;)V
    • spawnConsumptionEffects

      protected void spawnConsumptionEffects(ItemStack stack, int particleCount)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lcjf;I)V
      intermediary method_6098 Lnet/minecraft/class_1309;method_6098(Lnet/minecraft/class_1799;I)V
      named spawnConsumptionEffects Lnet/minecraft/entity/LivingEntity;spawnConsumptionEffects(Lnet/minecraft/item/ItemStack;I)V
    • spawnItemParticles

      private void spawnItemParticles(ItemStack stack, int count)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lcjf;I)V
      intermediary method_6037 Lnet/minecraft/class_1309;method_6037(Lnet/minecraft/class_1799;I)V
      named spawnItemParticles Lnet/minecraft/entity/LivingEntity;spawnItemParticles(Lnet/minecraft/item/ItemStack;I)V
    • consumeItem

      protected void consumeItem()
      Mappings:
      Namespace Name Mixin selector
      official ad_ Lbjg;ad_()V
      intermediary method_6040 Lnet/minecraft/class_1309;method_6040()V
      named consumeItem Lnet/minecraft/entity/LivingEntity;consumeItem()V
    • getActiveItem

      public ItemStack getActiveItem()
      Mappings:
      Namespace Name Mixin selector
      official fo Lbjg;fo()Lcjf;
      intermediary method_6030 Lnet/minecraft/class_1309;method_6030()Lnet/minecraft/class_1799;
      named getActiveItem Lnet/minecraft/entity/LivingEntity;getActiveItem()Lnet/minecraft/item/ItemStack;
    • getItemUseTimeLeft

      public int getItemUseTimeLeft()
      Mappings:
      Namespace Name Mixin selector
      official fp Lbjg;fp()I
      intermediary method_6014 Lnet/minecraft/class_1309;method_6014()I
      named getItemUseTimeLeft Lnet/minecraft/entity/LivingEntity;getItemUseTimeLeft()I
    • getItemUseTime

      public int getItemUseTime()
      Mappings:
      Namespace Name Mixin selector
      official fq Lbjg;fq()I
      intermediary method_6048 Lnet/minecraft/class_1309;method_6048()I
      named getItemUseTime Lnet/minecraft/entity/LivingEntity;getItemUseTime()I
    • stopUsingItem

      public void stopUsingItem()
      Mappings:
      Namespace Name Mixin selector
      official fr Lbjg;fr()V
      intermediary method_6075 Lnet/minecraft/class_1309;method_6075()V
      named stopUsingItem Lnet/minecraft/entity/LivingEntity;stopUsingItem()V
    • clearActiveItem

      public void clearActiveItem()
      Mappings:
      Namespace Name Mixin selector
      official fs Lbjg;fs()V
      intermediary method_6021 Lnet/minecraft/class_1309;method_6021()V
      named clearActiveItem Lnet/minecraft/entity/LivingEntity;clearActiveItem()V
    • isBlocking

      public boolean isBlocking()
      Mappings:
      Namespace Name Mixin selector
      official ft Lbjg;ft()Z
      intermediary method_6039 Lnet/minecraft/class_1309;method_6039()Z
      named isBlocking Lnet/minecraft/entity/LivingEntity;isBlocking()Z
    • isHoldingOntoLadder

      public boolean isHoldingOntoLadder()
      Returns:
      true if this entity should not lose height while in a climbing state
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official fu Lbjg;fu()Z
      intermediary method_21754 Lnet/minecraft/class_1309;method_21754()Z
      named isHoldingOntoLadder Lnet/minecraft/entity/LivingEntity;isHoldingOntoLadder()Z
    • isFallFlying

      public boolean isFallFlying()
      Mappings:
      Namespace Name Mixin selector
      official fv Lbjg;fv()Z
      intermediary method_6128 Lnet/minecraft/class_1309;method_6128()Z
      named isFallFlying Lnet/minecraft/entity/LivingEntity;isFallFlying()Z
    • isInSwimmingPose

      public boolean isInSwimmingPose()
      Returns whether the entity is in swimming pose.

      This includes crawling entities and entities using elytra that aren't fall-flying. Players start crawling if they would otherwise collide with blocks (for example, when the player is in a 1 block tall tunnel).

      Overrides:
      isInSwimmingPose in class Entity
      Returns:
      whether the entity is in swimming pose
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbiq;bZ()Z
      intermediary method_20232 Lnet/minecraft/class_1297;method_20232()Z
      named isInSwimmingPose Lnet/minecraft/entity/Entity;isInSwimmingPose()Z
    • getRoll

      public int getRoll()
      Mappings:
      Namespace Name Mixin selector
      official fw Lbjg;fw()I
      intermediary method_6003 Lnet/minecraft/class_1309;method_6003()I
      named getRoll Lnet/minecraft/entity/LivingEntity;getRoll()I
    • teleport

      public boolean teleport(double x, double y, double z, boolean particleEffects)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(DDDZ)Z
      intermediary method_6082 Lnet/minecraft/class_1309;method_6082(DDDZ)Z
      named teleport Lnet/minecraft/entity/LivingEntity;teleport(DDDZ)Z
    • isAffectedBySplashPotions

      public boolean isAffectedBySplashPotions()
      Mappings:
      Namespace Name Mixin selector
      official fx Lbjg;fx()Z
      intermediary method_6086 Lnet/minecraft/class_1309;method_6086()Z
      named isAffectedBySplashPotions Lnet/minecraft/entity/LivingEntity;isAffectedBySplashPotions()Z
    • isMobOrPlayer

      public boolean isMobOrPlayer()
      Mappings:
      Namespace Name Mixin selector
      official fy Lbjg;fy()Z
      intermediary method_6102 Lnet/minecraft/class_1309;method_6102()Z
      named isMobOrPlayer Lnet/minecraft/entity/LivingEntity;isMobOrPlayer()Z
    • setNearbySongPlaying

      public void setNearbySongPlaying(BlockPos songPosition, boolean playing)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lgw;Z)V
      intermediary method_6006 Lnet/minecraft/class_1309;method_6006(Lnet/minecraft/class_2338;Z)V
      named setNearbySongPlaying Lnet/minecraft/entity/LivingEntity;setNearbySongPlaying(Lnet/minecraft/util/math/BlockPos;Z)V
    • canEquip

      public boolean canEquip(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official f Lbjg;f(Lcjf;)Z
      intermediary method_18397 Lnet/minecraft/class_1309;method_18397(Lnet/minecraft/class_1799;)Z
      named canEquip Lnet/minecraft/entity/LivingEntity;canEquip(Lnet/minecraft/item/ItemStack;)Z
    • getDimensions

      public EntityDimensions getDimensions(EntityPose pose)
      Returns the dimensions of the entity with the given pose.
      Overrides:
      getDimensions in class Entity
      Returns:
      the dimensions of the entity with the given pose
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Lbjs;)Lbir;
      intermediary method_18377 Lnet/minecraft/class_1297;method_18377(Lnet/minecraft/class_4050;)Lnet/minecraft/class_4048;
      named getDimensions Lnet/minecraft/entity/Entity;getDimensions(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/entity/EntityDimensions;
    • getPoses

      public ImmutableList<EntityPose> getPoses()
      Mappings:
      Namespace Name Mixin selector
      official fz Lbjg;fz()Lcom/google/common/collect/ImmutableList;
      intermediary method_24831 Lnet/minecraft/class_1309;method_24831()Lcom/google/common/collect/ImmutableList;
      named getPoses Lnet/minecraft/entity/LivingEntity;getPoses()Lcom/google/common/collect/ImmutableList;
    • getBoundingBox

      public Box getBoundingBox(EntityPose pose)
      Mappings:
      Namespace Name Mixin selector
      official e Lbjg;e(Lbjs;)Lehi;
      intermediary method_24833 Lnet/minecraft/class_1309;method_24833(Lnet/minecraft/class_4050;)Lnet/minecraft/class_238;
      named getBoundingBox Lnet/minecraft/entity/LivingEntity;getBoundingBox(Lnet/minecraft/entity/EntityPose;)Lnet/minecraft/util/math/Box;
    • wouldNotSuffocateInPose

      protected boolean wouldNotSuffocateInPose(EntityPose pose)
      Mappings:
      Namespace Name Mixin selector
      official f Lbjg;f(Lbjs;)Z
      intermediary method_52542 Lnet/minecraft/class_1309;method_52542(Lnet/minecraft/class_4050;)Z
      named wouldNotSuffocateInPose Lnet/minecraft/entity/LivingEntity;wouldNotSuffocateInPose(Lnet/minecraft/entity/EntityPose;)Z
    • canUsePortals

      public boolean canUsePortals()
      Returns whether the entity can use nether portals and end portals.

      EnderDragonEntity, WitherEntity, and FishingBobberEntity cannot use portals.

      Overrides:
      canUsePortals in class Entity
      Returns:
      whether the entity can use nether portals and end portals
      Mappings:
      Namespace Name Mixin selector
      official cs Lbiq;cs()Z
      intermediary method_5822 Lnet/minecraft/class_1297;method_5822()Z
      named canUsePortals Lnet/minecraft/entity/Entity;canUsePortals()Z
    • getSleepingPosition

      public Optional<BlockPos> getSleepingPosition()
      Mappings:
      Namespace Name Mixin selector
      official fA Lbjg;fA()Ljava/util/Optional;
      intermediary method_18398 Lnet/minecraft/class_1309;method_18398()Ljava/util/Optional;
      named getSleepingPosition Lnet/minecraft/entity/LivingEntity;getSleepingPosition()Ljava/util/Optional;
    • setSleepingPosition

      public void setSleepingPosition(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official g Lbjg;g(Lgw;)V
      intermediary method_18402 Lnet/minecraft/class_1309;method_18402(Lnet/minecraft/class_2338;)V
      named setSleepingPosition Lnet/minecraft/entity/LivingEntity;setSleepingPosition(Lnet/minecraft/util/math/BlockPos;)V
    • clearSleepingPosition

      public void clearSleepingPosition()
      Mappings:
      Namespace Name Mixin selector
      official fB Lbjg;fB()V
      intermediary method_18399 Lnet/minecraft/class_1309;method_18399()V
      named clearSleepingPosition Lnet/minecraft/entity/LivingEntity;clearSleepingPosition()V
    • isSleeping

      public boolean isSleeping()
      Mappings:
      Namespace Name Mixin selector
      official fC Lbjg;fC()Z
      intermediary method_6113 Lnet/minecraft/class_1309;method_6113()Z
      named isSleeping Lnet/minecraft/entity/LivingEntity;isSleeping()Z
    • sleep

      public void sleep(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lgw;)V
      intermediary method_18403 Lnet/minecraft/class_1309;method_18403(Lnet/minecraft/class_2338;)V
      named sleep Lnet/minecraft/entity/LivingEntity;sleep(Lnet/minecraft/util/math/BlockPos;)V
    • setPositionInBed

      private void setPositionInBed(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lgw;)V
      intermediary method_18392 Lnet/minecraft/class_1309;method_18392(Lnet/minecraft/class_2338;)V
      named setPositionInBed Lnet/minecraft/entity/LivingEntity;setPositionInBed(Lnet/minecraft/util/math/BlockPos;)V
    • isSleepingInBed

      private boolean isSleepingInBed()
      Mappings:
      Namespace Name Mixin selector
      official L Lbjg;L()Z
      intermediary method_18406 Lnet/minecraft/class_1309;method_18406()Z
      named isSleepingInBed Lnet/minecraft/entity/LivingEntity;isSleepingInBed()Z
    • wakeUp

      public void wakeUp()
      Wakes this entity up.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official fD Lbjg;fD()V
      intermediary method_18400 Lnet/minecraft/class_1309;method_18400()V
      named wakeUp Lnet/minecraft/entity/LivingEntity;wakeUp()V
    • getSleepingDirection

      @Nullable public @Nullable Direction getSleepingDirection()
      Mappings:
      Namespace Name Mixin selector
      official fE Lbjg;fE()Lha;
      intermediary method_18401 Lnet/minecraft/class_1309;method_18401()Lnet/minecraft/class_2350;
      named getSleepingDirection Lnet/minecraft/entity/LivingEntity;getSleepingDirection()Lnet/minecraft/util/math/Direction;
    • isInsideWall

      public boolean isInsideWall()
      Returns whether the entity is in a wall and should suffocate.

      This returns false if Entity.noClip is true; otherwise, this returns true if the eye position is occupied by a block that can suffocate.

      Overrides:
      isInsideWall in class Entity
      Returns:
      whether the entity is in a wall and should suffocate
      Mappings:
      Namespace Name Mixin selector
      official bw Lbiq;bw()Z
      intermediary method_5757 Lnet/minecraft/class_1297;method_5757()Z
      named isInsideWall Lnet/minecraft/entity/Entity;isInsideWall()Z
    • getEyeHeight

      protected final float getEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getEyeHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Lbjs;Lbir;)F
      intermediary method_18378 Lnet/minecraft/class_1297;method_18378(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getEyeHeight Lnet/minecraft/entity/Entity;getEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Mappings:
      Namespace Name Mixin selector
      official b Lbjg;b(Lbjs;Lbir;)F
      intermediary method_18394 Lnet/minecraft/class_1309;method_18394(Lnet/minecraft/class_4050;Lnet/minecraft/class_4048;)F
      named getActiveEyeHeight Lnet/minecraft/entity/LivingEntity;getActiveEyeHeight(Lnet/minecraft/entity/EntityPose;Lnet/minecraft/entity/EntityDimensions;)F
    • getProjectileType

      public ItemStack getProjectileType(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official g Lbjg;g(Lcjf;)Lcjf;
      intermediary method_18808 Lnet/minecraft/class_1309;method_18808(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      named getProjectileType Lnet/minecraft/entity/LivingEntity;getProjectileType(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • eatFood

      public ItemStack eatFood(World world, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lcpv;Lcjf;)Lcjf;
      intermediary method_18866 Lnet/minecraft/class_1309;method_18866(Lnet/minecraft/class_1937;Lnet/minecraft/class_1799;)Lnet/minecraft/class_1799;
      named eatFood Lnet/minecraft/entity/LivingEntity;eatFood(Lnet/minecraft/world/World;Lnet/minecraft/item/ItemStack;)Lnet/minecraft/item/ItemStack;
    • applyFoodEffects

      private void applyFoodEffects(ItemStack stack, World world, LivingEntity targetEntity)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lcjf;Lcpv;Lbjg;)V
      intermediary method_18865 Lnet/minecraft/class_1309;method_18865(Lnet/minecraft/class_1799;Lnet/minecraft/class_1937;Lnet/minecraft/class_1309;)V
      named applyFoodEffects Lnet/minecraft/entity/LivingEntity;applyFoodEffects(Lnet/minecraft/item/ItemStack;Lnet/minecraft/world/World;Lnet/minecraft/entity/LivingEntity;)V
    • getEquipmentBreakStatus

      private static byte getEquipmentBreakStatus(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official g Lbjg;g(Lbiv;)B
      intermediary method_20237 Lnet/minecraft/class_1309;method_20237(Lnet/minecraft/class_1304;)B
      named getEquipmentBreakStatus Lnet/minecraft/entity/LivingEntity;getEquipmentBreakStatus(Lnet/minecraft/entity/EquipmentSlot;)B
    • sendEquipmentBreakStatus

      public void sendEquipmentBreakStatus(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbiv;)V
      intermediary method_20235 Lnet/minecraft/class_1309;method_20235(Lnet/minecraft/class_1304;)V
      named sendEquipmentBreakStatus Lnet/minecraft/entity/LivingEntity;sendEquipmentBreakStatus(Lnet/minecraft/entity/EquipmentSlot;)V
    • sendToolBreakStatus

      public void sendToolBreakStatus(Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official d Lbjg;d(Lbgx;)V
      intermediary method_20236 Lnet/minecraft/class_1309;method_20236(Lnet/minecraft/class_1268;)V
      named sendToolBreakStatus Lnet/minecraft/entity/LivingEntity;sendToolBreakStatus(Lnet/minecraft/util/Hand;)V
    • getVisibilityBoundingBox

      public Box getVisibilityBoundingBox()
      Overrides:
      getVisibilityBoundingBox in class Entity
      Mappings:
      Namespace Name Mixin selector
      official g_ Lbiq;g_()Lehi;
      intermediary method_5830 Lnet/minecraft/class_1297;method_5830()Lnet/minecraft/class_238;
      named getVisibilityBoundingBox Lnet/minecraft/entity/Entity;getVisibilityBoundingBox()Lnet/minecraft/util/math/Box;
    • getPreferredEquipmentSlot

      public static EquipmentSlot getPreferredEquipmentSlot(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official h Lbjg;h(Lcjf;)Lbiv;
      intermediary method_32326 Lnet/minecraft/class_1309;method_32326(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1304;
      named getPreferredEquipmentSlot Lnet/minecraft/entity/LivingEntity;getPreferredEquipmentSlot(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/entity/EquipmentSlot;
    • getStackReference

      private static StackReference getStackReference(LivingEntity entity, EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(Lbjg;Lbiv;)Lbjy;
      intermediary method_32321 Lnet/minecraft/class_1309;method_32321(Lnet/minecraft/class_1309;Lnet/minecraft/class_1304;)Lnet/minecraft/class_5630;
      named getStackReference Lnet/minecraft/entity/LivingEntity;getStackReference(Lnet/minecraft/entity/LivingEntity;Lnet/minecraft/entity/EquipmentSlot;)Lnet/minecraft/inventory/StackReference;
    • getEquipmentSlot

      @Nullable private static @Nullable EquipmentSlot getEquipmentSlot(int slotId)
      Mappings:
      Namespace Name Mixin selector
      official r Lbjg;r(I)Lbiv;
      intermediary method_32322 Lnet/minecraft/class_1309;method_32322(I)Lnet/minecraft/class_1304;
      named getEquipmentSlot Lnet/minecraft/entity/LivingEntity;getEquipmentSlot(I)Lnet/minecraft/entity/EquipmentSlot;
    • getStackReference

      public StackReference getStackReference(int mappedIndex)
      Obtains a stack reference to be modified. Used by commands like /loot or /item.
      Overrides:
      getStackReference in class Entity
      Parameters:
      mappedIndex - the mapped index as given by the item slot argument
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a_ Lbiq;a_(I)Lbjy;
      intermediary method_32318 Lnet/minecraft/class_1297;method_32318(I)Lnet/minecraft/class_5630;
      named getStackReference Lnet/minecraft/entity/Entity;getStackReference(I)Lnet/minecraft/inventory/StackReference;
    • canFreeze

      public boolean canFreeze()
      Returns whether the entity can freeze.
      Overrides:
      canFreeze in class Entity
      Returns:
      whether the entity can freeze
      Mappings:
      Namespace Name Mixin selector
      official dz Lbiq;dz()Z
      intermediary method_32316 Lnet/minecraft/class_1297;method_32316()Z
      named canFreeze Lnet/minecraft/entity/Entity;canFreeze()Z
    • isGlowing

      public boolean isGlowing()
      Returns whether the entity is glowing, checking the entity flags on the client.

      Glowing entities have an outline when rendered.

      Overrides:
      isGlowing in class Entity
      Returns:
      whether the entity is glowing, checking the entity flags on the client
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cc Lbiq;cc()Z
      intermediary method_5851 Lnet/minecraft/class_1297;method_5851()Z
      named isGlowing Lnet/minecraft/entity/Entity;isGlowing()Z
    • getBodyYaw

      public float getBodyYaw()
      Returns the body yaw of the entity.
      Overrides:
      getBodyYaw in class Entity
      Returns:
      the body yaw of the entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official dC Lbiq;dC()F
      intermediary method_43078 Lnet/minecraft/class_1297;method_43078()F
      named getBodyYaw Lnet/minecraft/entity/Entity;getBodyYaw()F
    • onSpawnPacket

      public void onSpawnPacket(EntitySpawnS2CPacket packet)
      Called on the client when the entity receives a spawn packet.

      This sets the entity's position, angles, ID, and UUID. Subclasses can override this to initialize additional fields.

      Overrides:
      onSpawnPacket in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lbiq;a(Lwx;)V
      intermediary method_31471 Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)V
      named onSpawnPacket Lnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
    • disablesShield

      public boolean disablesShield()
      Mappings:
      Namespace Name Mixin selector
      official fF Lbjg;fF()Z
      intermediary method_42149 Lnet/minecraft/class_1309;method_42149()Z
      named disablesShield Lnet/minecraft/entity/LivingEntity;disablesShield()Z
    • getStepHeight

      public float getStepHeight()
      Overrides:
      getStepHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official dF Lbiq;dF()F
      intermediary method_49476 Lnet/minecraft/class_1297;method_49476()F
      named getStepHeight Lnet/minecraft/entity/Entity;getStepHeight()F
    • getPassengerRidingPos

      public Vec3d getPassengerRidingPos(Entity passenger)
      Overrides:
      getPassengerRidingPos in class Entity
      Mappings:
      Namespace Name Mixin selector
      official m Lbiq;m(Lbiq;)Lehn;
      intermediary method_52538 Lnet/minecraft/class_1297;method_52538(Lnet/minecraft/class_1297;)Lnet/minecraft/class_243;
      named getPassengerRidingPos Lnet/minecraft/entity/Entity;getPassengerRidingPos(Lnet/minecraft/entity/Entity;)Lnet/minecraft/util/math/Vec3d;
    • getRidingOffset

      public float getRidingOffset(Entity vehicle)
      Overrides:
      getRidingOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      official k Lbiq;k(Lbiq;)F
      intermediary method_52536 Lnet/minecraft/class_1297;method_52536(Lnet/minecraft/class_1297;)F
      named getRidingOffset Lnet/minecraft/entity/Entity;getRidingOffset(Lnet/minecraft/entity/Entity;)F
    • method_52539

      protected void method_52539(int int2, double double2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbjg;a(ID)V
      intermediary method_52539 Lnet/minecraft/class_1309;method_52539(ID)V
      named method_52539 Lnet/minecraft/entity/LivingEntity;method_52539(ID)V