Class MobEntity

All Implemented Interfaces:
CommandOutput, Nameable, EntityLike
Direct Known Subclasses:
AmbientEntity, EnderDragonEntity, FlyingEntity, PathAwareEntity, SlimeEntity

public abstract class MobEntity extends LivingEntity
Mappings:
Namespace Name
official atv
intermediary net/minecraft/class_1308
named net/minecraft/entity/mob/MobEntity
  • Field Details

    • MOB_FLAGS

      private static final TrackedData<Byte> MOB_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b:Lwf;
      intermediary field_6193 Lnet/minecraft/class_1308;field_6193:Lnet/minecraft/class_2940;
      named MOB_FLAGS Lnet/minecraft/entity/mob/MobEntity;MOB_FLAGS:Lnet/minecraft/entity/data/TrackedData;
    • AI_DISABLED_FLAG

      private static final int AI_DISABLED_FLAG
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Latv;c:I
      intermediary field_30088 Lnet/minecraft/class_1308;field_30088:I
      named AI_DISABLED_FLAG Lnet/minecraft/entity/mob/MobEntity;AI_DISABLED_FLAG:I
    • LEFT_HANDED_FLAG

      private static final int LEFT_HANDED_FLAG
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official d Latv;d:I
      intermediary field_30089 Lnet/minecraft/class_1308;field_30089:I
      named LEFT_HANDED_FLAG Lnet/minecraft/entity/mob/MobEntity;LEFT_HANDED_FLAG:I
    • ATTACKING_FLAG

      private static final int ATTACKING_FLAG
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official e Latv;e:I
      intermediary field_30090 Lnet/minecraft/class_1308;field_30090:I
      named ATTACKING_FLAG Lnet/minecraft/entity/mob/MobEntity;ATTACKING_FLAG:I
    • field_30091

      public static final float field_30091
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official f Latv;f:F
      intermediary field_30091 Lnet/minecraft/class_1308;field_30091:F
      named field_30091 Lnet/minecraft/entity/mob/MobEntity;field_30091:F
    • field_30083

      public static final float field_30083
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official bE Latv;bE:F
      intermediary field_30083 Lnet/minecraft/class_1308;field_30083:F
      named field_30083 Lnet/minecraft/entity/mob/MobEntity;field_30083:F
    • field_30084

      public static final float field_30084
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official bF Latv;bF:F
      intermediary field_30084 Lnet/minecraft/class_1308;field_30084:F
      named field_30084 Lnet/minecraft/entity/mob/MobEntity;field_30084:F
    • field_30085

      public static final float field_30085
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official bG Latv;bG:F
      intermediary field_30085 Lnet/minecraft/class_1308;field_30085:F
      named field_30085 Lnet/minecraft/entity/mob/MobEntity;field_30085:F
    • LEASH_KEY

      public static final String LEASH_KEY
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official bH Latv;bH:Ljava/lang/String;
      intermediary field_30086 Lnet/minecraft/class_1308;field_30086:Ljava/lang/String;
      named LEASH_KEY Lnet/minecraft/entity/mob/MobEntity;LEASH_KEY:Ljava/lang/String;
    • field_30087

      private static final int field_30087
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official bS Latv;bS:I
      intermediary field_30087 Lnet/minecraft/class_1308;field_30087:I
      named field_30087 Lnet/minecraft/entity/mob/MobEntity;field_30087:I
    • ambientSoundChance

      public int ambientSoundChance
      Mappings:
      Namespace Name Mixin selector
      official bI Latv;bI:I
      intermediary field_6191 Lnet/minecraft/class_1308;field_6191:I
      named ambientSoundChance Lnet/minecraft/entity/mob/MobEntity;ambientSoundChance:I
    • experiencePoints

      protected int experiencePoints
      Mappings:
      Namespace Name Mixin selector
      official bJ Latv;bJ:I
      intermediary field_6194 Lnet/minecraft/class_1308;field_6194:I
      named experiencePoints Lnet/minecraft/entity/mob/MobEntity;experiencePoints:I
    • lookControl

      protected LookControl lookControl
      Mappings:
      Namespace Name Mixin selector
      official bK Latv;bK:Layr;
      intermediary field_6206 Lnet/minecraft/class_1308;field_6206:Lnet/minecraft/class_1333;
      named lookControl Lnet/minecraft/entity/mob/MobEntity;lookControl:Lnet/minecraft/entity/ai/control/LookControl;
    • moveControl

      protected MoveControl moveControl
      Mappings:
      Namespace Name Mixin selector
      official bL Latv;bL:Lays;
      intermediary field_6207 Lnet/minecraft/class_1308;field_6207:Lnet/minecraft/class_1335;
      named moveControl Lnet/minecraft/entity/mob/MobEntity;moveControl:Lnet/minecraft/entity/ai/control/MoveControl;
    • jumpControl

      protected JumpControl jumpControl
      Mappings:
      Namespace Name Mixin selector
      official bM Latv;bM:Layq;
      intermediary field_6204 Lnet/minecraft/class_1308;field_6204:Lnet/minecraft/class_1334;
      named jumpControl Lnet/minecraft/entity/mob/MobEntity;jumpControl:Lnet/minecraft/entity/ai/control/JumpControl;
    • bodyControl

      private final BodyControl bodyControl
      Mappings:
      Namespace Name Mixin selector
      official bT Latv;bT:Layn;
      intermediary field_6188 Lnet/minecraft/class_1308;field_6188:Lnet/minecraft/class_1330;
      named bodyControl Lnet/minecraft/entity/mob/MobEntity;bodyControl:Lnet/minecraft/entity/ai/control/BodyControl;
    • goalSelector

      protected final GoalSelector goalSelector
      Mappings:
      Namespace Name Mixin selector
      official bO Latv;bO:Lazp;
      intermediary field_6201 Lnet/minecraft/class_1308;field_6201:Lnet/minecraft/class_1355;
      named goalSelector Lnet/minecraft/entity/mob/MobEntity;goalSelector:Lnet/minecraft/entity/ai/goal/GoalSelector;
    • targetSelector

      protected final GoalSelector targetSelector
      Mappings:
      Namespace Name Mixin selector
      official bP Latv;bP:Lazp;
      intermediary field_6185 Lnet/minecraft/class_1308;field_6185:Lnet/minecraft/class_1355;
      named targetSelector Lnet/minecraft/entity/mob/MobEntity;targetSelector:Lnet/minecraft/entity/ai/goal/GoalSelector;
    • target

      private LivingEntity target
      Mappings:
      Namespace Name Mixin selector
      official bU Latv;bU:Latt;
      intermediary field_6199 Lnet/minecraft/class_1308;field_6199:Lnet/minecraft/class_1309;
      named target Lnet/minecraft/entity/mob/MobEntity;target:Lnet/minecraft/entity/LivingEntity;
    • visibilityCache

      private final MobVisibilityCache visibilityCache
      Mappings:
      Namespace Name Mixin selector
      official bV Latv;bV:Lbcs;
      intermediary field_6190 Lnet/minecraft/class_1308;field_6190:Lnet/minecraft/class_1413;
      named visibilityCache Lnet/minecraft/entity/mob/MobEntity;visibilityCache:Lnet/minecraft/entity/mob/MobVisibilityCache;
    • handItems

      private final DefaultedList<ItemStack> handItems
      Mappings:
      Namespace Name Mixin selector
      official bW Latv;bW:Lgs;
      intermediary field_6195 Lnet/minecraft/class_1308;field_6195:Lnet/minecraft/class_2371;
      named handItems Lnet/minecraft/entity/mob/MobEntity;handItems:Lnet/minecraft/util/collection/DefaultedList;
    • handDropChances

      protected final float[] handDropChances
      Mappings:
      Namespace Name Mixin selector
      official bQ Latv;bQ:[F
      intermediary field_6187 Lnet/minecraft/class_1308;field_6187:[F
      named handDropChances Lnet/minecraft/entity/mob/MobEntity;handDropChances:[F
    • armorItems

      private final DefaultedList<ItemStack> armorItems
      Mappings:
      Namespace Name Mixin selector
      official bX Latv;bX:Lgs;
      intermediary field_6205 Lnet/minecraft/class_1308;field_6205:Lnet/minecraft/class_2371;
      named armorItems Lnet/minecraft/entity/mob/MobEntity;armorItems:Lnet/minecraft/util/collection/DefaultedList;
    • armorDropChances

      protected final float[] armorDropChances
      Mappings:
      Namespace Name Mixin selector
      official bR Latv;bR:[F
      intermediary field_6186 Lnet/minecraft/class_1308;field_6186:[F
      named armorDropChances Lnet/minecraft/entity/mob/MobEntity;armorDropChances:[F
    • pickUpLoot

      private boolean pickUpLoot
      Mappings:
      Namespace Name Mixin selector
      official bY Latv;bY:Z
      intermediary field_6203 Lnet/minecraft/class_1308;field_6203:Z
      named pickUpLoot Lnet/minecraft/entity/mob/MobEntity;pickUpLoot:Z
    • persistent

      private boolean persistent
      Mappings:
      Namespace Name Mixin selector
      official bZ Latv;bZ:Z
      intermediary field_6200 Lnet/minecraft/class_1308;field_6200:Z
      named persistent Lnet/minecraft/entity/mob/MobEntity;persistent:Z
    • pathfindingPenalties

      private final Map<PathNodeType,​Float> pathfindingPenalties
      Mappings:
      Namespace Name Mixin selector
      official ca Latv;ca:Ljava/util/Map;
      intermediary field_6196 Lnet/minecraft/class_1308;field_6196:Ljava/util/Map;
      named pathfindingPenalties Lnet/minecraft/entity/mob/MobEntity;pathfindingPenalties:Ljava/util/Map;
    • lootTable

      private Identifier lootTable
      Mappings:
      Namespace Name Mixin selector
      official cb Latv;cb:Lww;
      intermediary field_6198 Lnet/minecraft/class_1308;field_6198:Lnet/minecraft/class_2960;
      named lootTable Lnet/minecraft/entity/mob/MobEntity;lootTable:Lnet/minecraft/util/Identifier;
    • lootTableSeed

      private long lootTableSeed
      Mappings:
      Namespace Name Mixin selector
      official cc Latv;cc:J
      intermediary field_6184 Lnet/minecraft/class_1308;field_6184:J
      named lootTableSeed Lnet/minecraft/entity/mob/MobEntity;lootTableSeed:J
    • holdingEntity

      @Nullable private @Nullable Entity holdingEntity
      Mappings:
      Namespace Name Mixin selector
      official cd Latv;cd:Latf;
      intermediary field_6202 Lnet/minecraft/class_1308;field_6202:Lnet/minecraft/class_1297;
      named holdingEntity Lnet/minecraft/entity/mob/MobEntity;holdingEntity:Lnet/minecraft/entity/Entity;
    • holdingEntityId

      private int holdingEntityId
      Mappings:
      Namespace Name Mixin selector
      official ce Latv;ce:I
      intermediary field_18279 Lnet/minecraft/class_1308;field_18279:I
      named holdingEntityId Lnet/minecraft/entity/mob/MobEntity;holdingEntityId:I
    • leashNbt

      @Nullable private @Nullable NbtCompound leashNbt
      Mappings:
      Namespace Name Mixin selector
      official cf Latv;cf:Lna;
      intermediary field_6192 Lnet/minecraft/class_1308;field_6192:Lnet/minecraft/class_2487;
      named leashNbt Lnet/minecraft/entity/mob/MobEntity;leashNbt:Lnet/minecraft/nbt/NbtCompound;
    • positionTarget

      private BlockPos positionTarget
      Mappings:
      Namespace Name Mixin selector
      official cg Latv;cg:Lgg;
      intermediary field_18074 Lnet/minecraft/class_1308;field_18074:Lnet/minecraft/class_2338;
      named positionTarget Lnet/minecraft/entity/mob/MobEntity;positionTarget:Lnet/minecraft/util/math/BlockPos;
    • positionTargetRange

      private float positionTargetRange
      Mappings:
      Namespace Name Mixin selector
      official ch Latv;ch:F
      intermediary field_18075 Lnet/minecraft/class_1308;field_18075:F
      named positionTargetRange Lnet/minecraft/entity/mob/MobEntity;positionTargetRange:F
  • Constructor Details

    • MobEntity

      protected MobEntity(EntityType<? extends MobEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Latf;<init>(Latj;Lbwp;)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

    • initGoals

      protected void initGoals()
      Mappings:
      Namespace Name Mixin selector
      official v Latv;v()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
    • createMobAttributes

      public static DefaultAttributeContainer.Builder createMobAttributes()
      Mappings:
      Namespace Name Mixin selector
      official w Latv;w()Laut$a;
      intermediary method_26828 Lnet/minecraft/class_1308;method_26828()Lnet/minecraft/class_5132$class_5133;
      named createMobAttributes Lnet/minecraft/entity/mob/MobEntity;createMobAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbwp;)Lbbz;
      intermediary method_5965 Lnet/minecraft/class_1308;method_5965(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1408;
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
    • movesIndependently

      protected boolean movesIndependently()
      When true, causes this entity to take over pathfinding for its controlling passenger.
      Mappings:
      Namespace Name Mixin selector
      official x Latv;x()Z
      intermediary method_26323 Lnet/minecraft/class_1308;method_26323()Z
      named movesIndependently Lnet/minecraft/entity/mob/MobEntity;movesIndependently()Z
    • getPathfindingPenalty

      public float getPathfindingPenalty(PathNodeType nodeType)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Ldgw;)F
      intermediary method_5944 Lnet/minecraft/class_1308;method_5944(Lnet/minecraft/class_7;)F
      named getPathfindingPenalty Lnet/minecraft/entity/mob/MobEntity;getPathfindingPenalty(Lnet/minecraft/entity/ai/pathing/PathNodeType;)F
    • setPathfindingPenalty

      public void setPathfindingPenalty(PathNodeType nodeType, float penalty)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Ldgw;F)V
      intermediary method_5941 Lnet/minecraft/class_1308;method_5941(Lnet/minecraft/class_7;F)V
      named setPathfindingPenalty Lnet/minecraft/entity/mob/MobEntity;setPathfindingPenalty(Lnet/minecraft/entity/ai/pathing/PathNodeType;F)V
    • canJumpToNextPathNode

      public boolean canJumpToNextPathNode(PathNodeType type)
      Returns if this entity can jump to the next node in path given the type of the node.
      Returns:
      if this entity can jump to the next node in path given the type of the node
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Ldgw;)Z
      intermediary method_29244 Lnet/minecraft/class_1308;method_29244(Lnet/minecraft/class_7;)Z
      named canJumpToNextPathNode Lnet/minecraft/entity/mob/MobEntity;canJumpToNextPathNode(Lnet/minecraft/entity/ai/pathing/PathNodeType;)Z
    • createBodyControl

      protected BodyControl createBodyControl()
      Mappings:
      Namespace Name Mixin selector
      official z Latv;z()Layn;
      intermediary method_5963 Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
      named createBodyControl Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
    • getLookControl

      public LookControl getLookControl()
      Mappings:
      Namespace Name Mixin selector
      official A Latv;A()Layr;
      intermediary method_5988 Lnet/minecraft/class_1308;method_5988()Lnet/minecraft/class_1333;
      named getLookControl Lnet/minecraft/entity/mob/MobEntity;getLookControl()Lnet/minecraft/entity/ai/control/LookControl;
    • getMoveControl

      public MoveControl getMoveControl()
      Mappings:
      Namespace Name Mixin selector
      official B Latv;B()Lays;
      intermediary method_5962 Lnet/minecraft/class_1308;method_5962()Lnet/minecraft/class_1335;
      named getMoveControl Lnet/minecraft/entity/mob/MobEntity;getMoveControl()Lnet/minecraft/entity/ai/control/MoveControl;
    • getJumpControl

      public JumpControl getJumpControl()
      Mappings:
      Namespace Name Mixin selector
      official D Latv;D()Layq;
      intermediary method_5993 Lnet/minecraft/class_1308;method_5993()Lnet/minecraft/class_1334;
      named getJumpControl Lnet/minecraft/entity/mob/MobEntity;getJumpControl()Lnet/minecraft/entity/ai/control/JumpControl;
    • getNavigation

      public EntityNavigation getNavigation()
      Mappings:
      Namespace Name Mixin selector
      official F Latv;F()Lbbz;
      intermediary method_5942 Lnet/minecraft/class_1308;method_5942()Lnet/minecraft/class_1408;
      named getNavigation Lnet/minecraft/entity/mob/MobEntity;getNavigation()Lnet/minecraft/entity/ai/pathing/EntityNavigation;
    • getVisibilityCache

      public MobVisibilityCache getVisibilityCache()
      Mappings:
      Namespace Name Mixin selector
      official G Latv;G()Lbcs;
      intermediary method_5985 Lnet/minecraft/class_1308;method_5985()Lnet/minecraft/class_1413;
      named getVisibilityCache Lnet/minecraft/entity/mob/MobEntity;getVisibilityCache()Lnet/minecraft/entity/mob/MobVisibilityCache;
    • getTarget

      @Nullable public @Nullable LivingEntity getTarget()
      Mappings:
      Namespace Name Mixin selector
      official H Latv;H()Latt;
      intermediary method_5968 Lnet/minecraft/class_1308;method_5968()Lnet/minecraft/class_1309;
      named getTarget Lnet/minecraft/entity/mob/MobEntity;getTarget()Lnet/minecraft/entity/LivingEntity;
    • setTarget

      public void setTarget(@Nullable @Nullable LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official h Latv;h(Latt;)V
      intermediary method_5980 Lnet/minecraft/class_1308;method_5980(Lnet/minecraft/class_1309;)V
      named setTarget Lnet/minecraft/entity/mob/MobEntity;setTarget(Lnet/minecraft/entity/LivingEntity;)V
    • canTarget

      public boolean canTarget(EntityType<?> type)
      Overrides:
      canTarget in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latt;a(Latj;)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
    • canUseRangedWeapon

      public boolean canUseRangedWeapon(RangedWeaponItem weapon)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbrd;)Z
      intermediary method_25938 Lnet/minecraft/class_1308;method_25938(Lnet/minecraft/class_1811;)Z
      named canUseRangedWeapon Lnet/minecraft/entity/mob/MobEntity;canUseRangedWeapon(Lnet/minecraft/item/RangedWeaponItem;)Z
    • onEatingGrass

      public void onEatingGrass()
      Mappings:
      Namespace Name Mixin selector
      official I Latv;I()V
      intermediary method_5983 Lnet/minecraft/class_1308;method_5983()V
      named onEatingGrass Lnet/minecraft/entity/mob/MobEntity;onEatingGrass()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Latf;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • getMinAmbientSoundDelay

      public int getMinAmbientSoundDelay()
      Mappings:
      Namespace Name Mixin selector
      official J Latv;J()I
      intermediary method_5970 Lnet/minecraft/class_1308;method_5970()I
      named getMinAmbientSoundDelay Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
    • playAmbientSound

      public void playAmbientSound()
      Mappings:
      Namespace Name Mixin selector
      official K Latv;K()V
      intermediary method_5966 Lnet/minecraft/class_1308;method_5966()V
      named playAmbientSound Lnet/minecraft/entity/mob/MobEntity;playAmbientSound()V
    • baseTick

      public void baseTick()
      Overrides:
      baseTick in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ai Latf;ai()V
      intermediary method_5670 Lnet/minecraft/class_1297;method_5670()V
      named baseTick Lnet/minecraft/entity/Entity;baseTick()V
    • playHurtSound

      protected void playHurtSound(DamageSource source)
      Overrides:
      playHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Latt;d(Lasp;)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
    • resetSoundDelay

      private void resetSoundDelay()
      Mappings:
      Namespace Name Mixin selector
      official n Latv;n()V
      intermediary method_5975 Lnet/minecraft/class_1308;method_5975()V
      named resetSoundDelay Lnet/minecraft/entity/mob/MobEntity;resetSoundDelay()V
    • getXpToDrop

      protected int getXpToDrop(PlayerEntity player)
      Called when this entity is killed and returns the amount of experience to drop.

      player may be null if shouldAlwaysDropXp() returns true.

      Overrides:
      getXpToDrop in class LivingEntity
      Parameters:
      player - the attacking player
      See Also:
      LivingEntity.dropXp(), LivingEntity.shouldAlwaysDropXp(), LivingEntity.shouldDropXp()
      Mappings:
      Namespace Name Mixin selector
      official d Latt;d(Lbkd;)I
      intermediary method_6110 Lnet/minecraft/class_1309;method_6110(Lnet/minecraft/class_1657;)I
      named getXpToDrop Lnet/minecraft/entity/LivingEntity;getXpToDrop(Lnet/minecraft/entity/player/PlayerEntity;)I
    • playSpawnEffects

      public void playSpawnEffects()
      Mappings:
      Namespace Name Mixin selector
      official L Latv;L()V
      intermediary method_5990 Lnet/minecraft/class_1308;method_5990()V
      named playSpawnEffects Lnet/minecraft/entity/mob/MobEntity;playSpawnEffects()V
    • handleStatus

      public void handleStatus(byte status)
      Overrides:
      handleStatus in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(B)V
      intermediary method_5711 Lnet/minecraft/class_1297;method_5711(B)V
      named handleStatus Lnet/minecraft/entity/Entity;handleStatus(B)V
    • tick

      public void tick()
      Overrides:
      tick in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official k Latf;k()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      named tick Lnet/minecraft/entity/Entity;tick()V
    • updateGoalControls

      protected void updateGoalControls()
      Mappings:
      Namespace Name Mixin selector
      official M Latv;M()V
      intermediary method_20417 Lnet/minecraft/class_1308;method_20417()V
      named updateGoalControls Lnet/minecraft/entity/mob/MobEntity;updateGoalControls()V
    • turnHead

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

      @Nullable protected @Nullable SoundEvent getAmbientSound()
      Mappings:
      Namespace Name Mixin selector
      official q Latv;q()Lafd;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latf;b(Lna;)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)
      Overrides:
      readCustomDataFromNbt in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lna;)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
    • dropLoot

      protected void dropLoot(DamageSource source, boolean causedByPlayer)
      Overrides:
      dropLoot in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latt;a(Lasp;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
    • getLootContextBuilder

      protected LootContext.Builder getLootContextBuilder(boolean causedByPlayer, DamageSource source)
      Overrides:
      getLootContextBuilder in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latt;a(ZLasp;)Ldip$a;
      intermediary method_16079 Lnet/minecraft/class_1309;method_16079(ZLnet/minecraft/class_1282;)Lnet/minecraft/class_47$class_48;
      named getLootContextBuilder Lnet/minecraft/entity/LivingEntity;getLootContextBuilder(ZLnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/loot/context/LootContext$Builder;
    • getLootTable

      public final Identifier getLootTable()
      Overrides:
      getLootTable in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dZ Latt;dZ()Lww;
      intermediary method_5989 Lnet/minecraft/class_1309;method_5989()Lnet/minecraft/class_2960;
      named getLootTable Lnet/minecraft/entity/LivingEntity;getLootTable()Lnet/minecraft/util/Identifier;
    • getLootTableId

      protected Identifier getLootTableId()
      Mappings:
      Namespace Name Mixin selector
      official N Latv;N()Lww;
      intermediary method_5991 Lnet/minecraft/class_1308;method_5991()Lnet/minecraft/class_2960;
      named getLootTableId Lnet/minecraft/entity/mob/MobEntity;getLootTableId()Lnet/minecraft/util/Identifier;
    • setForwardSpeed

      public void setForwardSpeed(float forwardSpeed)
      Mappings:
      Namespace Name Mixin selector
      official u Latv;u(F)V
      intermediary method_5930 Lnet/minecraft/class_1308;method_5930(F)V
      named setForwardSpeed Lnet/minecraft/entity/mob/MobEntity;setForwardSpeed(F)V
    • setUpwardSpeed

      public void setUpwardSpeed(float upwardSpeed)
      Mappings:
      Namespace Name Mixin selector
      official v Latv;v(F)V
      intermediary method_5976 Lnet/minecraft/class_1308;method_5976(F)V
      named setUpwardSpeed Lnet/minecraft/entity/mob/MobEntity;setUpwardSpeed(F)V
    • setSidewaysSpeed

      public void setSidewaysSpeed(float sidewaysMovement)
      Mappings:
      Namespace Name Mixin selector
      official w Latv;w(F)V
      intermediary method_5938 Lnet/minecraft/class_1308;method_5938(F)V
      named setSidewaysSpeed Lnet/minecraft/entity/mob/MobEntity;setSidewaysSpeed(F)V
    • setMovementSpeed

      public void setMovementSpeed(float movementSpeed)
      Overrides:
      setMovementSpeed in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official r Latt;r(F)V
      intermediary method_6125 Lnet/minecraft/class_1309;method_6125(F)V
      named setMovementSpeed Lnet/minecraft/entity/LivingEntity;setMovementSpeed(F)V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official u_ Latt;u_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • loot

      protected void loot(ItemEntity item)
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Lbhc;)V
      intermediary method_5949 Lnet/minecraft/class_1308;method_5949(Lnet/minecraft/class_1542;)V
      named loot Lnet/minecraft/entity/mob/MobEntity;loot(Lnet/minecraft/entity/ItemEntity;)V
    • tryEquip

      public boolean tryEquip(ItemStack equipment)
      Mappings:
      Namespace Name Mixin selector
      official i Latv;i(Lbqp;)Z
      intermediary method_24523 Lnet/minecraft/class_1308;method_24523(Lnet/minecraft/class_1799;)Z
      named tryEquip Lnet/minecraft/entity/mob/MobEntity;tryEquip(Lnet/minecraft/item/ItemStack;)Z
    • equipLootStack

      protected void equipLootStack(EquipmentSlot slot, ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Latk;Lbqp;)V
      intermediary method_24834 Lnet/minecraft/class_1308;method_24834(Lnet/minecraft/class_1304;Lnet/minecraft/class_1799;)V
      named equipLootStack Lnet/minecraft/entity/mob/MobEntity;equipLootStack(Lnet/minecraft/entity/EquipmentSlot;Lnet/minecraft/item/ItemStack;)V
    • updateDropChances

      public void updateDropChances(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official d Latv;d(Latk;)V
      intermediary method_25939 Lnet/minecraft/class_1308;method_25939(Lnet/minecraft/class_1304;)V
      named updateDropChances Lnet/minecraft/entity/mob/MobEntity;updateDropChances(Lnet/minecraft/entity/EquipmentSlot;)V
    • prefersNewEquipment

      protected boolean prefersNewEquipment(ItemStack newStack, ItemStack oldStack)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbqp;Lbqp;)Z
      intermediary method_5955 Lnet/minecraft/class_1308;method_5955(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
      named prefersNewEquipment Lnet/minecraft/entity/mob/MobEntity;prefersNewEquipment(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
    • prefersNewDamageableItem

      public boolean prefersNewDamageableItem(ItemStack newStack, ItemStack oldStack)
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Lbqp;Lbqp;)Z
      intermediary method_26320 Lnet/minecraft/class_1308;method_26320(Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)Z
      named prefersNewDamageableItem Lnet/minecraft/entity/mob/MobEntity;prefersNewDamageableItem(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
    • canPickupItem

      public boolean canPickupItem(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official j Latv;j(Lbqp;)Z
      intermediary method_5939 Lnet/minecraft/class_1308;method_5939(Lnet/minecraft/class_1799;)Z
      named canPickupItem Lnet/minecraft/entity/mob/MobEntity;canPickupItem(Lnet/minecraft/item/ItemStack;)Z
    • canGather

      public boolean canGather(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      official k Latv;k(Lbqp;)Z
      intermediary method_20820 Lnet/minecraft/class_1308;method_20820(Lnet/minecraft/class_1799;)Z
      named canGather Lnet/minecraft/entity/mob/MobEntity;canGather(Lnet/minecraft/item/ItemStack;)Z
    • canImmediatelyDespawn

      public boolean canImmediatelyDespawn(double distanceSquared)
      Mappings:
      Namespace Name Mixin selector
      official h Latv;h(D)Z
      intermediary method_5974 Lnet/minecraft/class_1308;method_5974(D)Z
      named canImmediatelyDespawn Lnet/minecraft/entity/mob/MobEntity;canImmediatelyDespawn(D)Z
    • cannotDespawn

      public boolean cannotDespawn()
      Mappings:
      Namespace Name Mixin selector
      official O Latv;O()Z
      intermediary method_17326 Lnet/minecraft/class_1308;method_17326()Z
      named cannotDespawn Lnet/minecraft/entity/mob/MobEntity;cannotDespawn()Z
    • isDisallowedInPeaceful

      protected boolean isDisallowedInPeaceful()
      Mappings:
      Namespace Name Mixin selector
      official Q Latv;Q()Z
      intermediary method_23734 Lnet/minecraft/class_1308;method_23734()Z
      named isDisallowedInPeaceful Lnet/minecraft/entity/mob/MobEntity;isDisallowedInPeaceful()Z
    • checkDespawn

      public void checkDespawn()
      Overrides:
      checkDespawn in class Entity
      Mappings:
      Namespace Name Mixin selector
      official de Latf;de()V
      intermediary method_5982 Lnet/minecraft/class_1297;method_5982()V
      named checkDespawn Lnet/minecraft/entity/Entity;checkDespawn()V
    • tickNewAi

      protected final void tickNewAi()
      Overrides:
      tickNewAi in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ex Latt;ex()V
      intermediary method_6023 Lnet/minecraft/class_1309;method_6023()V
      named tickNewAi Lnet/minecraft/entity/LivingEntity;tickNewAi()V
    • sendAiDebugData

      protected void sendAiDebugData()
      Mappings:
      Namespace Name Mixin selector
      official R Latv;R()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
    • mobTick

      protected void mobTick()
      Mappings:
      Namespace Name Mixin selector
      official eX Latv;eX()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • getLookPitchSpeed

      public int getLookPitchSpeed()
      Mappings:
      Namespace Name Mixin selector
      official eY Latv;eY()I
      intermediary method_5978 Lnet/minecraft/class_1308;method_5978()I
      named getLookPitchSpeed Lnet/minecraft/entity/mob/MobEntity;getLookPitchSpeed()I
    • getBodyYawSpeed

      public int getBodyYawSpeed()
      Mappings:
      Namespace Name Mixin selector
      official eZ Latv;eZ()I
      intermediary method_5986 Lnet/minecraft/class_1308;method_5986()I
      named getBodyYawSpeed Lnet/minecraft/entity/mob/MobEntity;getBodyYawSpeed()I
    • getLookYawSpeed

      public int getLookYawSpeed()
      Mappings:
      Namespace Name Mixin selector
      official fa Latv;fa()I
      intermediary method_20240 Lnet/minecraft/class_1308;method_20240()I
      named getLookYawSpeed Lnet/minecraft/entity/mob/MobEntity;getLookYawSpeed()I
    • lookAtEntity

      public void lookAtEntity(Entity targetEntity, float maxYawChange, float maxPitchChange)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Latf;FF)V
      intermediary method_5951 Lnet/minecraft/class_1308;method_5951(Lnet/minecraft/class_1297;FF)V
      named lookAtEntity Lnet/minecraft/entity/mob/MobEntity;lookAtEntity(Lnet/minecraft/entity/Entity;FF)V
    • changeAngle

      private float changeAngle(float oldAngle, float newAngle, float maxChangeInAngle)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(FFF)F
      intermediary method_5960 Lnet/minecraft/class_1308;method_5960(FFF)F
      named changeAngle Lnet/minecraft/entity/mob/MobEntity;changeAngle(FFF)F
    • canMobSpawn

      public static boolean canMobSpawn(EntityType<? extends MobEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Latj;Lbwq;Latx;Lgg;Ljava/util/Random;)Z
      intermediary method_20636 Lnet/minecraft/class_1308;method_20636(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Ljava/util/Random;)Z
      named canMobSpawn Lnet/minecraft/entity/mob/MobEntity;canMobSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Ljava/util/Random;)Z
    • canSpawn

      public boolean canSpawn(WorldAccess world, SpawnReason spawnReason)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbwq;Latx;)Z
      intermediary method_5979 Lnet/minecraft/class_1308;method_5979(Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;)Z
      named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;)Z
    • canSpawn

      public boolean canSpawn(WorldView world)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbws;)Z
      intermediary method_5957 Lnet/minecraft/class_1308;method_5957(Lnet/minecraft/class_4538;)Z
      named canSpawn Lnet/minecraft/entity/mob/MobEntity;canSpawn(Lnet/minecraft/world/WorldView;)Z
    • getLimitPerChunk

      public int getLimitPerChunk()
      Mappings:
      Namespace Name Mixin selector
      official fb Latv;fb()I
      intermediary method_5945 Lnet/minecraft/class_1308;method_5945()I
      named getLimitPerChunk Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
    • spawnsTooManyForEachTry

      public boolean spawnsTooManyForEachTry(int count)
      Mappings:
      Namespace Name Mixin selector
      official c Latv;c(I)Z
      intermediary method_5969 Lnet/minecraft/class_1308;method_5969(I)Z
      named spawnsTooManyForEachTry Lnet/minecraft/entity/mob/MobEntity;spawnsTooManyForEachTry(I)Z
    • getSafeFallDistance

      public int getSafeFallDistance()
      Overrides:
      getSafeFallDistance in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ce Latf;ce()I
      intermediary method_5850 Lnet/minecraft/class_1297;method_5850()I
      named getSafeFallDistance Lnet/minecraft/entity/Entity;getSafeFallDistance()I
    • getItemsHand

      public Iterable<ItemStack> getItemsHand()
      Overrides:
      getItemsHand in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bw Latf;bw()Ljava/lang/Iterable;
      intermediary method_5877 Lnet/minecraft/class_1297;method_5877()Ljava/lang/Iterable;
      named getItemsHand Lnet/minecraft/entity/Entity;getItemsHand()Ljava/lang/Iterable;
    • getArmorItems

      public Iterable<ItemStack> getArmorItems()
      Specified by:
      getArmorItems in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bx Latf;bx()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 ItemStack getEquippedStack(EquipmentSlot slot)
      Specified by:
      getEquippedStack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Latt;b(Latk;)Lbqp;
      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 void equipStack(EquipmentSlot slot, ItemStack stack)
      Specified by:
      equipStack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Latk;Lbqp;)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
    • dropEquipment

      protected void dropEquipment(DamageSource source, int lootingMultiplier, boolean allowDrops)
      Overrides:
      dropEquipment in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Latt;a(Lasp;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
    • getDropChance

      protected float getDropChance(EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official e Latv;e(Latk;)F
      intermediary method_5929 Lnet/minecraft/class_1308;method_5929(Lnet/minecraft/class_1304;)F
      named getDropChance Lnet/minecraft/entity/mob/MobEntity;getDropChance(Lnet/minecraft/entity/EquipmentSlot;)F
    • initEquipment

      protected void initEquipment(LocalDifficulty difficulty)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lary;)V
      intermediary method_5964 Lnet/minecraft/class_1308;method_5964(Lnet/minecraft/class_1266;)V
      named initEquipment Lnet/minecraft/entity/mob/MobEntity;initEquipment(Lnet/minecraft/world/LocalDifficulty;)V
    • getEquipmentForSlot

      @Nullable public static @Nullable Item getEquipmentForSlot(EquipmentSlot equipmentSlot, int equipmentLevel)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Latk;I)Lbql;
      intermediary method_5948 Lnet/minecraft/class_1308;method_5948(Lnet/minecraft/class_1304;I)Lnet/minecraft/class_1792;
      named getEquipmentForSlot Lnet/minecraft/entity/mob/MobEntity;getEquipmentForSlot(Lnet/minecraft/entity/EquipmentSlot;I)Lnet/minecraft/item/Item;
    • updateEnchantments

      protected void updateEnchantments(LocalDifficulty difficulty)
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Lary;)V
      intermediary method_5984 Lnet/minecraft/class_1308;method_5984(Lnet/minecraft/class_1266;)V
      named updateEnchantments Lnet/minecraft/entity/mob/MobEntity;updateEnchantments(Lnet/minecraft/world/LocalDifficulty;)V
    • enchantMainHandItem

      protected void enchantMainHandItem(float power)
      Mappings:
      Namespace Name Mixin selector
      official x Latv;x(F)V
      intermediary method_30759 Lnet/minecraft/class_1308;method_30759(F)V
      named enchantMainHandItem Lnet/minecraft/entity/mob/MobEntity;enchantMainHandItem(F)V
    • enchantEquipment

      protected void enchantEquipment(float power, EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(FLatk;)V
      intermediary method_30758 Lnet/minecraft/class_1308;method_30758(FLnet/minecraft/class_1304;)V
      named enchantEquipment Lnet/minecraft/entity/mob/MobEntity;enchantEquipment(FLnet/minecraft/entity/EquipmentSlot;)V
    • initialize

      @Nullable public @Nullable EntityData initialize(ServerWorldAccess world, LocalDifficulty difficulty, SpawnReason spawnReason, @Nullable @Nullable EntityData entityData, @Nullable @Nullable NbtCompound entityNbt)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbxd;Lary;Latx;Laul;Lna;)Laul;
      intermediary method_5943 Lnet/minecraft/class_1308;method_5943(Lnet/minecraft/class_5425;Lnet/minecraft/class_1266;Lnet/minecraft/class_3730;Lnet/minecraft/class_1315;Lnet/minecraft/class_2487;)Lnet/minecraft/class_1315;
      named initialize Lnet/minecraft/entity/mob/MobEntity;initialize(Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/world/LocalDifficulty;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/entity/EntityData;Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/entity/EntityData;
    • canBeControlledByRider

      public boolean canBeControlledByRider()
      Mappings:
      Namespace Name Mixin selector
      official fc Latv;fc()Z
      intermediary method_5956 Lnet/minecraft/class_1308;method_5956()Z
      named canBeControlledByRider Lnet/minecraft/entity/mob/MobEntity;canBeControlledByRider()Z
    • setPersistent

      public void setPersistent()
      Mappings:
      Namespace Name Mixin selector
      official fd Latv;fd()V
      intermediary method_5971 Lnet/minecraft/class_1308;method_5971()V
      named setPersistent Lnet/minecraft/entity/mob/MobEntity;setPersistent()V
    • setEquipmentDropChance

      public void setEquipmentDropChance(EquipmentSlot slot, float chance)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Latk;F)V
      intermediary method_5946 Lnet/minecraft/class_1308;method_5946(Lnet/minecraft/class_1304;F)V
      named setEquipmentDropChance Lnet/minecraft/entity/mob/MobEntity;setEquipmentDropChance(Lnet/minecraft/entity/EquipmentSlot;F)V
    • canPickUpLoot

      public boolean canPickUpLoot()
      Mappings:
      Namespace Name Mixin selector
      official fe Latv;fe()Z
      intermediary method_5936 Lnet/minecraft/class_1308;method_5936()Z
      named canPickUpLoot Lnet/minecraft/entity/mob/MobEntity;canPickUpLoot()Z
    • setCanPickUpLoot

      public void setCanPickUpLoot(boolean pickUpLoot)
      Mappings:
      Namespace Name Mixin selector
      official r Latv;r(Z)V
      intermediary method_5952 Lnet/minecraft/class_1308;method_5952(Z)V
      named setCanPickUpLoot Lnet/minecraft/entity/mob/MobEntity;setCanPickUpLoot(Z)V
    • canEquip

      public boolean canEquip(ItemStack stack)
      Overrides:
      canEquip in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official f Latt;f(Lbqp;)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
    • isPersistent

      public boolean isPersistent()
      Mappings:
      Namespace Name Mixin selector
      official ff Latv;ff()Z
      intermediary method_5947 Lnet/minecraft/class_1308;method_5947()Z
      named isPersistent Lnet/minecraft/entity/mob/MobEntity;isPersistent()Z
    • interact

      public final ActionResult interact(PlayerEntity player, Hand hand)
      Called when a player interacts with this entity.
      Overrides:
      interact in class Entity
      Parameters:
      player - the player
      hand - the hand the player used to interact with this entity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Lbkd;Larz;)Lasa;
      intermediary method_5688 Lnet/minecraft/class_1297;method_5688(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interact Lnet/minecraft/entity/Entity;interact(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • interactWithItem

      private ActionResult interactWithItem(PlayerEntity player, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official c Latv;c(Lbkd;Larz;)Lasa;
      intermediary method_29506 Lnet/minecraft/class_1308;method_29506(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactWithItem Lnet/minecraft/entity/mob/MobEntity;interactWithItem(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • onPlayerSpawnedChild

      protected void onPlayerSpawnedChild(PlayerEntity player, MobEntity child)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbkd;Latv;)V
      intermediary method_18249 Lnet/minecraft/class_1308;method_18249(Lnet/minecraft/class_1657;Lnet/minecraft/class_1308;)V
      named onPlayerSpawnedChild Lnet/minecraft/entity/mob/MobEntity;onPlayerSpawnedChild(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/entity/mob/MobEntity;)V
    • interactMob

      protected ActionResult interactMob(PlayerEntity player, Hand hand)
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Lbkd;Larz;)Lasa;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
    • isInWalkTargetRange

      public boolean isInWalkTargetRange()
      Mappings:
      Namespace Name Mixin selector
      official fg Latv;fg()Z
      intermediary method_18411 Lnet/minecraft/class_1308;method_18411()Z
      named isInWalkTargetRange Lnet/minecraft/entity/mob/MobEntity;isInWalkTargetRange()Z
    • isInWalkTargetRange

      public boolean isInWalkTargetRange(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lgg;)Z
      intermediary method_18407 Lnet/minecraft/class_1308;method_18407(Lnet/minecraft/class_2338;)Z
      named isInWalkTargetRange Lnet/minecraft/entity/mob/MobEntity;isInWalkTargetRange(Lnet/minecraft/util/math/BlockPos;)Z
    • setPositionTarget

      public void setPositionTarget(BlockPos target, int range)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lgg;I)V
      intermediary method_18408 Lnet/minecraft/class_1308;method_18408(Lnet/minecraft/class_2338;I)V
      named setPositionTarget Lnet/minecraft/entity/mob/MobEntity;setPositionTarget(Lnet/minecraft/util/math/BlockPos;I)V
    • getPositionTarget

      public BlockPos getPositionTarget()
      Mappings:
      Namespace Name Mixin selector
      official fh Latv;fh()Lgg;
      intermediary method_18412 Lnet/minecraft/class_1308;method_18412()Lnet/minecraft/class_2338;
      named getPositionTarget Lnet/minecraft/entity/mob/MobEntity;getPositionTarget()Lnet/minecraft/util/math/BlockPos;
    • getPositionTargetRange

      public float getPositionTargetRange()
      Mappings:
      Namespace Name Mixin selector
      official fi Latv;fi()F
      intermediary method_18413 Lnet/minecraft/class_1308;method_18413()F
      named getPositionTargetRange Lnet/minecraft/entity/mob/MobEntity;getPositionTargetRange()F
    • method_35055

      public void method_35055()
      Mappings:
      Namespace Name Mixin selector
      official fj Latv;fj()V
      intermediary method_35055 Lnet/minecraft/class_1308;method_35055()V
      named method_35055 Lnet/minecraft/entity/mob/MobEntity;method_35055()V
    • hasPositionTarget

      public boolean hasPositionTarget()
      Mappings:
      Namespace Name Mixin selector
      official fk Latv;fk()Z
      intermediary method_18410 Lnet/minecraft/class_1308;method_18410()Z
      named hasPositionTarget Lnet/minecraft/entity/mob/MobEntity;hasPositionTarget()Z
    • convertTo

      @Nullable public <T extends MobEntity> T convertTo(EntityType<T> entityType, boolean keepEquipment)
      Converts this entity to the provided entityType.

      The new entity will keep many of the properties set for this entity, including its vehicle, its name and whether it is persistent or not.

      If keepEquipment is true, it will also keep its equipment.

      Parameters:
      entityType - the entity type to convert to
      keepEquipment - whether the equipment of this entity should be kept
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Latj;Z)Latv;
      intermediary method_29243 Lnet/minecraft/class_1308;method_29243(Lnet/minecraft/class_1299;Z)Lnet/minecraft/class_1308;
      named convertTo Lnet/minecraft/entity/mob/MobEntity;convertTo(Lnet/minecraft/entity/EntityType;Z)Lnet/minecraft/entity/mob/MobEntity;
    • updateLeash

      protected void updateLeash()
      Mappings:
      Namespace Name Mixin selector
      official fl Latv;fl()V
      intermediary method_5995 Lnet/minecraft/class_1308;method_5995()V
      named updateLeash Lnet/minecraft/entity/mob/MobEntity;updateLeash()V
    • detachLeash

      public void detachLeash(boolean sendPacket, boolean dropItem)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(ZZ)V
      intermediary method_5932 Lnet/minecraft/class_1308;method_5932(ZZ)V
      named detachLeash Lnet/minecraft/entity/mob/MobEntity;detachLeash(ZZ)V
    • canBeLeashedBy

      public boolean canBeLeashedBy(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbkd;)Z
      intermediary method_5931 Lnet/minecraft/class_1308;method_5931(Lnet/minecraft/class_1657;)Z
      named canBeLeashedBy Lnet/minecraft/entity/mob/MobEntity;canBeLeashedBy(Lnet/minecraft/entity/player/PlayerEntity;)Z
    • isLeashed

      public boolean isLeashed()
      Mappings:
      Namespace Name Mixin selector
      official fm Latv;fm()Z
      intermediary method_5934 Lnet/minecraft/class_1308;method_5934()Z
      named isLeashed Lnet/minecraft/entity/mob/MobEntity;isLeashed()Z
    • getHoldingEntity

      @Nullable public @Nullable Entity getHoldingEntity()
      Mappings:
      Namespace Name Mixin selector
      official fn Latv;fn()Latf;
      intermediary method_5933 Lnet/minecraft/class_1308;method_5933()Lnet/minecraft/class_1297;
      named getHoldingEntity Lnet/minecraft/entity/mob/MobEntity;getHoldingEntity()Lnet/minecraft/entity/Entity;
    • attachLeash

      public void attachLeash(Entity entity, boolean sendPacket)
      Mappings:
      Namespace Name Mixin selector
      official b Latv;b(Latf;Z)V
      intermediary method_5954 Lnet/minecraft/class_1308;method_5954(Lnet/minecraft/class_1297;Z)V
      named attachLeash Lnet/minecraft/entity/mob/MobEntity;attachLeash(Lnet/minecraft/entity/Entity;Z)V
    • setHoldingEntityId

      public void setHoldingEntityId(int id)
      Mappings:
      Namespace Name Mixin selector
      official d Latv;d(I)V
      intermediary method_18810 Lnet/minecraft/class_1308;method_18810(I)V
      named setHoldingEntityId Lnet/minecraft/entity/mob/MobEntity;setHoldingEntityId(I)V
    • startRiding

      public boolean startRiding(Entity entity, boolean force)
      Overrides:
      startRiding in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Latf;a(Latf;Z)Z
      intermediary method_5873 Lnet/minecraft/class_1297;method_5873(Lnet/minecraft/class_1297;Z)Z
      named startRiding Lnet/minecraft/entity/Entity;startRiding(Lnet/minecraft/entity/Entity;Z)Z
    • readLeashNbt

      private void readLeashNbt()
      Mappings:
      Namespace Name Mixin selector
      official ft Latv;ft()V
      intermediary method_5940 Lnet/minecraft/class_1308;method_5940()V
      named readLeashNbt Lnet/minecraft/entity/mob/MobEntity;readLeashNbt()V
    • isLogicalSideForUpdatingMovement

      public boolean isLogicalSideForUpdatingMovement()
      Overrides:
      isLogicalSideForUpdatingMovement in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cH Latf;cH()Z
      intermediary method_5787 Lnet/minecraft/class_1297;method_5787()Z
      named isLogicalSideForUpdatingMovement Lnet/minecraft/entity/Entity;isLogicalSideForUpdatingMovement()Z
    • canMoveVoluntarily

      public boolean canMoveVoluntarily()
      Overrides:
      canMoveVoluntarily in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eA Latt;eA()Z
      intermediary method_6034 Lnet/minecraft/class_1309;method_6034()Z
      named canMoveVoluntarily Lnet/minecraft/entity/LivingEntity;canMoveVoluntarily()Z
    • setAiDisabled

      public void setAiDisabled(boolean aiDisabled)
      Mappings:
      Namespace Name Mixin selector
      official s Latv;s(Z)V
      intermediary method_5977 Lnet/minecraft/class_1308;method_5977(Z)V
      named setAiDisabled Lnet/minecraft/entity/mob/MobEntity;setAiDisabled(Z)V
    • setLeftHanded

      public void setLeftHanded(boolean leftHanded)
      Mappings:
      Namespace Name Mixin selector
      official t Latv;t(Z)V
      intermediary method_5937 Lnet/minecraft/class_1308;method_5937(Z)V
      named setLeftHanded Lnet/minecraft/entity/mob/MobEntity;setLeftHanded(Z)V
    • setAttacking

      public void setAttacking(boolean attacking)
      Mappings:
      Namespace Name Mixin selector
      official u Latv;u(Z)V
      intermediary method_19540 Lnet/minecraft/class_1308;method_19540(Z)V
      named setAttacking Lnet/minecraft/entity/mob/MobEntity;setAttacking(Z)V
    • isAiDisabled

      public boolean isAiDisabled()
      Mappings:
      Namespace Name Mixin selector
      official fo Latv;fo()Z
      intermediary method_5987 Lnet/minecraft/class_1308;method_5987()Z
      named isAiDisabled Lnet/minecraft/entity/mob/MobEntity;isAiDisabled()Z
    • isLeftHanded

      public boolean isLeftHanded()
      Mappings:
      Namespace Name Mixin selector
      official fp Latv;fp()Z
      intermediary method_5961 Lnet/minecraft/class_1308;method_5961()Z
      named isLeftHanded Lnet/minecraft/entity/mob/MobEntity;isLeftHanded()Z
    • isAttacking

      public boolean isAttacking()
      Mappings:
      Namespace Name Mixin selector
      official fq Latv;fq()Z
      intermediary method_6510 Lnet/minecraft/class_1308;method_6510()Z
      named isAttacking Lnet/minecraft/entity/mob/MobEntity;isAttacking()Z
    • setBaby

      public void setBaby(boolean baby)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Z)V
      intermediary method_7217 Lnet/minecraft/class_1308;method_7217(Z)V
      named setBaby Lnet/minecraft/entity/mob/MobEntity;setBaby(Z)V
    • getMainArm

      public Arm getMainArm()
      Specified by:
      getMainArm in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eD Latt;eD()Lato;
      intermediary method_6068 Lnet/minecraft/class_1309;method_6068()Lnet/minecraft/class_1306;
      named getMainArm Lnet/minecraft/entity/LivingEntity;getMainArm()Lnet/minecraft/util/Arm;
    • squaredAttackRange

      public double squaredAttackRange(LivingEntity target)
      Mappings:
      Namespace Name Mixin selector
      official i Latv;i(Latt;)D
      intermediary method_33191 Lnet/minecraft/class_1308;method_33191(Lnet/minecraft/class_1309;)D
      named squaredAttackRange Lnet/minecraft/entity/mob/MobEntity;squaredAttackRange(Lnet/minecraft/entity/LivingEntity;)D
    • tryAttack

      public boolean tryAttack(Entity target)
      Overrides:
      tryAttack in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official z Latt;z(Latf;)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
    • disablePlayerShield

      private void disablePlayerShield(PlayerEntity player, ItemStack mobStack, ItemStack playerStack)
      Mappings:
      Namespace Name Mixin selector
      official a Latv;a(Lbkd;Lbqp;Lbqp;)V
      intermediary method_24521 Lnet/minecraft/class_1308;method_24521(Lnet/minecraft/class_1657;Lnet/minecraft/class_1799;Lnet/minecraft/class_1799;)V
      named disablePlayerShield Lnet/minecraft/entity/mob/MobEntity;disablePlayerShield(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)V
    • isAffectedByDaylight

      protected boolean isAffectedByDaylight()
      Mappings:
      Namespace Name Mixin selector
      official fr Latv;fr()Z
      intermediary method_5972 Lnet/minecraft/class_1308;method_5972()Z
      named isAffectedByDaylight Lnet/minecraft/entity/mob/MobEntity;isAffectedByDaylight()Z
    • swimUpward

      protected void swimUpward(Tag<Fluid> fluid)
      Overrides:
      swimUpward in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Latt;c(Laga;)V
      intermediary method_6010 Lnet/minecraft/class_1309;method_6010(Lnet/minecraft/class_3494;)V
      named swimUpward Lnet/minecraft/entity/LivingEntity;swimUpward(Lnet/minecraft/tag/Tag;)V
    • clearGoalsAndTasks

      public void clearGoalsAndTasks()
      Mappings:
      Namespace Name Mixin selector
      official fs Latv;fs()V
      intermediary method_35056 Lnet/minecraft/class_1308;method_35056()V
      named clearGoalsAndTasks Lnet/minecraft/entity/mob/MobEntity;clearGoalsAndTasks()V
    • removeFromDimension

      protected void removeFromDimension()
      Overrides:
      removeFromDimension in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cc Latf;cc()V
      intermediary method_30076 Lnet/minecraft/class_1297;method_30076()V
      named removeFromDimension Lnet/minecraft/entity/Entity;removeFromDimension()V
    • getPickBlockStack

      @Nullable public @Nullable ItemStack getPickBlockStack()
      Overrides:
      getPickBlockStack in class Entity
      Mappings:
      Namespace Name Mixin selector
      official df Latf;df()Lbqp;
      intermediary method_31480 Lnet/minecraft/class_1297;method_31480()Lnet/minecraft/class_1799;
      named getPickBlockStack Lnet/minecraft/entity/Entity;getPickBlockStack()Lnet/minecraft/item/ItemStack;