Class HappyGhastEntity

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

public class HappyGhastEntity extends AnimalEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/HappyGhastEntity
intermediary net/minecraft/class_11187
official cmt
  • Field Details

    • field_59681

      public static final float field_59681
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59681 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59681:F
      intermediary field_59681 Lnet/minecraft/class_11187;field_59681:F
      official ck Lcmt;ck:F
    • field_59682

      public static final int field_59682
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59682 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59682:I
      intermediary field_59682 Lnet/minecraft/class_11187;field_59682:I
      official cl Lcmt;cl:I
    • field_59683

      public static final int field_59683
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59683 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59683:I
      intermediary field_59683 Lnet/minecraft/class_11187;field_59683:I
      official cm Lcmt;cm:I
    • field_59684

      public static final int field_59684
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59684 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59684:I
      intermediary field_59684 Lnet/minecraft/class_11187;field_59684:I
      official co Lcmt;co:I
    • field_59685

      public static final int field_59685
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59685 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59685:I
      intermediary field_59685 Lnet/minecraft/class_11187;field_59685:I
      official cp Lcmt;cp:I
    • field_59686

      public static final int field_59686
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59686 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59686:I
      intermediary field_59686 Lnet/minecraft/class_11187;field_59686:I
      official cq Lcmt;cq:I
    • field_59687

      public static final int field_59687
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59687 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59687:I
      intermediary field_59687 Lnet/minecraft/class_11187;field_59687:I
      official cr Lcmt;cr:I
    • field_59688

      public static final int field_59688
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59688 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59688:I
      intermediary field_59688 Lnet/minecraft/class_11187;field_59688:I
      official cs Lcmt;cs:I
    • field_61061

      private static final int field_61061
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_61061 Lnet/minecraft/entity/passive/HappyGhastEntity;field_61061:I
      intermediary field_61061 Lnet/minecraft/class_11187;field_61061:I
      official cv Lcmt;cv:I
    • field_60551

      private static final int field_60551
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_60551 Lnet/minecraft/entity/passive/HappyGhastEntity;field_60551:I
      intermediary field_60551 Lnet/minecraft/class_11187;field_60551:I
      official cw Lcmt;cw:I
    • field_59689

      public static final float field_59689
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_59689 Lnet/minecraft/entity/passive/HappyGhastEntity;field_59689:F
      intermediary field_59689 Lnet/minecraft/class_11187;field_59689:F
      official ct Lcmt;ct:F
    • FOOD_PREDICATE

      public static final Predicate<ItemStack> FOOD_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      named FOOD_PREDICATE Lnet/minecraft/entity/passive/HappyGhastEntity;FOOD_PREDICATE:Ljava/util/function/Predicate;
      intermediary field_59690 Lnet/minecraft/class_11187;field_59690:Ljava/util/function/Predicate;
      official cu Lcmt;cu:Ljava/util/function/Predicate;
    • HAS_ROPES

      private static final TrackedData<Boolean> HAS_ROPES
      Mappings:
      Namespace Name Mixin selector
      named HAS_ROPES Lnet/minecraft/entity/passive/HappyGhastEntity;HAS_ROPES:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_60009 Lnet/minecraft/class_11187;field_60009:Lnet/minecraft/class_2940;
      official cz Lcmt;cz:Lalh;
    • STAYING_STILL

      private static final TrackedData<Boolean> STAYING_STILL
      Mappings:
      Namespace Name Mixin selector
      named STAYING_STILL Lnet/minecraft/entity/passive/HappyGhastEntity;STAYING_STILL:Lnet/minecraft/entity/data/TrackedData;
      intermediary field_60549 Lnet/minecraft/class_11187;field_60549:Lnet/minecraft/class_2940;
      official cA Lcmt;cA:Lalh;
    • field_60550

      private static final float field_60550
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_60550 Lnet/minecraft/entity/passive/HappyGhastEntity;field_60550:F
      intermediary field_60550 Lnet/minecraft/class_11187;field_60550:F
      official cB Lcmt;cB:F
    • ropeRemovalTimer

      private int ropeRemovalTimer
      Mappings:
      Namespace Name Mixin selector
      named ropeRemovalTimer Lnet/minecraft/entity/passive/HappyGhastEntity;ropeRemovalTimer:I
      intermediary field_60008 Lnet/minecraft/class_11187;field_60008:I
      official cx Lcmt;cx:I
    • stillTimeout

      private int stillTimeout
      Mappings:
      Namespace Name Mixin selector
      named stillTimeout Lnet/minecraft/entity/passive/HappyGhastEntity;stillTimeout:I
      intermediary field_60553 Lnet/minecraft/class_11187;field_60553:I
      official cy Lcmt;cy:I
  • Constructor Details

    • HappyGhastEntity

      public HappyGhastEntity(EntityType<? extends HappyGhastEntity> 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> Lbzm;<init>(Lbzv;Ldmu;)V
  • Method Details

    • setStillTimeout

      private void setStillTimeout(int stillTimeout)
      Mappings:
      Namespace Name Mixin selector
      named setStillTimeout Lnet/minecraft/entity/passive/HappyGhastEntity;setStillTimeout(I)V
      intermediary method_72086 Lnet/minecraft/class_11187;method_72086(I)V
      official s Lcmt;s(I)V
    • createGhastlingNavigation

      private EntityNavigation createGhastlingNavigation(World world)
      Mappings:
      Namespace Name Mixin selector
      named createGhastlingNavigation Lnet/minecraft/entity/passive/HappyGhastEntity;createGhastlingNavigation(Lnet/minecraft/world/World;)Lnet/minecraft/entity/ai/pathing/EntityNavigation;
      intermediary method_70693 Lnet/minecraft/class_11187;method_70693(Lnet/minecraft/class_1937;)Lnet/minecraft/class_1408;
      official c Lcmt;c(Ldmu;)Lcjw;
    • initGoals

      protected void initGoals()
      Overrides:
      initGoals in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named initGoals Lnet/minecraft/entity/mob/MobEntity;initGoals()V
      intermediary method_5959 Lnet/minecraft/class_1308;method_5959()V
      official H Lcao;H()V
    • initAdultHappyGhast

      private void initAdultHappyGhast()
      Mappings:
      Namespace Name Mixin selector
      named initAdultHappyGhast Lnet/minecraft/entity/passive/HappyGhastEntity;initAdultHappyGhast()V
      intermediary method_70703 Lnet/minecraft/class_11187;method_70703()V
      official gI Lcmt;gI()V
    • initGhastling

      private void initGhastling()
      Mappings:
      Namespace Name Mixin selector
      named initGhastling Lnet/minecraft/entity/passive/HappyGhastEntity;initGhastling()V
      intermediary method_70694 Lnet/minecraft/class_11187;method_70694()V
      official gJ Lcmt;gJ()V
    • onGrowUp

      protected void onGrowUp()
      Overrides:
      onGrowUp in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      named onGrowUp Lnet/minecraft/entity/passive/PassiveEntity;onGrowUp()V
      intermediary method_5619 Lnet/minecraft/class_1296;method_5619()V
      official h Lbzc;h()V
    • createHappyGhastAttributes

      public static DefaultAttributeContainer.Builder createHappyGhastAttributes()
      Mappings:
      Namespace Name Mixin selector
      named createHappyGhastAttributes Lnet/minecraft/entity/passive/HappyGhastEntity;createHappyGhastAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
      intermediary method_70701 Lnet/minecraft/class_11187;method_70701()Lnet/minecraft/class_5132$class_5133;
      official m Lcmt;m()Lcbr$a;
    • clampScale

      protected float clampScale(float scale)
      Overrides:
      clampScale in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named clampScale Lnet/minecraft/entity/LivingEntity;clampScale(F)F
      intermediary method_56077 Lnet/minecraft/class_1309;method_56077(F)F
      official c Lcam;c(F)F
    • fall

      protected void fall(double heightDifference, boolean onGround, BlockState state, BlockPos landedPosition)
      Called when the entity falls. Flying mobs should override this to do nothing.
      Overrides:
      fall in class LivingEntity
      Implementation Note:
      If on ground, this calls Block.onLandedUpon(net.minecraft.world.World, net.minecraft.block.BlockState, net.minecraft.util.math.BlockPos, net.minecraft.entity.Entity, double), which can add or reduce fall damage, emits GameEvent.HIT_GROUND, then calls Entity.onLanding(). Otherwise, if heightDifference is negative, it subtracts that value from Entity.fallDistance.
      Mappings:
      Namespace Name Mixin selector
      named fall Lnet/minecraft/entity/Entity;fall(DZLnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_5623 Lnet/minecraft/class_1297;method_5623(DZLnet/minecraft/class_2680;Lnet/minecraft/class_2338;)V
      official a Lbzm;a(DZLeeb;Ljb;)V
    • isClimbing

      public boolean isClimbing()
      Overrides:
      isClimbing in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named isClimbing Lnet/minecraft/entity/LivingEntity;isClimbing()Z
      intermediary method_6101 Lnet/minecraft/class_1309;method_6101()Z
      official eV Lcam;eV()Z
    • travel

      public void travel(Vec3d movementInput)
      Allows you to do certain speed and velocity calculations. This is useful for custom vehicle behavior, or custom entity movement. This is not to be confused with AI.

      See vanilla examples of custom horse vehicle and

      invalid reference
      flying entities
      .
      Overrides:
      travel in class LivingEntity
      Parameters:
      movementInput - represents the sidewaysSpeed, upwardSpeed, and forwardSpeed of the entity in that order
      Mappings:
      Namespace Name Mixin selector
      named travel Lnet/minecraft/entity/LivingEntity;travel(Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_6091 Lnet/minecraft/class_1309;method_6091(Lnet/minecraft/class_243;)V
      official k Lcam;k(Lfis;)V
    • getPathfindingFavor

      public float getPathfindingFavor(BlockPos pos, WorldView world)
      Overrides:
      getPathfindingFavor in class AnimalEntity
      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 Lcau;a(Ljb;Ldmx;)F
    • canBreatheInWater

      public boolean canBreatheInWater()
      Overrides:
      canBreatheInWater in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named canBreatheInWater Lnet/minecraft/entity/LivingEntity;canBreatheInWater()Z
      intermediary method_6094 Lnet/minecraft/class_1309;method_6094()Z
      official ek Lcam;ek()Z
    • shouldFollowLeash

      protected boolean shouldFollowLeash()
      Overrides:
      shouldFollowLeash in class PathAwareEntity
      Mappings:
      Namespace Name Mixin selector
      named shouldFollowLeash Lnet/minecraft/entity/mob/PathAwareEntity;shouldFollowLeash()Z
      intermediary method_43689 Lnet/minecraft/class_1314;method_43689()Z
      official gF Lcau;gF()Z
    • 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 Lbzm;b(Ljb;Leeb;)V
    • getSoundPitch

      public float getSoundPitch()
      Overrides:
      getSoundPitch in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getSoundPitch Lnet/minecraft/entity/LivingEntity;getSoundPitch()F
      intermediary method_6017 Lnet/minecraft/class_1309;method_6017()F
      official fl Lcam;fl()F
    • getSoundCategory

      public SoundCategory getSoundCategory()
      Returns the sound category for sounds from this entity.

      This is used by Entity.playSound(SoundEvent, float, float) and defaults to SoundCategory.NEUTRAL. Hostile entities should override this to return SoundCategory.HOSTILE.

      Overrides:
      getSoundCategory in class Entity
      Returns:
      the sound category for sounds from this entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      official do Lbzm;do()Laza;
    • getMinAmbientSoundDelay

      public int getMinAmbientSoundDelay()
      Overrides:
      getMinAmbientSoundDelay in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named getMinAmbientSoundDelay Lnet/minecraft/entity/mob/MobEntity;getMinAmbientSoundDelay()I
      intermediary method_5970 Lnet/minecraft/class_1308;method_5970()I
      official W Lcao;W()I
    • 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 p Lcao;p()Layy;
    • getHurtSound

      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 Lcam;e(Lbyb;)Layy;
    • getDeathSound

      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 f_ Lcam;f_()Layy;
    • getLimitPerChunk

      public int getLimitPerChunk()
      Overrides:
      getLimitPerChunk in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named getLimitPerChunk Lnet/minecraft/entity/mob/MobEntity;getLimitPerChunk()I
      intermediary method_5945 Lnet/minecraft/class_1308;method_5945()I
      official gk Lcao;gk()I
    • createChild

      public 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 Lbzc;a(Laub;Lbzc;)Lbzc;
    • canEat

      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 gO Lcmd;gO()Z
    • 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 Lcam;ep()F
    • isBreedingItem

      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 i Lcmd;i(Ldcv;)Z
    • canUseSlot

      public boolean canUseSlot(EquipmentSlot slot)
      Overrides:
      canUseSlot in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named canUseSlot Lnet/minecraft/entity/LivingEntity;canUseSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
      intermediary method_56991 Lnet/minecraft/class_1309;method_56991(Lnet/minecraft/class_1304;)Z
      official e Lcam;e(Lbzw;)Z
    • canDispenserEquipSlot

      protected boolean canDispenserEquipSlot(EquipmentSlot slot)
      Overrides:
      canDispenserEquipSlot in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      named canDispenserEquipSlot Lnet/minecraft/entity/LivingEntity;canDispenserEquipSlot(Lnet/minecraft/entity/EquipmentSlot;)Z
      intermediary method_63626 Lnet/minecraft/class_1309;method_63626(Lnet/minecraft/class_1304;)Z
      official f Lcam;f(Lbzw;)Z
    • interactMob

      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 Lcao;b(Lcut;Lbxi;)Lbxj;
    • addPassenger

      private void addPassenger(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named addPassenger Lnet/minecraft/entity/passive/HappyGhastEntity;addPassenger(Lnet/minecraft/entity/player/PlayerEntity;)V
      intermediary method_70691 Lnet/minecraft/class_11187;method_70691(Lnet/minecraft/class_1657;)V
      official g Lcmt;g(Lcut;)V
    • 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 q Lbzm;q(Lbzm;)V
    • removePassenger

      protected void removePassenger(Entity passenger)
      Removes passenger from the passengers. This should not be called normally; call LivingEntity.stopRiding() instead. (Note that vehicles are not passed to that method; entity.stopRiding() is the equivalent of vehicle.removePassenger(entity).)
      Overrides:
      removePassenger in class Entity
      Throws:
      IllegalStateException - when the method is called directly
      Mappings:
      Namespace Name Mixin selector
      named removePassenger Lnet/minecraft/entity/Entity;removePassenger(Lnet/minecraft/entity/Entity;)V
      intermediary method_5793 Lnet/minecraft/class_1297;method_5793(Lnet/minecraft/class_1297;)V
      official r Lbzm;r(Lbzm;)V
    • 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 s Lbzm;s(Lbzm;)Z
    • getControllingPassenger

      public LivingEntity getControllingPassenger()
      Returns the passenger in control of this entity, or null if there is none.

      Rideable entities should override this to return the entity. This is usually #getFirstPassenger.

      Overrides:
      getControllingPassenger in class MobEntity
      Returns:
      the passenger in control of this entity, or null if there is none
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named getControllingPassenger Lnet/minecraft/entity/Entity;getControllingPassenger()Lnet/minecraft/entity/LivingEntity;
      intermediary method_5642 Lnet/minecraft/class_1297;method_5642()Lnet/minecraft/class_1309;
      official cY Lbzm;cY()Lcam;
    • getControlledMovementInput

      protected Vec3d getControlledMovementInput(PlayerEntity controllingPlayer, Vec3d movementInput)
      Overrides:
      getControlledMovementInput in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getControlledMovementInput Lnet/minecraft/entity/LivingEntity;getControlledMovementInput(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_49482 Lnet/minecraft/class_1309;method_49482(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)Lnet/minecraft/class_243;
      official b Lcam;b(Lcut;Lfis;)Lfis;
    • getGhastRotation

      protected Vec2f getGhastRotation(LivingEntity controllingEntity)
      Mappings:
      Namespace Name Mixin selector
      named getGhastRotation Lnet/minecraft/entity/passive/HappyGhastEntity;getGhastRotation(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec2f;
      intermediary method_70698 Lnet/minecraft/class_11187;method_70698(Lnet/minecraft/class_1309;)Lnet/minecraft/class_241;
      official i Lcmt;i(Lcam;)Lfir;
    • tickControlled

      protected void tickControlled(PlayerEntity controllingPlayer, Vec3d movementInput)
      Overrides:
      tickControlled in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named tickControlled Lnet/minecraft/entity/LivingEntity;tickControlled(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/util/math/Vec3d;)V
      intermediary method_49481 Lnet/minecraft/class_1309;method_49481(Lnet/minecraft/class_1657;Lnet/minecraft/class_243;)V
      official a Lcam;a(Lcut;Lfis;)V
    • createBrainProfile

      protected Brain.Profile<HappyGhastEntity> 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 ei Lcam;ei()Lcbm$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 Lcam;a(Lcom/mojang/serialization/Dynamic;)Lcbm;
    • mobTick

      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 Lcao;a(Laub;)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 g Lbzm;g()V
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      official e_ Lcam;e_()V
    • getUpdatedPositionTargetRange

      private int getUpdatedPositionTargetRange()
      Mappings:
      Namespace Name Mixin selector
      named getUpdatedPositionTargetRange Lnet/minecraft/entity/passive/HappyGhastEntity;getUpdatedPositionTargetRange()I
      intermediary method_70695 Lnet/minecraft/class_11187;method_70695()I
      official gK Lcmt;gK()I
    • updatePositionTarget

      private void updatePositionTarget()
      Mappings:
      Namespace Name Mixin selector
      named updatePositionTarget Lnet/minecraft/entity/passive/HappyGhastEntity;updatePositionTarget()V
      intermediary method_70696 Lnet/minecraft/class_11187;method_70696()V
      official gL Lcmt;gL()V
    • tickRegeneration

      private void tickRegeneration()
      Mappings:
      Namespace Name Mixin selector
      named tickRegeneration Lnet/minecraft/entity/passive/HappyGhastEntity;tickRegeneration()V
      intermediary method_70697 Lnet/minecraft/class_11187;method_70697()V
      official gT Lcmt;gT()V
    • 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 ah Lcao;ah()V
    • initDataTracker

      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 Lbzm;a(Lall$a;)V
    • setHasRopes

      private void setHasRopes(boolean hasRopes)
      Mappings:
      Namespace Name Mixin selector
      named setHasRopes Lnet/minecraft/entity/passive/HappyGhastEntity;setHasRopes(Z)V
      intermediary method_71011 Lnet/minecraft/class_11187;method_71011(Z)V
      official x Lcmt;x(Z)V
    • hasRopes

      public boolean hasRopes()
      Mappings:
      Namespace Name Mixin selector
      named hasRopes Lnet/minecraft/entity/passive/HappyGhastEntity;hasRopes()Z
      intermediary method_71010 Lnet/minecraft/class_11187;method_71010()Z
      official n Lcmt;n()Z
    • syncStayingStill

      private void syncStayingStill()
      Mappings:
      Namespace Name Mixin selector
      named syncStayingStill Lnet/minecraft/entity/passive/HappyGhastEntity;syncStayingStill()V
      intermediary method_71615 Lnet/minecraft/class_11187;method_71615()V
      official gU Lcmt;gU()V
    • isStayingStill

      public boolean isStayingStill()
      Mappings:
      Namespace Name Mixin selector
      named isStayingStill Lnet/minecraft/entity/passive/HappyGhastEntity;isStayingStill()Z
      intermediary method_71617 Lnet/minecraft/class_11187;method_71617()Z
      official t Lcmt;t()Z
    • hasQuadLeashAttachmentPoints

      public boolean hasQuadLeashAttachmentPoints()
      Overrides:
      hasQuadLeashAttachmentPoints in class Entity
      Mappings:
      Namespace Name Mixin selector
      named hasQuadLeashAttachmentPoints Lnet/minecraft/entity/Entity;hasQuadLeashAttachmentPoints()Z
      intermediary method_70986 Lnet/minecraft/class_1297;method_70986()Z
      official dL Lbzm;dL()Z
    • getHeldQuadLeashOffsets

      public Vec3d[] getHeldQuadLeashOffsets()
      Overrides:
      getHeldQuadLeashOffsets in class Entity
      Mappings:
      Namespace Name Mixin selector
      named getHeldQuadLeashOffsets Lnet/minecraft/entity/Entity;getHeldQuadLeashOffsets()[Lnet/minecraft/util/math/Vec3d;
      intermediary method_70985 Lnet/minecraft/class_1297;method_70985()[Lnet/minecraft/class_243;
      official dK Lbzm;dK()[Lfis;
    • getLeashOffset

      public Vec3d getLeashOffset()
      Mappings:
      Namespace Name Mixin selector
      named getLeashOffset Lnet/minecraft/entity/Leashable;getLeashOffset()Lnet/minecraft/util/math/Vec3d;
      intermediary method_29919 Lnet/minecraft/class_9817;method_29919()Lnet/minecraft/class_243;
      official F Lcak;F()Lfis;
    • getElasticLeashDistance

      public double getElasticLeashDistance()
      Mappings:
      Namespace Name Mixin selector
      named getElasticLeashDistance Lnet/minecraft/entity/Leashable;getElasticLeashDistance()D
      intermediary method_70990 Lnet/minecraft/class_9817;method_70990()D
      official B Lcak;B()D
    • getLeashSnappingDistance

      public double getLeashSnappingDistance()
      Mappings:
      Namespace Name Mixin selector
      named getLeashSnappingDistance Lnet/minecraft/entity/Leashable;getLeashSnappingDistance()D
      intermediary method_70989 Lnet/minecraft/class_9817;method_70989()D
      official A Lcak;A()D
    • onLongLeashTick

      public void onLongLeashTick()
      Mappings:
      Namespace Name Mixin selector
      named onLongLeashTick Lnet/minecraft/entity/Leashable;onLongLeashTick()V
      intermediary method_71006 Lnet/minecraft/class_9817;method_71006()V
      official z Lcak;z()V
    • tickHeldLeash

      public void tickHeldLeash(Leashable leashedEntity)
      Overrides:
      tickHeldLeash in class Entity
      Mappings:
      Namespace Name Mixin selector
      named tickHeldLeash Lnet/minecraft/entity/Entity;tickHeldLeash(Lnet/minecraft/entity/Leashable;)V
      intermediary method_70980 Lnet/minecraft/class_1297;method_70980(Lnet/minecraft/class_9817;)V
      official a Lbzm;a(Lcak;)V
    • writeCustomData

      public void writeCustomData(WriteView view)
      Overrides:
      writeCustomData in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named writeCustomData Lnet/minecraft/entity/Entity;writeCustomData(Lnet/minecraft/storage/WriteView;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_11372;)V
      official a Lbzm;a(Lfdc;)V
    • readCustomData

      public void readCustomData(ReadView view)
      Overrides:
      readCustomData in class AnimalEntity
      Mappings:
      Namespace Name Mixin selector
      named readCustomData Lnet/minecraft/entity/Entity;readCustomData(Lnet/minecraft/storage/ReadView;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_11368;)V
      official a Lbzm;a(Lfda;)V
    • method_72227

      public boolean method_72227()
      Mappings:
      Namespace Name Mixin selector
      named method_72227 Lnet/minecraft/entity/passive/HappyGhastEntity;method_72227()Z
      intermediary method_72227 Lnet/minecraft/class_11187;method_72227()Z
      official gH Lcmt;gH()Z
    • hasPlayerOnTop

      private boolean hasPlayerOnTop()
      Mappings:
      Namespace Name Mixin selector
      named hasPlayerOnTop Lnet/minecraft/entity/passive/HappyGhastEntity;hasPlayerOnTop()Z
      intermediary method_71616 Lnet/minecraft/class_11187;method_71616()Z
      official gV Lcmt;gV()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 O Lcao;O()Lcgg;
    • isCollidable

      public boolean isCollidable(Entity entity)
      Returns whether other entities cannot occupy the same space with this entity.

      If true, other entities can stand on this entity without falling. BoatEntity and ShulkerEntity has this behavior.

      Overrides:
      isCollidable in class Entity
      Returns:
      whether other entities cannot occupy the same space with this entity
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named isCollidable Lnet/minecraft/entity/Entity;isCollidable(Lnet/minecraft/entity/Entity;)Z
      intermediary method_30948 Lnet/minecraft/class_1297;method_30948(Lnet/minecraft/class_1297;)Z
      official j Lbzm;j(Lbzm;)Z
    • isFlyingVehicle

      public boolean isFlyingVehicle()
      Overrides:
      isFlyingVehicle in class Entity
      Mappings:
      Namespace Name Mixin selector
      named isFlyingVehicle Lnet/minecraft/entity/Entity;isFlyingVehicle()Z
      intermediary method_70987 Lnet/minecraft/class_1297;method_70987()Z
      official dZ Lbzm;dZ()Z