Class SnifferEntity

All Implemented Interfaces:
Attackable, Targeter, CommandOutput, Nameable, EntityLike

public class SnifferEntity extends AnimalEntity
Mappings:
Namespace Name
official btv
intermediary net/minecraft/class_8153
named net/minecraft/entity/passive/SnifferEntity
  • Field Details

    • field_42656

      private static final int field_42656
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ca Lbtv;ca:I
      intermediary field_42656 Lnet/minecraft/class_8153;field_42656:I
      named field_42656 Lnet/minecraft/entity/passive/SnifferEntity;field_42656:I
    • field_42657

      private static final int field_42657
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cb Lbtv;cb:I
      intermediary field_42657 Lnet/minecraft/class_8153;field_42657:I
      named field_42657 Lnet/minecraft/entity/passive/SnifferEntity;field_42657:I
    • field_42658

      private static final int field_42658
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cc Lbtv;cc:I
      intermediary field_42658 Lnet/minecraft/class_8153;field_42658:I
      named field_42658 Lnet/minecraft/entity/passive/SnifferEntity;field_42658:I
    • field_42659

      private static final int field_42659
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cd Lbtv;cd:I
      intermediary field_42659 Lnet/minecraft/class_8153;field_42659:I
      named field_42659 Lnet/minecraft/entity/passive/SnifferEntity;field_42659:I
    • field_42661

      private static final int field_42661
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ce Lbtv;ce:I
      intermediary field_42661 Lnet/minecraft/class_8153;field_42661:I
      named field_42661 Lnet/minecraft/entity/passive/SnifferEntity;field_42661:I
    • field_44785

      private static final float field_44785
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cf Lbtv;cf:F
      intermediary field_44785 Lnet/minecraft/class_8153;field_44785:F
      named field_44785 Lnet/minecraft/entity/passive/SnifferEntity;field_44785:F
    • field_44786

      private static final EntityDimensions field_44786
      Mappings:
      Namespace Name Mixin selector
      official cg Lbtv;cg:Lbfi;
      intermediary field_44786 Lnet/minecraft/class_8153;field_44786:Lnet/minecraft/class_4048;
      named field_44786 Lnet/minecraft/entity/passive/SnifferEntity;field_44786:Lnet/minecraft/entity/EntityDimensions;
    • STATE

      private static final TrackedData<SnifferEntity.State> STATE
      Mappings:
      Namespace Name Mixin selector
      official ch Lbtv;ch:Laby;
      intermediary field_42662 Lnet/minecraft/class_8153;field_42662:Lnet/minecraft/class_2940;
      named STATE Lnet/minecraft/entity/passive/SnifferEntity;STATE:Lnet/minecraft/entity/data/TrackedData;
    • FINISH_DIG_TIME

      private static final TrackedData<Integer> FINISH_DIG_TIME
      Mappings:
      Namespace Name Mixin selector
      official ci Lbtv;ci:Laby;
      intermediary field_42663 Lnet/minecraft/class_8153;field_42663:Lnet/minecraft/class_2940;
      named FINISH_DIG_TIME Lnet/minecraft/entity/passive/SnifferEntity;FINISH_DIG_TIME:Lnet/minecraft/entity/data/TrackedData;
    • feelingHappyAnimationState

      public final AnimationState feelingHappyAnimationState
      Mappings:
      Namespace Name Mixin selector
      official bT Lbtv;bT:Lbfd;
      intermediary field_42650 Lnet/minecraft/class_8153;field_42650:Lnet/minecraft/class_7094;
      named feelingHappyAnimationState Lnet/minecraft/entity/passive/SnifferEntity;feelingHappyAnimationState:Lnet/minecraft/entity/AnimationState;
    • scentingAnimationState

      public final AnimationState scentingAnimationState
      Mappings:
      Namespace Name Mixin selector
      official bU Lbtv;bU:Lbfd;
      intermediary field_42651 Lnet/minecraft/class_8153;field_42651:Lnet/minecraft/class_7094;
      named scentingAnimationState Lnet/minecraft/entity/passive/SnifferEntity;scentingAnimationState:Lnet/minecraft/entity/AnimationState;
    • sniffingAnimationState

      public final AnimationState sniffingAnimationState
      Mappings:
      Namespace Name Mixin selector
      official bW Lbtv;bW:Lbfd;
      intermediary field_42652 Lnet/minecraft/class_8153;field_42652:Lnet/minecraft/class_7094;
      named sniffingAnimationState Lnet/minecraft/entity/passive/SnifferEntity;sniffingAnimationState:Lnet/minecraft/entity/AnimationState;
    • diggingAnimationState

      public final AnimationState diggingAnimationState
      Mappings:
      Namespace Name Mixin selector
      official bX Lbtv;bX:Lbfd;
      intermediary field_42654 Lnet/minecraft/class_8153;field_42654:Lnet/minecraft/class_7094;
      named diggingAnimationState Lnet/minecraft/entity/passive/SnifferEntity;diggingAnimationState:Lnet/minecraft/entity/AnimationState;
    • risingAnimationState

      public final AnimationState risingAnimationState
      Mappings:
      Namespace Name Mixin selector
      official bY Lbtv;bY:Lbfd;
      intermediary field_42655 Lnet/minecraft/class_8153;field_42655:Lnet/minecraft/class_7094;
      named risingAnimationState Lnet/minecraft/entity/passive/SnifferEntity;risingAnimationState:Lnet/minecraft/entity/AnimationState;
    • babyGrowthAnimationState

      public final AnimationState babyGrowthAnimationState
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbtv;bZ:Lbfd;
      intermediary field_43389 Lnet/minecraft/class_8153;field_43389:Lnet/minecraft/class_7094;
      named babyGrowthAnimationState Lnet/minecraft/entity/passive/SnifferEntity;babyGrowthAnimationState:Lnet/minecraft/entity/AnimationState;
  • Constructor Details

    • SnifferEntity

      public SnifferEntity(EntityType<? extends AnimalEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfh;<init>(Lbfl;Lcmk;)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

    • createSnifferAttributes

      public static DefaultAttributeContainer.Builder createSnifferAttributes()
      Mappings:
      Namespace Name Mixin selector
      official p Lbtv;p()Lbhd$a;
      intermediary method_49146 Lnet/minecraft/class_8153;method_49146()Lnet/minecraft/class_5132$class_5133;
      named createSnifferAttributes Lnet/minecraft/entity/passive/SnifferEntity;createSnifferAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • getActiveEyeHeight

      protected float getActiveEyeHeight(EntityPose pose, EntityDimensions dimensions)
      Overrides:
      getActiveEyeHeight in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbfx;b(Lbgj;Lbfi;)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
    • onStartPathfinding

      public void onStartPathfinding()
      Overrides:
      onStartPathfinding in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official z Lbfz;z()V
      intermediary method_51504 Lnet/minecraft/class_1308;method_51504()V
      named onStartPathfinding Lnet/minecraft/entity/mob/MobEntity;onStartPathfinding()V
    • onFinishPathfinding

      public void onFinishPathfinding()
      Overrides:
      onFinishPathfinding in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official A Lbfz;A()V
      intermediary method_51503 Lnet/minecraft/class_1308;method_51503()V
      named onFinishPathfinding Lnet/minecraft/entity/mob/MobEntity;onFinishPathfinding()V
    • getDimensions

      public EntityDimensions getDimensions(EntityPose pose)
      Returns the dimensions of the entity with the given pose.
      Overrides:
      getDimensions in class LivingEntity
      Returns:
      the dimensions of the entity with the given pose
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Lbgj;)Lbfi;
      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;
    • isPanicking

      public boolean isPanicking()
      Mappings:
      Namespace Name Mixin selector
      official q Lbtv;q()Z
      intermediary method_49147 Lnet/minecraft/class_8153;method_49147()Z
      named isPanicking Lnet/minecraft/entity/passive/SnifferEntity;isPanicking()Z
    • isSearching

      public boolean isSearching()
      Mappings:
      Namespace Name Mixin selector
      official t Lbtv;t()Z
      intermediary method_51301 Lnet/minecraft/class_8153;method_51301()Z
      named isSearching Lnet/minecraft/entity/passive/SnifferEntity;isSearching()Z
    • isTempted

      public boolean isTempted()
      Mappings:
      Namespace Name Mixin selector
      official fX Lbtv;fX()Z
      intermediary method_51158 Lnet/minecraft/class_8153;method_51158()Z
      named isTempted Lnet/minecraft/entity/passive/SnifferEntity;isTempted()Z
    • canTryToDig

      public boolean canTryToDig()
      Mappings:
      Namespace Name Mixin selector
      official gd Lbtv;gd()Z
      intermediary method_51155 Lnet/minecraft/class_8153;method_51155()Z
      named canTryToDig Lnet/minecraft/entity/passive/SnifferEntity;canTryToDig()Z
    • isDiggingOrSearching

      public boolean isDiggingOrSearching()
      Mappings:
      Namespace Name Mixin selector
      official ge Lbtv;ge()Z
      intermediary method_49150 Lnet/minecraft/class_8153;method_49150()Z
      named isDiggingOrSearching Lnet/minecraft/entity/passive/SnifferEntity;isDiggingOrSearching()Z
    • getDigPos

      private BlockPos getDigPos()
      Mappings:
      Namespace Name Mixin selector
      official gh Lbtv;gh()Lgu;
      intermediary method_51508 Lnet/minecraft/class_8153;method_51508()Lnet/minecraft/class_2338;
      named getDigPos Lnet/minecraft/entity/passive/SnifferEntity;getDigPos()Lnet/minecraft/util/math/BlockPos;
    • getDigLocation

      private Vec3d getDigLocation()
      Mappings:
      Namespace Name Mixin selector
      official gi Lbtv;gi()Leea;
      intermediary method_49137 Lnet/minecraft/class_8153;method_49137()Lnet/minecraft/class_243;
      named getDigLocation Lnet/minecraft/entity/passive/SnifferEntity;getDigLocation()Lnet/minecraft/util/math/Vec3d;
    • getState

      private SnifferEntity.State getState()
      Mappings:
      Namespace Name Mixin selector
      official gj Lbtv;gj()Lbtv$a;
      intermediary method_49138 Lnet/minecraft/class_8153;method_49138()Lnet/minecraft/class_8153$class_8154;
      named getState Lnet/minecraft/entity/passive/SnifferEntity;getState()Lnet/minecraft/entity/passive/SnifferEntity$State;
    • setState

      private SnifferEntity setState(SnifferEntity.State state)
      Mappings:
      Namespace Name Mixin selector
      official b Lbtv;b(Lbtv$a;)Lbtv;
      intermediary method_49133 Lnet/minecraft/class_8153;method_49133(Lnet/minecraft/class_8153$class_8154;)Lnet/minecraft/class_8153;
      named setState Lnet/minecraft/entity/passive/SnifferEntity;setState(Lnet/minecraft/entity/passive/SnifferEntity$State;)Lnet/minecraft/entity/passive/SnifferEntity;
    • 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 PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfh;a(Laby;)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
    • stopAnimations

      private void stopAnimations()
      Mappings:
      Namespace Name Mixin selector
      official gk Lbtv;gk()V
      intermediary method_49139 Lnet/minecraft/class_8153;method_49139()V
      named stopAnimations Lnet/minecraft/entity/passive/SnifferEntity;stopAnimations()V
    • startState

      public SnifferEntity startState(SnifferEntity.State state)
      Mappings:
      Namespace Name Mixin selector
      official a Lbtv;a(Lbtv$a;)Lbtv;
      intermediary method_49132 Lnet/minecraft/class_8153;method_49132(Lnet/minecraft/class_8153$class_8154;)Lnet/minecraft/class_8153;
      named startState Lnet/minecraft/entity/passive/SnifferEntity;startState(Lnet/minecraft/entity/passive/SnifferEntity$State;)Lnet/minecraft/entity/passive/SnifferEntity;
    • playScentingSound

      private SnifferEntity playScentingSound()
      Mappings:
      Namespace Name Mixin selector
      official gl Lbtv;gl()Lbtv;
      intermediary method_51156 Lnet/minecraft/class_8153;method_51156()Lnet/minecraft/class_8153;
      named playScentingSound Lnet/minecraft/entity/passive/SnifferEntity;playScentingSound()Lnet/minecraft/entity/passive/SnifferEntity;
    • setDigging

      private SnifferEntity setDigging()
      Mappings:
      Namespace Name Mixin selector
      official gm Lbtv;gm()Lbtv;
      intermediary method_49141 Lnet/minecraft/class_8153;method_49141()Lnet/minecraft/class_8153;
      named setDigging Lnet/minecraft/entity/passive/SnifferEntity;setDigging()Lnet/minecraft/entity/passive/SnifferEntity;
    • finishDigging

      public SnifferEntity finishDigging(boolean explored)
      Mappings:
      Namespace Name Mixin selector
      official x Lbtv;x(Z)Lbtv;
      intermediary method_49149 Lnet/minecraft/class_8153;method_49149(Z)Lnet/minecraft/class_8153;
      named finishDigging Lnet/minecraft/entity/passive/SnifferEntity;finishDigging(Z)Lnet/minecraft/entity/passive/SnifferEntity;
    • findSniffingTargetPos

      Optional<BlockPos> findSniffingTargetPos()
      Mappings:
      Namespace Name Mixin selector
      official gf Lbtv;gf()Ljava/util/Optional;
      intermediary method_49134 Lnet/minecraft/class_8153;method_49134()Ljava/util/Optional;
      named findSniffingTargetPos Lnet/minecraft/entity/passive/SnifferEntity;findSniffingTargetPos()Ljava/util/Optional;
    • canDig

      boolean canDig()
      Mappings:
      Namespace Name Mixin selector
      official gg Lbtv;gg()Z
      intermediary method_49135 Lnet/minecraft/class_8153;method_49135()Z
      named canDig Lnet/minecraft/entity/passive/SnifferEntity;canDig()Z
    • isDiggable

      private boolean isDiggable(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official i Lbtv;i(Lgu;)Z
      intermediary method_49140 Lnet/minecraft/class_8153;method_49140(Lnet/minecraft/class_2338;)Z
      named isDiggable Lnet/minecraft/entity/passive/SnifferEntity;isDiggable(Lnet/minecraft/util/math/BlockPos;)Z
    • dropSeeds

      private void dropSeeds()
      Mappings:
      Namespace Name Mixin selector
      official gn Lbtv;gn()V
      intermediary method_49142 Lnet/minecraft/class_8153;method_49142()V
      named dropSeeds Lnet/minecraft/entity/passive/SnifferEntity;dropSeeds()V
    • spawnDiggingParticles

      private SnifferEntity spawnDiggingParticles(AnimationState diggingAnimationState)
      Mappings:
      Namespace Name Mixin selector
      official a Lbtv;a(Lbfd;)Lbtv;
      intermediary method_49131 Lnet/minecraft/class_8153;method_49131(Lnet/minecraft/class_7094;)Lnet/minecraft/class_8153;
      named spawnDiggingParticles Lnet/minecraft/entity/passive/SnifferEntity;spawnDiggingParticles(Lnet/minecraft/entity/AnimationState;)Lnet/minecraft/entity/passive/SnifferEntity;
    • addExploredPosition

      private SnifferEntity addExploredPosition(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      official j Lbtv;j(Lgu;)Lbtv;
      intermediary method_49145 Lnet/minecraft/class_8153;method_49145(Lnet/minecraft/class_2338;)Lnet/minecraft/class_8153;
      named addExploredPosition Lnet/minecraft/entity/passive/SnifferEntity;addExploredPosition(Lnet/minecraft/util/math/BlockPos;)Lnet/minecraft/entity/passive/SnifferEntity;
    • getExploredPositions

      private Stream<GlobalPos> getExploredPositions()
      Mappings:
      Namespace Name Mixin selector
      official go Lbtv;go()Ljava/util/stream/Stream;
      intermediary method_49143 Lnet/minecraft/class_8153;method_49143()Ljava/util/stream/Stream;
      named getExploredPositions Lnet/minecraft/entity/passive/SnifferEntity;getExploredPositions()Ljava/util/stream/Stream;
    • jump

      protected void jump()
      Overrides:
      jump in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official eW Lbfx;eW()V
      intermediary method_6043 Lnet/minecraft/class_1309;method_6043()V
      named jump Lnet/minecraft/entity/LivingEntity;jump()V
    • breed

      public void breed(ServerWorld world, AnimalEntity other)
      Overrides:
      breed in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbrj;a(Laif;Lbrj;)V
      intermediary method_24650 Lnet/minecraft/class_1429;method_24650(Lnet/minecraft/class_3218;Lnet/minecraft/class_1429;)V
      named breed Lnet/minecraft/entity/passive/AnimalEntity;breed(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/AnimalEntity;)V
    • onDeath

      public void onDeath(DamageSource damageSource)
      Overrides:
      onDeath in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfx;a(Lbem;)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
    • tick

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

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lbfz;b(Lbym;Lbdv;)Lbdw;
      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;
    • getMountedHeightOffset

      public double getMountedHeightOffset()
      Overrides:
      getMountedHeightOffset in class Entity
      Mappings:
      Namespace Name Mixin selector
      official bw Lbfh;bw()D
      intermediary method_5621 Lnet/minecraft/class_1297;method_5621()D
      named getMountedHeightOffset Lnet/minecraft/entity/Entity;getMountedHeightOffset()D
    • getNameLabelHeight

      public float getNameLabelHeight()
      Overrides:
      getNameLabelHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official df Lbfh;df()F
      intermediary method_51152 Lnet/minecraft/class_1297;method_51152()F
      named getNameLabelHeight Lnet/minecraft/entity/Entity;getNameLabelHeight()F
    • playSearchingSound

      private void playSearchingSound()
      Mappings:
      Namespace Name Mixin selector
      official gp Lbtv;gp()V
      intermediary method_49144 Lnet/minecraft/class_8153;method_49144()V
      named playSearchingSound Lnet/minecraft/entity/passive/SnifferEntity;playSearchingSound()V
    • playStepSound

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      official b Lbfh;b(Lgu;Ldby;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
    • getEatSound

      public SoundEvent getEatSound(ItemStack stack)
      Overrides:
      getEatSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbfx;d(Lcfx;)Lamg;
      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;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Lbfz;r()Lamg;
      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;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official d Lbfx;d(Lbem;)Lamg;
      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

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official g_ Lbfx;g_()Lamg;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
    • getMaxHeadRotation

      public int getMaxHeadRotation()
      Returns the maximum degrees which the head yaw can differ from the body yaw.

      This is used by the body control.

      It can return from 1 for entities that can hardly rotate their head, like axolotls or dolphins, or 180 for entities that can freely rotate their head, like shulkers. The default return value is 75.

      Overrides:
      getMaxHeadRotation in class MobEntity
      Returns:
      the maximum degrees which the head yaw can differ from the body yaw
      Mappings:
      Namespace Name Mixin selector
      official X Lbfz;X()I
      intermediary method_5986 Lnet/minecraft/class_1308;method_5986()I
      named getMaxHeadRotation Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
    • setBaby

      public void setBaby(boolean baby)
      Overrides:
      setBaby in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfz;a(Z)V
      intermediary method_7217 Lnet/minecraft/class_1308;method_7217(Z)V
      named setBaby Lnet/minecraft/entity/mob/MobEntity;setBaby(Z)V
    • createChild

      public PassiveEntity createChild(ServerWorld world, PassiveEntity entity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfc;a(Laif;Lbfc;)Lbfc;
      intermediary method_5613 Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
      named createChild Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
    • canBreedWith

      public boolean canBreedWith(AnimalEntity other)
      Overrides:
      canBreedWith in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbrj;a(Lbrj;)Z
      intermediary method_6474 Lnet/minecraft/class_1429;method_6474(Lnet/minecraft/class_1429;)Z
      named canBreedWith Lnet/minecraft/entity/passive/AnimalEntity;canBreedWith(Lnet/minecraft/entity/passive/AnimalEntity;)Z
    • getVisibilityBoundingBox

      public Box getVisibilityBoundingBox()
      Overrides:
      getVisibilityBoundingBox in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official j_ Lbfh;j_()Ledv;
      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;
    • isBreedingItem

      public boolean isBreedingItem(ItemStack stack)
      Overrides:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official m Lbrj;m(Lcfx;)Z
      intermediary method_6481 Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
    • deserializeBrain

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lbfx;a(Lcom/mojang/serialization/Dynamic;)Lbgy;
      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;
    • getBrain

      public Brain<SnifferEntity> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dK Lbfx;dK()Lbgy;
      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<SnifferEntity> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dL Lbfx;dL()Lbgy$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;
    • mobTick

      protected void mobTick()
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      official V Lbfz;V()V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958()V
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick()V
    • sendAiDebugData

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official U Lbfz;U()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V