Class ArmadilloEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Leashable, Targeter, ScoreHolder, Nameable, EntityLike

public class ArmadilloEntity extends AnimalEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/ArmadilloEntity
intermediary net/minecraft/class_9069
official cii
  • Field Details Link icon

    • field_47778 Link icon

      public static final float field_47778
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_47778 Lnet/minecraft/entity/passive/ArmadilloEntity;field_47778:F
      intermediary field_47778 Lnet/minecraft/class_9069;field_47778:F
      official bY Lcii;bY:F
    • field_48332 Link icon

      public static final float field_48332
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48332 Lnet/minecraft/entity/passive/ArmadilloEntity;field_48332:F
      intermediary field_48332 Lnet/minecraft/class_9069;field_48332:F
      official bZ Lcii;bZ:F
    • field_47779 Link icon

      public static final int field_47779
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_47779 Lnet/minecraft/entity/passive/ArmadilloEntity;field_47779:I
      intermediary field_47779 Lnet/minecraft/class_9069;field_47779:I
      official ca Lcii;ca:I
    • field_48333 Link icon

      private static final double field_48333
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48333 Lnet/minecraft/entity/passive/ArmadilloEntity;field_48333:D
      intermediary field_48333 Lnet/minecraft/class_9069;field_48333:D
      official cf Lcii;cf:D
    • field_48334 Link icon

      private static final double field_48334
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_48334 Lnet/minecraft/entity/passive/ArmadilloEntity;field_48334:D
      intermediary field_48334 Lnet/minecraft/class_9069;field_48334:D
      official cg Lcii;cg:D
    • STATE Link icon

      private static final TrackedData<ArmadilloEntity.State> STATE
      Mappings:
      Namespace Name Mixin selector
      named STATE Lnet/minecraft/entity/passive/ArmadilloEntity;STATE:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_47785 Lnet/minecraft/class_9069;field_47785:Lnet/minecraft/class_2940;
      official ch Lcii;ch:Lajy;
    • currentStateTicks Link icon

      private long currentStateTicks
      Mappings:
      Namespace Name Mixin selector
      named currentStateTicks Lnet/minecraft/entity/passive/ArmadilloEntity;currentStateTicks:J
      intermediary field_47786 Lnet/minecraft/class_9069;field_47786:J
      official ci Lcii;ci:J
    • unrollingAnimationState Link icon

      public final AnimationState unrollingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named unrollingAnimationState Lnet/minecraft/entity/passive/ArmadilloEntity;unrollingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_49080 Lnet/minecraft/class_9069;field_49080:Lnet/minecraft/class_7094;
      official cc Lcii;cc:Lbue;
    • rollingAnimationState Link icon

      public final AnimationState rollingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named rollingAnimationState Lnet/minecraft/entity/passive/ArmadilloEntity;rollingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_49081 Lnet/minecraft/class_9069;field_49081:Lnet/minecraft/class_7094;
      official cd Lcii;cd:Lbue;
    • scaredAnimationState Link icon

      public final AnimationState scaredAnimationState
      Mappings:
      Namespace Name Mixin selector
      named scaredAnimationState Lnet/minecraft/entity/passive/ArmadilloEntity;scaredAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_49082 Lnet/minecraft/class_9069;field_49082:Lnet/minecraft/class_7094;
      official ce Lcii;ce:Lbue;
    • nextScuteShedCooldown Link icon

      private int nextScuteShedCooldown
      Mappings:
      Namespace Name Mixin selector
      named nextScuteShedCooldown Lnet/minecraft/entity/passive/ArmadilloEntity;nextScuteShedCooldown:I
      intermediary field_47787 Lnet/minecraft/class_9069;field_47787:I
      official cj Lcii;cj:I
    • peeking Link icon

      private boolean peeking
      Mappings:
      Namespace Name Mixin selector
      named peeking Lnet/minecraft/entity/passive/ArmadilloEntity;peeking:Z
      intermediary field_49083 Lnet/minecraft/class_9069;field_49083:Z
      official ck Lcii;ck:Z
  • Constructor Details Link icon

    • ArmadilloEntity Link icon

      public ArmadilloEntity(EntityType<? extends AnimalEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      official <init> Lbum;<init>(Lbut;Ldgj;)V
  • Method Details Link icon

    • createChild Link icon

      @Nullable public @Nullable PassiveEntity createChild(ServerWorld world, PassiveEntity entity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      named createChild Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
      intermediary method_5613 Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
      official a Lbud;a(Lard;Lbud;)Lbud;
    • createArmadilloAttributes Link icon

      public static DefaultAttributeContainer.Builder createArmadilloAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createArmadilloAttributes Lnet/minecraft/entity/passive/ArmadilloEntity;createArmadilloAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_55722 Lnet/minecraft/class_9069;method_55722()Lnet/minecraft/class_5132$class_5133;
      official p Lcii;p()Lbwp$a;
    • initDataTracker Link icon

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

      public boolean isNotIdle()
      Mappings:
      Namespace Name Mixin selector
      named isNotIdle Lnet/minecraft/entity/passive/ArmadilloEntity;isNotIdle()Z
      intermediary method_55723 Lnet/minecraft/class_9069;method_55723()Z
      official t Lcii;t()Z
    • isRolledUp Link icon

      public boolean isRolledUp()
      Mappings:
      Namespace Name Mixin selector
      named isRolledUp Lnet/minecraft/entity/passive/ArmadilloEntity;isRolledUp()Z
      intermediary method_55711 Lnet/minecraft/class_9069;method_55711()Z
      official x Lcii;x()Z
    • shouldSwitchToScaredState Link icon

      public boolean shouldSwitchToScaredState()
      Mappings:
      Namespace Name Mixin selector
      named shouldSwitchToScaredState Lnet/minecraft/entity/passive/ArmadilloEntity;shouldSwitchToScaredState()Z
      intermediary method_55714 Lnet/minecraft/class_9069;method_55714()Z
      official gs Lcii;gs()Z
    • getState Link icon

      public ArmadilloEntity.State getState()
      Mappings:
      Namespace Name Mixin selector
      named getState Lnet/minecraft/entity/passive/ArmadilloEntity;getState()Lnet/minecraft/entity/passive/ArmadilloEntity$State;
      intermediary method_55718 Lnet/minecraft/class_9069;method_55718()Lnet/minecraft/class_9069$class_9070;
      official gt Lcii;gt()Lcii$a;
    • sendAiDebugData Link icon

      protected void sendAiDebugData()
      Overrides:
      sendAiDebugData in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named sendAiDebugData Lnet/minecraft/entity/mob/MobEntity;sendAiDebugData()V
      intermediary method_18409 Lnet/minecraft/class_1308;method_18409()V
      official ac Lbvk;ac()V
    • setState Link icon

      public void setState(ArmadilloEntity.State state)
      Mappings:
      Namespace Name Mixin selector
      named setState Lnet/minecraft/entity/passive/ArmadilloEntity;setState(Lnet/minecraft/entity/passive/ArmadilloEntity$State;)V
      intermediary method_55713 Lnet/minecraft/class_9069;method_55713(Lnet/minecraft/class_9069$class_9070;)V
      official a Lcii;a(Lcii$a;)V
    • onTrackedDataSet Link icon

      public void onTrackedDataSet(TrackedData<?> data)
      Called on the client when the tracked data is set.

      This can be overridden to refresh other fields when the tracked data is set or changed.

      Specified by:
      onTrackedDataSet in interface DataTracked
      Overrides:
      onTrackedDataSet in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      named onTrackedDataSet Lnet/minecraft/entity/data/DataTracked;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
      intermediary method_5674 Lnet/minecraft/class_9221;method_5674(Lnet/minecraft/class_2940;)V
      official a Lakb;a(Lajy;)V
    • createBrainProfile Link icon

      protected Brain.Profile<ArmadilloEntity> createBrainProfile()
      Overrides:
      createBrainProfile in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named createBrainProfile Lnet/minecraft/entity/LivingEntity;createBrainProfile()Lnet/minecraft/entity/ai/brain/Brain$Profile;
      intermediary method_28306 Lnet/minecraft/class_1309;method_28306()Lnet/minecraft/class_4095$class_5303;
      official ec Lbvi;ec()Lbwk$b;
    • deserializeBrain Link icon

      protected Brain<?> deserializeBrain(com.mojang.serialization.Dynamic<?> dynamic)
      Overrides:
      deserializeBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named deserializeBrain Lnet/minecraft/entity/LivingEntity;deserializeBrain(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/entity/ai/brain/Brain;
      intermediary method_18867 Lnet/minecraft/class_1309;method_18867(Lcom/mojang/serialization/Dynamic;)Lnet/minecraft/class_4095;
      official a Lbvi;a(Lcom/mojang/serialization/Dynamic;)Lbwk;
    • mobTick Link icon

      protected void mobTick(ServerWorld world)
      Overrides:
      mobTick in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named mobTick Lnet/minecraft/entity/mob/MobEntity;mobTick(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_5958 Lnet/minecraft/class_1308;method_5958(Lnet/minecraft/class_3218;)V
      official a Lbvk;a(Lard;)V
    • getNextScuteShedCooldown Link icon

      private int getNextScuteShedCooldown()
      Mappings:
      Namespace Name Mixin selector
      named getNextScuteShedCooldown Lnet/minecraft/entity/passive/ArmadilloEntity;getNextScuteShedCooldown()I
      intermediary method_55719 Lnet/minecraft/class_9069;method_55719()I
      official gF Lcii;gF()I
    • tick Link icon

      public void tick()
      Ticks this entity.
      Overrides:
      tick in class MobEntity
      See Also:
      API Note:
      This can be overridden to add additional logics. super.tick(); should be called in those cases.
      Implementation Note:
      By default, this delegates all logics to MobEntity.baseTick().
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/Entity;tick()V
      intermediary method_5773 Lnet/minecraft/class_1297;method_5773()V
      official h Lbum;h()V
    • getScaleFactor Link icon

      public float getScaleFactor()
      Overrides:
      getScaleFactor in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getScaleFactor Lnet/minecraft/entity/LivingEntity;getScaleFactor()F
      intermediary method_17825 Lnet/minecraft/class_1309;method_17825()F
      official ei Lbvi;ei()F
    • updateAnimationStates Link icon

      private void updateAnimationStates()
      Mappings:
      Namespace Name Mixin selector
      named updateAnimationStates Lnet/minecraft/entity/passive/ArmadilloEntity;updateAnimationStates()V
      intermediary method_55720 Lnet/minecraft/class_9069;method_55720()V
      official gG Lcii;gG()V
    • handleStatus Link icon

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

      public boolean isBreedingItem(ItemStack stack)
      Specified by:
      isBreedingItem in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named isBreedingItem Lnet/minecraft/entity/passive/AnimalEntity;isBreedingItem(Lnet/minecraft/item/ItemStack;)Z
      intermediary method_6481 Lnet/minecraft/class_1429;method_6481(Lnet/minecraft/class_1799;)Z
      official j Lcgz;j(Lcwq;)Z
    • canSpawn Link icon

      public static boolean canSpawn(EntityType<ArmadilloEntity> entityType, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
      Mappings:
      Namespace Name Mixin selector
      named canSpawn Lnet/minecraft/entity/passive/ArmadilloEntity;canSpawn(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/entity/SpawnReason;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/random/Random;)Z
      intermediary method_56083 Lnet/minecraft/class_9069;method_56083(Lnet/minecraft/class_1299;Lnet/minecraft/class_1936;Lnet/minecraft/class_3730;Lnet/minecraft/class_2338;Lnet/minecraft/class_5819;)Z
      official c Lcii;c(Lbut;Ldgk;Lbus;Lji;Lazh;)Z
    • isEntityThreatening Link icon

      public boolean isEntityThreatening(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named isEntityThreatening Lnet/minecraft/entity/passive/ArmadilloEntity;isEntityThreatening(Lnet/minecraft/entity/LivingEntity;)Z
      intermediary method_55721 Lnet/minecraft/class_9069;method_55721(Lnet/minecraft/class_1309;)Z
      official j Lcii;j(Lbvi;)Z
    • writeCustomDataToNbt Link icon

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

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

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

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

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

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

      Overrides:
      readCustomDataFromNbt in class AnimalEntity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      official a Lbum;a(Ltq;)V
    • startRolling Link icon

      public void startRolling()
      Mappings:
      Namespace Name Mixin selector
      named startRolling Lnet/minecraft/entity/passive/ArmadilloEntity;startRolling()V
      intermediary method_55715 Lnet/minecraft/class_9069;method_55715()V
      official gu Lcii;gu()V
    • unroll Link icon

      public void unroll()
      Mappings:
      Namespace Name Mixin selector
      named unroll Lnet/minecraft/entity/passive/ArmadilloEntity;unroll()V
      intermediary method_55724 Lnet/minecraft/class_9069;method_55724()V
      official gv Lcii;gv()V
    • damage Link icon

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

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

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

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

      Overrides:
      damage in class LivingEntity
      Returns:
      whether the entity was actually damaged
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)Z
      intermediary method_64397 Lnet/minecraft/class_1297;method_64397(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)Z
      official a Lbum;a(Lard;Lbtc;F)Z
    • applyDamage Link icon

      protected void applyDamage(ServerWorld world, DamageSource source, float amount)
      Overrides:
      applyDamage in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named applyDamage Lnet/minecraft/entity/LivingEntity;applyDamage(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/damage/DamageSource;F)V
      intermediary method_6074 Lnet/minecraft/class_1309;method_6074(Lnet/minecraft/class_3218;Lnet/minecraft/class_1282;F)V
      official b Lbvi;b(Lard;Lbtc;F)V
    • interactMob Link icon

      public ActionResult interactMob(PlayerEntity player, Hand hand)
      Overrides:
      interactMob in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named interactMob Lnet/minecraft/entity/mob/MobEntity;interactMob(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/Hand;)Lnet/minecraft/util/ActionResult;
      intermediary method_5992 Lnet/minecraft/class_1308;method_5992(Lnet/minecraft/class_1657;Lnet/minecraft/class_1268;)Lnet/minecraft/class_1269;
      official b Lbvk;b(Lcoy;Lbsk;)Lbsl;
    • brushScute Link icon

      public boolean brushScute()
      Mappings:
      Namespace Name Mixin selector
      named brushScute Lnet/minecraft/entity/passive/ArmadilloEntity;brushScute()Z
      intermediary method_55716 Lnet/minecraft/class_9069;method_55716()Z
      official gw Lcii;gw()Z
    • canRollUp Link icon

      public boolean canRollUp()
      Mappings:
      Namespace Name Mixin selector
      named canRollUp Lnet/minecraft/entity/passive/ArmadilloEntity;canRollUp()Z
      intermediary method_55717 Lnet/minecraft/class_9069;method_55717()Z
      official gE Lcii;gE()Z
    • canEat Link icon

      public boolean canEat()
      Overrides:
      canEat in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named canEat Lnet/minecraft/entity/passive/AnimalEntity;canEat()Z
      intermediary method_6482 Lnet/minecraft/class_1429;method_6482()Z
      official gz Lcgz;gz()Z
    • getAmbientSound Link icon

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      official u Lbvk;u()Lavz;
    • playEatSound Link icon

      protected void playEatSound()
      Overrides:
      playEatSound in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named playEatSound Lnet/minecraft/entity/passive/AnimalEntity;playEatSound()V
      intermediary method_61458 Lnet/minecraft/class_1429;method_61458()V
      official gy Lcgz;gy()V
    • getDeathSound Link icon

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getDeathSound Lnet/minecraft/entity/LivingEntity;getDeathSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_6002 Lnet/minecraft/class_1309;method_6002()Lnet/minecraft/class_3414;
      official o_ Lbvi;o_()Lavz;
    • getHurtSound Link icon

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      official e Lbvi;e(Lbtc;)Lavz;
    • playStepSound Link icon

      protected void playStepSound(BlockPos pos, BlockState state)
      Overrides:
      playStepSound in class Entity
      Mappings:
      Namespace Name Mixin selector
      named playStepSound Lnet/minecraft/entity/Entity;playStepSound(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary method_5712 Lnet/minecraft/class_1297;method_5712(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official b Lbum;b(Lji;Ldwy;)V
    • getMaxHeadRotation Link icon

      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
      named getMaxHeadRotation Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
      intermediary method_5986 Lnet/minecraft/class_1308;method_5986()I
      official af Lbvk;af()I
    • createBodyControl Link icon

      protected BodyControl createBodyControl()
      Overrides:
      createBodyControl in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named createBodyControl Lnet/minecraft/entity/mob/MobEntity;createBodyControl()Lnet/minecraft/entity/ai/control/BodyControl;
      intermediary method_5963 Lnet/minecraft/class_1308;method_5963()Lnet/minecraft/class_1330;
      official J Lbvk;J()Lcbe;