Package net.minecraft

Class class_10996

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

public class class_10996 extends class_10995
Mappings:
Namespace Name
named net/minecraft/class_10996
intermediary net/minecraft/class_10996
official ctn
  • Field Details

    • field_58582

      public static final float field_58582
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_58582 Lnet/minecraft/class_10996;field_58582:F
      intermediary field_58582 Lnet/minecraft/class_10996;field_58582:F
      official bO Lctn;bO:F
    • field_58586

      private static final TrackedData<ArmadilloEntity.State> field_58586
      Mappings:
      Namespace Name Mixin selector
      named field_58586 Lnet/minecraft/class_10996;field_58586:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_58586 Lnet/minecraft/class_10996;field_58586:Lnet/minecraft/class_2940;
      official bS Lctn;bS:Lale;
    • field_58587

      private long field_58587
      Mappings:
      Namespace Name Mixin selector
      named field_58587 Lnet/minecraft/class_10996;field_58587:J
      intermediary field_58587 Lnet/minecraft/class_10996;field_58587:J
      official bT Lctn;bT:J
    • field_58583

      public final AnimationState field_58583
      Mappings:
      Namespace Name Mixin selector
      named field_58583 Lnet/minecraft/class_10996;field_58583:Lnet/minecraft/entity/AnimationState;
      intermediary field_58583 Lnet/minecraft/class_10996;field_58583:Lnet/minecraft/class_7094;
      official bP Lctn;bP:Lbxv;
    • field_58584

      public final AnimationState field_58584
      Mappings:
      Namespace Name Mixin selector
      named field_58584 Lnet/minecraft/class_10996;field_58584:Lnet/minecraft/entity/AnimationState;
      intermediary field_58584 Lnet/minecraft/class_10996;field_58584:Lnet/minecraft/class_7094;
      official bQ Lctn;bQ:Lbxv;
    • field_58585

      public final AnimationState field_58585
      Mappings:
      Namespace Name Mixin selector
      named field_58585 Lnet/minecraft/class_10996;field_58585:Lnet/minecraft/entity/AnimationState;
      intermediary field_58585 Lnet/minecraft/class_10996;field_58585:Lnet/minecraft/class_7094;
      official bR Lctn;bR:Lbxv;
    • field_58588

      private int field_58588
      Mappings:
      Namespace Name Mixin selector
      named field_58588 Lnet/minecraft/class_10996;field_58588:I
      intermediary field_58588 Lnet/minecraft/class_10996;field_58588:I
      official bU Lctn;bU:I
    • field_58589

      private boolean field_58589
      Mappings:
      Namespace Name Mixin selector
      named field_58589 Lnet/minecraft/class_10996;field_58589:Z
      intermediary field_58589 Lnet/minecraft/class_10996;field_58589:Z
      official bV Lctn;bV:Z
  • Constructor Details

    • class_10996

      public class_10996(EntityType<? extends class_10996> 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> Lbye;<init>(Lbyn;Ldmy;)V
  • Method Details

    • method_69344

      public static DefaultAttributeContainer.Builder method_69344()
      Mappings:
      Namespace Name Mixin selector
      named method_69344 Lnet/minecraft/class_10996;method_69344()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_69344 Lnet/minecraft/class_10996;method_69344()Lnet/minecraft/class_5132$class_5133;
      official gH Lctn;gH()Lcak$a;
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class TameableEntity
      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 Lbye;a(Lali$a;)V
    • method_69345

      public boolean method_69345()
      Mappings:
      Namespace Name Mixin selector
      named method_69345 Lnet/minecraft/class_10996;method_69345()Z
      intermediary method_69345 Lnet/minecraft/class_10996;method_69345()Z
      official gI Lctn;gI()Z
    • method_69346

      public boolean method_69346()
      Mappings:
      Namespace Name Mixin selector
      named method_69346 Lnet/minecraft/class_10996;method_69346()Z
      intermediary method_69346 Lnet/minecraft/class_10996;method_69346()Z
      official gJ Lctn;gJ()Z
    • method_69347

      public ArmadilloEntity.State method_69347()
      Mappings:
      Namespace Name Mixin selector
      named method_69347 Lnet/minecraft/class_10996;method_69347()Lnet/minecraft/entity/passive/ArmadilloEntity$State;
      intermediary method_69347 Lnet/minecraft/class_10996;method_69347()Lnet/minecraft/class_9069$class_9070;
      official gK Lctn;gK()Lcmo$a;
    • sendAiDebugData

      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 aa Lbzh;aa()V
    • method_69342

      public void method_69342(ArmadilloEntity.State state)
      Mappings:
      Namespace Name Mixin selector
      named method_69342 Lnet/minecraft/class_10996;method_69342(Lnet/minecraft/entity/passive/ArmadilloEntity$State;)V
      intermediary method_69342 Lnet/minecraft/class_10996;method_69342(Lnet/minecraft/class_9069$class_9070;)V
      official a Lctn;a(Lcmo$a;)V
    • onTrackedDataSet

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

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

      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 Lalh;a(Lale;)V
    • tick

      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 i Lbye;i()V
    • getScaleFactor

      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 ep Lbzf;ep()F
    • method_69349

      private void method_69349()
      Mappings:
      Namespace Name Mixin selector
      named method_69349 Lnet/minecraft/class_10996;method_69349()V
      intermediary method_69349 Lnet/minecraft/class_10996;method_69349()V
      official gM Lctn;gM()V
    • handleStatus

      public void handleStatus(byte status)
      Called on the client when the entity receives an entity status from the server. They are often used to spawn particles or play sounds. Subclasses can override this method to handle custom entity status.
      Overrides:
      handleStatus in class TameableEntity
      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 Lbye;b(B)V
    • writeCustomDataToNbt

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

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

      Overrides:
      writeCustomDataToNbt in class TameableEntity
      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 Lbye;b(Luc;)V
    • readCustomDataFromNbt

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

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

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

      Overrides:
      readCustomDataFromNbt in class TameableEntity
      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 Lbye;a(Luc;)V
    • method_69348

      public boolean method_69348()
      Mappings:
      Namespace Name Mixin selector
      named method_69348 Lnet/minecraft/class_10996;method_69348()Z
      intermediary method_69348 Lnet/minecraft/class_10996;method_69348()Z
      official gL Lctn;gL()Z
    • getAmbientSound

      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 r Lbzh;r()Laxv;
    • playEatSound

      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 gz Lclc;gz()V
    • playStepSound

      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 Lbye;b(Lix;Lees;)V
    • 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
      named getMaxHeadRotation Lnet/minecraft/entity/mob/MobEntity;getMaxHeadRotation()I
      intermediary method_5986 Lnet/minecraft/class_1308;method_5986()I
      official ac Lbzh;ac()I
    • createBodyControl

      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 H Lbzh;H()Lcff;