Class HappyGhastEntity

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

public class HappyGhastEntity extends AnimalEntity
Mappings:
Namespace Name
named net/minecraft/entity/passive/HappyGhastEntity
intermediary net/minecraft/class_11187
official cwk
  • 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 cv Lcwk;cv: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 cw Lcwk;cw: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 cx Lcwk;cx: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 cz Lcwk;cz: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 cA Lcwk;cA: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 cB Lcwk;cB: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 cC Lcwk;cC: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 cD Lcwk;cD: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 cF Lcwk;cF: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 cG Lcwk;cG: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 cE Lcwk;cE:F
    • 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 cJ Lcwk;cJ:Lalw;
    • 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 cK Lcwk;cK:Lalw;
    • 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 cL Lcwk;cL: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 cH Lcwk;cH: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 cI Lcwk;cI: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> Lcgk;<init>(Lcgu;Ldwo;)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 Lcwk;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 Lcwk;c(Ldwo;)Lcre;
    • 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 D Lchn;D()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 gS Lcwk;gS()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 gT Lcwk;gT()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 Lcfy;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 p Lcwk;p()Lcir$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 Lchl;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 Lcgk;a(DZLeoh;Lis;)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 fl Lchl;fl()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 m Lchl;m(Lftm;)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 Lcht;a(Lis;Ldwr;)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 ey Lchl;ey()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 gN Lcht;gN()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 Lcgk;b(Lis;Leoh;)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 fD Lchl;fD()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 dB Lcgk;dB()Lbdb;
    • 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 S Lchn;S()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 W Lchn;W()Lbcz;
    • 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 h Lchl;h(Lcex;)Lbcz;
    • 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 fd Lchl;fd()Lbcz;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
      intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
      official fC Lchl;fC()F
    • 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 aj Lchn;aj()I
    • createChild

      public @Nullable PassiveEntity createChild(ServerWorld world, PassiveEntity entity)
      Specified by:
      createChild in class PassiveEntity
      Mappings:
      Namespace Name Mixin selector
      named createChild Lnet/minecraft/entity/passive/PassiveEntity;createChild(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/entity/passive/PassiveEntity;)Lnet/minecraft/entity/passive/PassiveEntity;
      intermediary method_5613 Lnet/minecraft/class_1296;method_5613(Lnet/minecraft/class_3218;Lnet/minecraft/class_1296;)Lnet/minecraft/class_1296;
      official a Lcfy;a(Laxf;Lcfy;)Lcfy;
    • 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 gY Lcth;gY()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 eE Lchl;eE()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 j Lcth;j(Ldlt;)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 Lchl;e(Lcgv;)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 Lchl;f(Lcgv;)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 Lchn;b(Lddm;Lcdb;)Lcdc;
    • 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 Lcwk;g(Lddm;)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 Lcgk;q(Lcgk;)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 Lcgk;r(Lcgk;)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 Lcgk;s(Lcgk;)Z
    • getControllingPassenger

      public @Nullable 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 dl Lcgk;dl()Lchl;
    • 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 Lchl;b(Lddm;Lftm;)Lftm;
    • 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 Lcwk;i(Lchl;)Lftl;
    • 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 Lchl;a(Lddm;Lftm;)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 ew Lchl;ew()Lcim$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 Lchl;a(Lcom/mojang/serialization/Dynamic;)Lcim;
    • 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 Lchn;a(Laxf;)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 Lcgk;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 d_ Lchl;d_()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 gU Lcwk;gU()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 gV Lcwk;gV()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 hd Lcwk;hd()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 Lcgk;a(Lama$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 Lcwk;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 gP Lcwk;gP()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 he Lcwk;he()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 gQ Lcwk;gQ()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 dY Lcgk;dY()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 dX Lcgk;dX()[Lftm;
    • 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 B Lchj;B()Lftm;
    • 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 x Lchj;x()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 w Lchj;w()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 v Lchj;v()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 Lcgk;a(Lchj;)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 Lcgk;a(Lfns;)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 Lcgk;a(Lfnq;)V
    • isStill

      public boolean isStill()
      Mappings:
      Namespace Name Mixin selector
      named isStill Lnet/minecraft/entity/passive/HappyGhastEntity;isStill()Z
      intermediary method_72227 Lnet/minecraft/class_11187;method_72227()Z
      official gR Lcwk;gR()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 hf Lcwk;hf()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 I Lchn;I()Lcnl;
    • isCollidable

      public boolean isCollidable(@Nullable 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 Lcgk;j(Lcgk;)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 em Lcgk;em()Z
    • updatePassengerForDismount

      public Vec3d updatePassengerForDismount(LivingEntity passenger)
      Returns the position of the dismounted passenger.

      Vehicles should override this to return a suitable dismounting position for the passenger. Check the implementation of the subclass for details.

      Overrides:
      updatePassengerForDismount in class AnimalEntity
      Returns:
      the position of the dismounted passenger
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named updatePassengerForDismount Lnet/minecraft/entity/Entity;updatePassengerForDismount(Lnet/minecraft/entity/LivingEntity;)Lnet/minecraft/util/math/Vec3d;
      intermediary method_24829 Lnet/minecraft/class_1297;method_24829(Lnet/minecraft/class_1309;)Lnet/minecraft/class_243;
      official b Lcgk;b(Lchl;)Lftm;