Class SnifferEntity

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

public class SnifferEntity extends AnimalEntity
Mappings:
Namespace Name
official cak
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 bZ Lcak;bZ: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 ca Lcak;ca: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 cb Lcak;cb: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 cc Lcak;cc: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 cd Lcak;cd: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 ce Lcak;ce: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 cf Lcak;cf:Lblw;
      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 cg Lcak;cg:Lagm;
      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 ch Lcak;ch:Lagm;
      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 Lcak;bT:Lblr;
      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 Lcak;bU:Lblr;
      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 Lcak;bW:Lblr;
      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 Lcak;bX:Lblr;
      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 Lcak;bY:Lblr;
      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;
  • Constructor Details

    • SnifferEntity

      public SnifferEntity(EntityType<? extends AnimalEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lblv;<init>(Lblz;Lctp;)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 u Lcak;u()Lbnq$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 Lbml;b(Lbmx;Lblw;)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 E Lbmn;E()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 G Lbmn;G()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 Lblv;a(Lbmx;)Lblw;
      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;
    • isSearching

      public boolean isSearching()
      Mappings:
      Namespace Name Mixin selector
      official w Lcak;w()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 A Lcak;A()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 ge Lcak;ge()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 gk Lcak;gk()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 gn Lcak;gn()Lhx;
      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 go Lcak;go()Lelt;
      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 gp Lcak;gp()Lcak$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 Lcak;b(Lcak$a;)Lcak;
      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 Lblv;a(Lagm;)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 gq Lcak;gq()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 Lcak;a(Lcak$a;)Lcak;
      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 gr Lcak;gr()Lcak;
      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 gs Lcak;gs()Lcak;
      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 w Lcak;w(Z)Lcak;
      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 gl Lcak;gl()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 gm Lcak;gm()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 Lcak;i(Lhx;)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 gt Lcak;gt()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 Lcak;a(Lblr;)Lcak;
      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 Lcak;j(Lhx;)Lcak;
      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 gu Lcak;gu()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 fb Lbml;fb()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 Lbxy;a(Land;Lbxy;)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 Lbml;a(Lbkt;)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 Lblv;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 Lbmn;b(Lcfi;Lbka;)Lbkb;
      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;
    • getPassengerAttachmentPos

      protected Vector3f getPassengerAttachmentPos(Entity passenger, EntityDimensions dimensions, float scaleFactor)
      Overrides:
      getPassengerAttachmentPos in class Entity
      Mappings:
      Namespace Name Mixin selector
      official a Lblv;a(Lblv;Lblw;F)Lorg/joml/Vector3f;
      intermediary method_52533 Lnet/minecraft/class_1297;method_52533(Lnet/minecraft/class_1297;Lnet/minecraft/class_4048;F)Lorg/joml/Vector3f;
      named getPassengerAttachmentPos Lnet/minecraft/entity/Entity;getPassengerAttachmentPos(Lnet/minecraft/entity/Entity;Lnet/minecraft/entity/EntityDimensions;F)Lorg/joml/Vector3f;
    • getNameLabelHeight

      public float getNameLabelHeight()
      Overrides:
      getNameLabelHeight in class Entity
      Mappings:
      Namespace Name Mixin selector
      official di Lblv;di()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 gv Lcak;gv()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 Lblv;b(Lhx;Ldjh;)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 Lbml;d(Lcmy;)Larr;
      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 y Lbmn;y()Larr;
      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 Lbml;d(Lbkt;)Larr;
      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 n_ Lbml;n_()Larr;
      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 ab Lbmn;ab()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 Lbmn;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 Lblq;a(Land;Lblq;)Lblq;
      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 Lbxy;a(Lbxy;)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 i_ Lblv;i_()Lelo;
      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 Lbxy;m(Lcmy;)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 Lbml;a(Lcom/mojang/serialization/Dynamic;)Lbnl;
      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 dO Lbml;dO()Lbnl;
      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 dP Lbml;dP()Lbnl$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 Z Lbmn;Z()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 Y Lbmn;Y()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V