Class CreakingEntity

All Implemented Interfaces:
Attackable, DataTracked, EquipmentHolder, Leashable, Monster, Targeter, ScoreHolder, Nameable, EntityLike
Direct Known Subclasses:
TransientCreakingEntity

public class CreakingEntity extends HostileEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/CreakingEntity
intermediary net/minecraft/class_10275
official coa
  • Field Details

    • UNROOTED

      private static final TrackedData<Boolean> UNROOTED
      Mappings:
      Namespace Name Mixin selector
      named UNROOTED Lnet/minecraft/entity/mob/CreakingEntity;UNROOTED:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_54571 Lnet/minecraft/class_10275;field_54571:Lnet/minecraft/class_2940;
      official cb Lcoa;cb:Lalc;
    • ACTIVE

      private static final TrackedData<Boolean> ACTIVE
      Mappings:
      Namespace Name Mixin selector
      named ACTIVE Lnet/minecraft/entity/mob/CreakingEntity;ACTIVE:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_54572 Lnet/minecraft/class_10275;field_54572:Lnet/minecraft/class_2940;
      official cc Lcoa;cc:Lalc;
    • field_54573

      private static final int field_54573
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54573 Lnet/minecraft/entity/mob/CreakingEntity;field_54573:I
      intermediary field_54573 Lnet/minecraft/class_10275;field_54573:I
      official cd Lcoa;cd:I
    • field_54574

      private static final int field_54574
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54574 Lnet/minecraft/entity/mob/CreakingEntity;field_54574:I
      intermediary field_54574 Lnet/minecraft/class_10275;field_54574:I
      official ce Lcoa;ce:I
    • field_54575

      private static final float field_54575
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54575 Lnet/minecraft/entity/mob/CreakingEntity;field_54575:F
      intermediary field_54575 Lnet/minecraft/class_10275;field_54575:F
      official cf Lcoa;cf:F
    • field_54576

      private static final float field_54576
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54576 Lnet/minecraft/entity/mob/CreakingEntity;field_54576:F
      intermediary field_54576 Lnet/minecraft/class_10275;field_54576:F
      official cg Lcoa;cg:F
    • field_54577

      private static final float field_54577
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54577 Lnet/minecraft/entity/mob/CreakingEntity;field_54577:F
      intermediary field_54577 Lnet/minecraft/class_10275;field_54577:F
      official ch Lcoa;ch:F
    • field_54566

      public static final int field_54566
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54566 Lnet/minecraft/entity/mob/CreakingEntity;field_54566:I
      intermediary field_54566 Lnet/minecraft/class_10275;field_54566:I
      official a Lcoa;a:I
    • field_54578

      private static final float field_54578
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54578 Lnet/minecraft/entity/mob/CreakingEntity;field_54578:F
      intermediary field_54578 Lnet/minecraft/class_10275;field_54578:F
      official ci Lcoa;ci:F
    • field_54567

      public static final float field_54567
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54567 Lnet/minecraft/entity/mob/CreakingEntity;field_54567:F
      intermediary field_54567 Lnet/minecraft/class_10275;field_54567:F
      official b Lcoa;b:F
    • field_54569

      public static final int field_54569
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54569 Lnet/minecraft/entity/mob/CreakingEntity;field_54569:I
      intermediary field_54569 Lnet/minecraft/class_10275;field_54569:I
      official c Lcoa;c:I
    • field_54580

      public static final int field_54580
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54580 Lnet/minecraft/entity/mob/CreakingEntity;field_54580:I
      intermediary field_54580 Lnet/minecraft/class_10275;field_54580:I
      official d Lcoa;d:I
    • attackAnimationTimer

      private int attackAnimationTimer
      Mappings:
      Namespace Name Mixin selector
      named attackAnimationTimer Lnet/minecraft/entity/mob/CreakingEntity;attackAnimationTimer:I
      intermediary field_54579 Lnet/minecraft/class_10275;field_54579:I
      official cj Lcoa;cj:I
    • attackAnimationState

      public final AnimationState attackAnimationState
      Mappings:
      Namespace Name Mixin selector
      named attackAnimationState Lnet/minecraft/entity/mob/CreakingEntity;attackAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_54568 Lnet/minecraft/class_10275;field_54568:Lnet/minecraft/class_7094;
      official bZ Lcoa;bZ:Lbvb;
    • invulnerableAnimationState

      public final AnimationState invulnerableAnimationState
      Mappings:
      Namespace Name Mixin selector
      named invulnerableAnimationState Lnet/minecraft/entity/mob/CreakingEntity;invulnerableAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_54570 Lnet/minecraft/class_10275;field_54570:Lnet/minecraft/class_7094;
      official ca Lcoa;ca:Lbvb;
  • Constructor Details

    • CreakingEntity

      public CreakingEntity(EntityType<? extends CreakingEntity> 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> Lbvj;<init>(Lbvq;Ldhh;)V
  • Method Details

    • 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 G Lbwh;G()Lccb;
    • createBrainProfile

      protected Brain.Profile<CreakingEntity> 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 ed Lbwf;ed()Lbxh$b;
    • deserializeBrain

      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 Lbwf;a(Lcom/mojang/serialization/Dynamic;)Lbxh;
    • initDataTracker

      protected void initDataTracker(DataTracker.Builder builder)
      Initializes data tracker.
      Overrides:
      initDataTracker in class MobEntity
      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 Lbvj;a(Lalg$a;)V
    • createCreakingAttributes

      public static DefaultAttributeContainer.Builder createCreakingAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createCreakingAttributes Lnet/minecraft/entity/mob/CreakingEntity;createCreakingAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_64627 Lnet/minecraft/class_10275;method_64627()Lnet/minecraft/class_5132$class_5133;
      official m Lcoa;m()Lbxm$a;
    • isUnrooted

      public boolean isUnrooted()
      Mappings:
      Namespace Name Mixin selector
      named isUnrooted Lnet/minecraft/entity/mob/CreakingEntity;isUnrooted()Z
      intermediary method_64628 Lnet/minecraft/class_10275;method_64628()Z
      official p Lcoa;p()Z
    • tryAttack

      public boolean tryAttack(ServerWorld world, Entity target)
      Overrides:
      tryAttack in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named tryAttack Lnet/minecraft/entity/LivingEntity;tryAttack(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/Entity;)Z
      intermediary method_6121 Lnet/minecraft/class_1309;method_6121(Lnet/minecraft/class_3218;Lnet/minecraft/class_1297;)Z
      official c Lbwf;c(Lash;Lbvj;)Z
    • isPushable

      public boolean isPushable()
      Returns whether the entity can be pushed by other entities.
      Overrides:
      isPushable in class LivingEntity
      Returns:
      whether the entity can be pushed by other entities
      Mappings:
      Namespace Name Mixin selector
      named isPushable Lnet/minecraft/entity/Entity;isPushable()Z
      intermediary method_5810 Lnet/minecraft/class_1297;method_5810()Z
      official bI Lbvj;bI()Z
    • getBrain

      public Brain<CreakingEntity> getBrain()
      Overrides:
      getBrain in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getBrain Lnet/minecraft/entity/LivingEntity;getBrain()Lnet/minecraft/entity/ai/brain/Brain;
      intermediary method_18868 Lnet/minecraft/class_1309;method_18868()Lnet/minecraft/class_4095;
      official ec Lbwf;ec()Lbxh;
    • mobTick

      protected void mobTick(ServerWorld world)
      Overrides:
      mobTick in class MobEntity
      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 Lbwh;a(Lash;)V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      official d_ Lbwf;d_()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 h Lbvj;h()V
    • tickAttackAnimation

      private void tickAttackAnimation()
      Mappings:
      Namespace Name Mixin selector
      named tickAttackAnimation Lnet/minecraft/entity/mob/CreakingEntity;tickAttackAnimation()V
      intermediary method_64624 Lnet/minecraft/class_10275;method_64624()V
      official go Lcoa;go()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 MobEntity
      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 Lbvj;b(B)V
    • playAttackSound

      public void playAttackSound()
      Overrides:
      playAttackSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named playAttackSound Lnet/minecraft/entity/mob/MobEntity;playAttackSound()V
      intermediary method_59928 Lnet/minecraft/class_1308;method_59928()V
      official gf Lbwh;gf()V
    • 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 u Lbwh;u()Laxe;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class HostileEntity
      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 Lbwf;e(Lbtz;)Laxe;
    • getDeathSound

      protected SoundEvent getDeathSound()
      Overrides:
      getDeathSound in class HostileEntity
      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_ Lbwf;o_()Laxe;
    • 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 Lbvj;b(Ljh;Ldxu;)V
    • getTarget

      @Nullable public @Nullable LivingEntity getTarget()
      Specified by:
      getTarget in interface Targeter
      Overrides:
      getTarget in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getTarget Lnet/minecraft/entity/Targeter;getTarget()Lnet/minecraft/entity/LivingEntity;
      intermediary method_5968 Lnet/minecraft/class_8152;method_5968()Lnet/minecraft/class_1309;
      official O_ Lbxd;O_()Lbwf;
    • 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 Y Lbwh;Y()V
    • takeKnockback

      public void takeKnockback(double strength, double x, double z)
      Overrides:
      takeKnockback in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named takeKnockback Lnet/minecraft/entity/LivingEntity;takeKnockback(DDD)V
      intermediary method_6005 Lnet/minecraft/class_1309;method_6005(DDD)V
      official p Lbwf;p(DDD)V
    • shouldBeUnrooted

      public boolean shouldBeUnrooted()
      Mappings:
      Namespace Name Mixin selector
      named shouldBeUnrooted Lnet/minecraft/entity/mob/CreakingEntity;shouldBeUnrooted()Z
      intermediary method_64629 Lnet/minecraft/class_10275;method_64629()Z
      official t Lcoa;t()Z
    • setActive

      public void setActive(boolean active)
      Mappings:
      Namespace Name Mixin selector
      named setActive Lnet/minecraft/entity/mob/CreakingEntity;setActive(Z)V
      intermediary method_64631 Lnet/minecraft/class_10275;method_64631(Z)V
      official x Lcoa;x(Z)V
    • isActive

      public boolean isActive()
      Mappings:
      Namespace Name Mixin selector
      named isActive Lnet/minecraft/entity/mob/CreakingEntity;isActive()Z
      intermediary method_64630 Lnet/minecraft/class_10275;method_64630()Z
      official x Lcoa;x()Z
    • getPathfindingFavor

      public float getPathfindingFavor(BlockPos pos, WorldView world)
      Overrides:
      getPathfindingFavor in class HostileEntity
      Mappings:
      Namespace Name Mixin selector
      named getPathfindingFavor Lnet/minecraft/entity/mob/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/WorldView;)F
      intermediary method_6144 Lnet/minecraft/class_1314;method_6144(Lnet/minecraft/class_2338;Lnet/minecraft/class_4538;)F
      official a Lbwn;a(Ljh;Ldhk;)F