Class CreakingEntity

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

public class CreakingEntity extends HostileEntity
Mappings:
Namespace Name
named net/minecraft/entity/mob/CreakingEntity
intermediary net/minecraft/class_10275
official cnd
  • 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 cd Lcnd;cd:Lajy;
    • 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 ce Lcnd;ce:Lajy;
    • CRUMBLING

      private static final TrackedData<Boolean> CRUMBLING
      Mappings:
      Namespace Name Mixin selector
      named CRUMBLING Lnet/minecraft/entity/mob/CreakingEntity;CRUMBLING:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_55487 Lnet/minecraft/class_10275;field_55487:Lnet/minecraft/class_2940;
      official cf Lcnd;cf:Lajy;
    • HOME_POS

      private static final TrackedData<Optional<BlockPos>> HOME_POS
      Mappings:
      Namespace Name Mixin selector
      named HOME_POS Lnet/minecraft/entity/mob/CreakingEntity;HOME_POS:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_55545 Lnet/minecraft/class_10275;field_55545:Lnet/minecraft/class_2940;
      official cg Lcnd;cg:Lajy;
    • 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 ch Lcnd;ch: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 ci Lcnd;ci:I
    • ATTACK_DAMAGE

      private static final float ATTACK_DAMAGE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ATTACK_DAMAGE Lnet/minecraft/entity/mob/CreakingEntity;ATTACK_DAMAGE:F
      intermediary field_54575 Lnet/minecraft/class_10275;field_54575:F
      official cj Lcnd;cj: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 ck Lcnd;ck: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 cl Lcnd;cl: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 Lcnd;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 cm Lcnd;cm: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 Lcnd;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 Lcnd;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 Lcnd;d:I
    • field_55485

      public static final int field_55485
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55485 Lnet/minecraft/entity/mob/CreakingEntity;field_55485:I
      intermediary field_55485 Lnet/minecraft/class_10275;field_55485:I
      official bY Lcnd;bY:I
    • field_55486

      public static final int field_55486
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55486 Lnet/minecraft/entity/mob/CreakingEntity;field_55486:I
      intermediary field_55486 Lnet/minecraft/class_10275;field_55486:I
      official bZ Lcnd;bZ:I
    • field_55488

      private static final int field_55488
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_55488 Lnet/minecraft/entity/mob/CreakingEntity;field_55488:I
      intermediary field_55488 Lnet/minecraft/class_10275;field_55488:I
      official cn Lcnd;cn: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 co Lcnd;co: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 ca Lcnd;ca:Lbue;
    • 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 cb Lcnd;cb:Lbue;
    • crumblingAnimationState

      public final AnimationState crumblingAnimationState
      Mappings:
      Namespace Name Mixin selector
      named crumblingAnimationState Lnet/minecraft/entity/mob/CreakingEntity;crumblingAnimationState:Lnet/minecraft/entity/AnimationState;
      intermediary field_55010 Lnet/minecraft/class_10275;field_55010:Lnet/minecraft/class_7094;
      official cc Lcnd;cc:Lbue;
    • invulnerableAnimationTimer

      private int invulnerableAnimationTimer
      Mappings:
      Namespace Name Mixin selector
      named invulnerableAnimationTimer Lnet/minecraft/entity/mob/CreakingEntity;invulnerableAnimationTimer:I
      intermediary field_55489 Lnet/minecraft/class_10275;field_55489:I
      official cp Lcnd;cp:I
    • glowingEyesWhileCrumbling

      private boolean glowingEyesWhileCrumbling
      Mappings:
      Namespace Name Mixin selector
      named glowingEyesWhileCrumbling Lnet/minecraft/entity/mob/CreakingEntity;glowingEyesWhileCrumbling:Z
      intermediary field_55490 Lnet/minecraft/class_10275;field_55490:Z
      official cq Lcnd;cq:Z
    • nextEyeFlickerTime

      private int nextEyeFlickerTime
      Mappings:
      Namespace Name Mixin selector
      named nextEyeFlickerTime Lnet/minecraft/entity/mob/CreakingEntity;nextEyeFlickerTime:I
      intermediary field_55491 Lnet/minecraft/class_10275;field_55491:I
      official cr Lcnd;cr:I
    • playerIntersectionTimer

      private int playerIntersectionTimer
      Mappings:
      Namespace Name Mixin selector
      named playerIntersectionTimer Lnet/minecraft/entity/mob/CreakingEntity;playerIntersectionTimer:I
      intermediary field_55493 Lnet/minecraft/class_10275;field_55493:I
      official cs Lcnd;cs:I
  • 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> Lbum;<init>(Lbut;Ldgj;)V
  • Method Details

    • initHomePos

      public void initHomePos(BlockPos homePos)
      Mappings:
      Namespace Name Mixin selector
      named initHomePos Lnet/minecraft/entity/mob/CreakingEntity;initHomePos(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_65789 Lnet/minecraft/class_10275;method_65789(Lnet/minecraft/class_2338;)V
      official h Lcnd;h(Lji;)V
    • isTransient

      public boolean isTransient()
      Mappings:
      Namespace Name Mixin selector
      named isTransient Lnet/minecraft/entity/mob/CreakingEntity;isTransient()Z
      intermediary method_65902 Lnet/minecraft/class_10275;method_65902()Z
      official m Lcnd;m()Z
    • 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 J Lbvk;J()Lcbe;
    • 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 ec Lbvi;ec()Lbwk$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 Lbvi;a(Lcom/mojang/serialization/Dynamic;)Lbwk;
    • 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 Lbum;a(Lakc$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 p Lcnd;p()Lbwp$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 t Lcnd;t()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 Lbvi;c(Lard;Lbum;)Z
    • damage

      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
    • becomeAngryAndGetPlayer

      public PlayerEntity becomeAngryAndGetPlayer(DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      named becomeAngryAndGetPlayer Lnet/minecraft/entity/mob/CreakingEntity;becomeAngryAndGetPlayer(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/entity/player/PlayerEntity;
      intermediary method_65790 Lnet/minecraft/class_10275;method_65790(Lnet/minecraft/class_1282;)Lnet/minecraft/class_1657;
      official j Lcnd;j(Lbtc;)Lcoy;
    • 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 Lbum;bI()Z
    • addVelocity

      public void addVelocity(double deltaX, double deltaY, double deltaZ)
      Overrides:
      addVelocity in class Entity
      Mappings:
      Namespace Name Mixin selector
      named addVelocity Lnet/minecraft/entity/Entity;addVelocity(DDD)V
      intermediary method_5762 Lnet/minecraft/class_1297;method_5762(DDD)V
      official j Lbum;j(DDD)V
    • 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 eb Lbvi;eb()Lbwk;
    • 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 Lbvk;a(Lard;)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_ Lbvi;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 Lbum;h()V
    • updatePostDeath

      protected void updatePostDeath()
      Overrides:
      updatePostDeath in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named updatePostDeath Lnet/minecraft/entity/LivingEntity;updatePostDeath()V
      intermediary method_6108 Lnet/minecraft/class_1309;method_6108()V
      official el Lbvi;el()V
    • updateLimbs

      protected void updateLimbs(float posDelta)
      Overrides:
      updateLimbs in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named updateLimbs Lnet/minecraft/entity/LivingEntity;updateLimbs(F)V
      intermediary method_48565 Lnet/minecraft/class_1309;method_48565(F)V
      official B Lbvi;B(F)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 gD Lcnd;gD()V
    • finishCrumbling

      public void finishCrumbling()
      Mappings:
      Namespace Name Mixin selector
      named finishCrumbling Lnet/minecraft/entity/mob/CreakingEntity;finishCrumbling()V
      intermediary method_65793 Lnet/minecraft/class_10275;method_65793()V
      official x Lcnd;x()V
    • killFromHeart

      public void killFromHeart(DamageSource damageSource)
      Mappings:
      Namespace Name Mixin selector
      named killFromHeart Lnet/minecraft/entity/mob/CreakingEntity;killFromHeart(Lnet/minecraft/entity/damage/DamageSource;)V
      intermediary method_65791 Lnet/minecraft/class_10275;method_65791(Lnet/minecraft/class_1282;)V
      official k Lcnd;k(Lbtc;)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 Lbum;b(B)V
    • isFireImmune

      public boolean isFireImmune()
      Returns whether the entity is immune to fire damage.
      Overrides:
      isFireImmune in class Entity
      Returns:
      whether the entity is immune to fire damage
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named isFireImmune Lnet/minecraft/entity/Entity;isFireImmune()Z
      intermediary method_5753 Lnet/minecraft/class_1297;method_5753()Z
      official bi Lbum;bi()Z
    • canBeNameTagged

      public boolean canBeNameTagged()
      Overrides:
      canBeNameTagged in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named canBeNameTagged Lnet/minecraft/entity/LivingEntity;canBeNameTagged()Z
      intermediary method_65897 Lnet/minecraft/class_1309;method_65897()Z
      official eL Lbvi;eL()Z
    • canAddPassenger

      protected boolean canAddPassenger(Entity passenger)
      Returns whether entity can ride this entity.

      Returning false causes other entities to be unable to ride this entity. For example, BoatEntity uses this to restrict how many passengers can ride the same boat (2 for normal, 1 for chest boat).

      This is the opposite of Entity.canStartRiding(net.minecraft.entity.Entity).

      Overrides:
      canAddPassenger in class Entity
      Returns:
      whether entity can ride this entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named canAddPassenger Lnet/minecraft/entity/Entity;canAddPassenger(Lnet/minecraft/entity/Entity;)Z
      intermediary method_5818 Lnet/minecraft/class_1297;method_5818(Lnet/minecraft/class_1297;)Z
      official r Lbum;r(Lbum;)Z
    • couldAcceptPassenger

      protected boolean couldAcceptPassenger()
      Returns true if this entity supports passengers in general.
      Overrides:
      couldAcceptPassenger in class Entity
      Returns:
      true if this entity supports passengers in general
      Mappings:
      Namespace Name Mixin selector
      named couldAcceptPassenger Lnet/minecraft/entity/Entity;couldAcceptPassenger()Z
      intermediary method_48921 Lnet/minecraft/class_1297;method_48921()Z
      official bR Lbum;bR()Z
    • addPassenger

      protected void addPassenger(Entity passenger)
      Adds passenger as a passenger. This should not be called normally; call Entity.startRiding(Entity) instead. (Note that the entity to pass and the entity to call are swapped in this case; entity.startRiding(vehicle) is the equivalent of vehicle.addPassenger(entity).)
      Overrides:
      addPassenger in class Entity
      Throws:
      IllegalStateException - when the method is called directly
      Mappings:
      Namespace Name Mixin selector
      named addPassenger Lnet/minecraft/entity/Entity;addPassenger(Lnet/minecraft/entity/Entity;)V
      intermediary method_5627 Lnet/minecraft/class_1297;method_5627(Lnet/minecraft/class_1297;)V
      official p Lbum;p(Lbum;)V
    • canUsePortals

      public boolean canUsePortals(boolean allowVehicles)
      Returns whether the entity can use nether portals and end portals.

      EnderDragonEntity, WitherEntity, and FishingBobberEntity cannot use portals.

      Overrides:
      canUsePortals in class LivingEntity
      Returns:
      whether the entity can use nether portals and end portals
      Mappings:
      Namespace Name Mixin selector
      named canUsePortals Lnet/minecraft/entity/Entity;canUsePortals(Z)Z
      intermediary method_5822 Lnet/minecraft/class_1297;method_5822(Z)Z
      official o Lbum;o(Z)Z
    • createNavigation

      protected EntityNavigation createNavigation(World world)
      Overrides:
      createNavigation in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named createNavigation Lnet/minecraft/entity/mob/MobEntity;createNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
      intermediary method_5965 Lnet/minecraft/class_1308;method_5965(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1408;
      official b Lbvk;b(Ldgj;)Lceu;
    • isStuckWithPlayer

      public boolean isStuckWithPlayer()
      Mappings:
      Namespace Name Mixin selector
      named isStuckWithPlayer Lnet/minecraft/entity/mob/CreakingEntity;isStuckWithPlayer()Z
      intermediary method_65784 Lnet/minecraft/class_10275;method_65784()Z
      official gs Lcnd;gs()Z
    • 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 MobEntity
      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
    • 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 MobEntity
      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
    • setHomePos

      public void setHomePos(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named setHomePos Lnet/minecraft/entity/mob/CreakingEntity;setHomePos(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_65901 Lnet/minecraft/class_10275;method_65901(Lnet/minecraft/class_2338;)V
      official i Lcnd;i(Lji;)V
    • getHomePos

      @Nullable public @Nullable BlockPos getHomePos()
      Mappings:
      Namespace Name Mixin selector
      named getHomePos Lnet/minecraft/entity/mob/CreakingEntity;getHomePos()Lnet/minecraft/util/math/BlockPos;
      intermediary method_65900 Lnet/minecraft/class_10275;method_65900()Lnet/minecraft/class_2338;
      official gt Lcnd;gt()Lji;
    • setCrumbling

      public void setCrumbling()
      Mappings:
      Namespace Name Mixin selector
      named setCrumbling Lnet/minecraft/entity/mob/CreakingEntity;setCrumbling()V
      intermediary method_65785 Lnet/minecraft/class_10275;method_65785()V
      official gu Lcnd;gu()V
    • isCrumbling

      public boolean isCrumbling()
      Mappings:
      Namespace Name Mixin selector
      named isCrumbling Lnet/minecraft/entity/mob/CreakingEntity;isCrumbling()Z
      intermediary method_65786 Lnet/minecraft/class_10275;method_65786()Z
      official gv Lcnd;gv()Z
    • hasGlowingEyesWhileCrumbling

      public boolean hasGlowingEyesWhileCrumbling()
      Mappings:
      Namespace Name Mixin selector
      named hasGlowingEyesWhileCrumbling Lnet/minecraft/entity/mob/CreakingEntity;hasGlowingEyesWhileCrumbling()Z
      intermediary method_65787 Lnet/minecraft/class_10275;method_65787()Z
      official gy Lcnd;gy()Z
    • updateCrumblingEyeFlicker

      public void updateCrumblingEyeFlicker()
      Mappings:
      Namespace Name Mixin selector
      named updateCrumblingEyeFlicker Lnet/minecraft/entity/mob/CreakingEntity;updateCrumblingEyeFlicker()V
      intermediary method_65788 Lnet/minecraft/class_10275;method_65788()V
      official gz Lcnd;gz()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 gj Lbvk;gj()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 Lbvk;u()Lavz;
    • 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 Lbvi;e(Lbtc;)Lavz;
    • 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_ Lbvi;o_()Lavz;
    • 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 Lbum;b(Lji;Ldwy;)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_ Lbwg;O_()Lbvi;
    • 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 ac Lbvk;ac()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 Lbvi;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 gA Lcnd;gA()Z
    • activate

      public void activate(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named activate Lnet/minecraft/entity/mob/CreakingEntity;activate(Lnet/minecraft/entity/player/PlayerEntity;)V
      intermediary method_65117 Lnet/minecraft/class_10275;method_65117(Lnet/minecraft/class_1657;)V
      official a Lcnd;a(Lcoy;)V
    • deactivate

      public void deactivate()
      Mappings:
      Namespace Name Mixin selector
      named deactivate Lnet/minecraft/entity/mob/CreakingEntity;deactivate()V
      intermediary method_65118 Lnet/minecraft/class_10275;method_65118()V
      official gB Lcnd;gB()V
    • 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 Lcnd;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 gC Lcnd;gC()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 Lbvq;a(Lji;Ldgm;)F