net.minecraft.entity.passive

public class HappyGhastEntity

extends AnimalEntity

All mapped superinterfaces:

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

cwk
net.minecraft.world.entity.animal.happyghast.HappyGhast
net.minecraft.class_11187
net.minecraft.entity.passive.HappyGhastEntity
net.minecraft.unmapped.C_wzkkvkls
net.minecraft.entity.passive.HappyGhastEntity
net.minecraft.src.C_432930_

Field summary

Modifier and TypeField
public static final float
cv
BABY_SCALE
field_59681
field_59681
f_jntojery
BABY_SCALE
f_433994_
public static final int
cw
WANDER_GROUND_DISTANCE
field_59682
field_59682
f_clevjoid
GROUND_WANDER_DISTANCE
f_433681_
public static final int
cx
SMALL_RESTRICTION_RADIUS
field_59683
field_59683
f_pehaleas
SMALL_WANDER_RANGE
f_434231_
public static final int
cz
LARGE_RESTRICTION_RADIUS
field_59684
field_59684
f_cbtbbwlq
LARGE_WANDER_RANGE
f_433256_
public static final int
cA
RESTRICTION_RADIUS_BUFFER
field_59685
field_59685
f_xsicunjx
WANDER_RANGE_BUFFER
f_435223_
public static final int
cB
FAST_HEALING_TICKS
field_59686
field_59686
f_hmcyrgxz
FAST_HEALING_INTERVAL
f_433347_
public static final int
cC
SLOW_HEALING_TICKS
field_59687
field_59687
f_ygpcnmnn
SLOW_HEALING_INTERVAL
f_436322_
public static final int
cD
MAX_PASSANGERS
field_59688
field_59688
f_clqynxen
MAX_PASSENGERS
f_436781_
private static final int
cF
STILL_TIMEOUT_ON_LOAD_GRACE_PERIOD
field_61061
field_61061
f_onisumpp
f_434289_
private static final int
cG
MAX_STILL_TIMEOUT
field_60551
field_60551
f_tgzfmezj
f_436785_
public static final float
cE
SPEED_MULTIPLIER_WHEN_PANICKING
field_59689
field_59689
f_rnovxmbk
PANIC_SPEED_MULTIPLIER
f_433866_
private int
cH
leashHolderTime
field_60008
ropeRemovalTimer
f_mvhmpewb
ropeRemovalTimer
f_435010_
private int
cI
serverStillTimeout
field_60553
stillTimeout
f_vdxvfaiu
f_436018_
private static final TrackedData<Boolean>
cJ
IS_LEASH_HOLDER
field_60009
HAS_ROPES
f_qdoqzjtl
HAS_ROPES
f_436097_
private static final TrackedData<Boolean>
cK
STAYS_STILL
field_60549
STAYING_STILL
f_tzpoielm
f_434208_
private static final float
cL
MAX_SCALE
field_60550
field_60550
f_ocepihwm
f_433727_

Constructor summary

ModifierConstructor
public (EntityType<? extends HappyGhastEntity> type, World world)

Method summary

Modifier and TypeMethod
private void
s(int arg0)
setServerStillTimeout(int arg0)
method_72086(int arg0)
setStillTimeout(int stillTimeout)
m_bremtawf(int arg0)
m_445614_(int arg0)
private EntityNavigation
c(dwo arg0)
createBabyNavigation(Level arg0)
method_70693(class_1937 arg0)
createGhastlingNavigation(World world)
m_emnrqjuu(C_cdctfzbn arg0)
createBabyNavigation(World world)
m_441938_(C_1596_ arg0)
protected void
D()
registerGoals()
method_5959()
initGoals()
m_itjttsuo()
initGoals()
m_8099_()
private void
gS()
adultGhastSetup()
method_70703()
initAdultHappyGhast()
m_mnpzfhmi()
initializeAdult()
m_441548_()
private void
gT()
babyGhastSetup()
method_70694()
initGhastling()
m_zpmedffw()
initializeBaby()
m_440483_()
protected void
h()
ageBoundaryReached()
method_5619()
onGrowUp()
m_xdpbetzz()
onAgeStageChange()
m_34563_()
public static DefaultAttributeContainer$Builder
p()
createAttributes()
method_70701()
createHappyGhastAttributes()
m_nxvzsgli()
buildAttributes()
m_447517_()
protected float
c(float arg0)
sanitizeScale(float arg0)
method_56077(float arg0)
clampScale(float arg0)
m_uzfdrlrs(float arg0)
clampScale(float arg0)
m_319572_(float arg0)
protected void
a(double o, boolean o, eoh arg2, is arg3)
checkFallDamage(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
m_cckfyxyf(double arg0, boolean arg1, C_txtbiemp arg2, C_hynzadkk arg3)
onFall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
m_7840_(double p_451860_, boolean p_459414_, C_2064_ arg2, C_4675_ arg3)
public boolean
fl()
onClimbable()
method_6101()
isClimbing()
m_uuypiexz()
isClimbing()
m_6147_()
public void
m(ftm arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_pdfqoxex(C_vgpupfxx arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public float
a(is o, dwr arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_omcdcxbz(C_hynzadkk arg0, C_eemzphbi arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_460504_, C_1599_ arg1)
public boolean
ey()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_hbdaqklu()
canBreatheInWater()
m_6040_()
protected boolean
gN()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
m_pimoyepk()
runsFromLeash()
m_213814_()
protected void
b(is o, eoh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_rnleirmb(C_hynzadkk arg0, C_txtbiemp arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_450468_, C_2064_ arg1)
public float
fD()
getVoicePitch()
method_6017()
getSoundPitch()
m_anszxika()
getSoundPitch()
m_6100_()
public SoundCategory
dB()
getSoundSource()
method_5634()
getSoundCategory()
m_nsggwems()
getSoundCategory()
m_5720_()
public int
S()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_pswyixar()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
W()
getAmbientSound()
method_5994()
getAmbientSound()
m_jjefzxbm()
getAmbientSound()
m_7515_()
protected SoundEvent
h(cex arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fd()
getDeathSound()
method_6002()
getDeathSound()
m_axkhmdzu()
getDeathSound()
m_5592_()
protected float
fC()
getSoundVolume()
method_6107()
getSoundVolume()
m_oafzlopj()
getSoundVolume()
m_6121_()
public int
aj()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_ywtdditi()
getLimitPerChunk()
m_5792_()
public PassiveEntity
a(axf o, cfy arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_hftuejnb(C_bdwnwhiu arg0, C_jvojbnla arg1)
createChild(ServerWorld arg0, AgingEntity arg1)
m_142606_(C_12_ p_452186_, C_141062_ arg1)
public boolean
gY()
canFallInLove()
method_6482()
canEat()
m_ajdkrylg()
canEat()
m_5957_()
public float
eE()
getAgeScale()
method_17825()
getScaleFactor()
m_rzywzrvn()
getAgeScale()
m_320705_()
public boolean
j(dlt arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_njyokwrm(C_sddaxwyk arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public boolean
e(cgv arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
m_xcvctlld(C_yuycoehb arg0)
canUseSlot(EquipmentSlot arg0)
m_321348_(C_516_ arg0)
protected boolean
f(cgv arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
m_zqlgoica(C_yuycoehb arg0)
canDispenserEquipInto(EquipmentSlot arg0)
m_218379_(C_516_ arg0)
public ActionResult
b(ddm o, cdb arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_kuhfocmh(C_jzrpycqo arg0, C_laxmzoqs arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_460401_, C_470_ arg1)
private void
g(ddm arg0)
doPlayerRide(Player arg0)
method_70691(class_1657 arg0)
addPassenger(PlayerEntity player)
m_zhtgaqpz(C_jzrpycqo arg0)
addRider(PlayerEntity rider)
m_442370_(C_1141_ arg0)
protected void
q(cgk arg0)
addPassenger(Entity arg0)
method_5627(class_1297 arg0)
addPassenger(Entity arg0)
m_ejhzkfsp(C_astfners arg0)
addPassenger(Entity arg0)
m_20348_(C_507_ arg0)
protected void
r(cgk arg0)
removePassenger(Entity arg0)
method_5793(class_1297 arg0)
removePassenger(Entity arg0)
m_wtbkyvms(C_astfners arg0)
removePassenger(Entity arg0)
m_20351_(C_507_ arg0)
protected boolean
s(cgk arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_wkqvrgdz(C_astfners arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
public LivingEntity
dl()
getControllingPassenger()
method_5642()
getControllingPassenger()
m_cvqrfbej()
getPrimaryPassenger()
m_6688_()
protected Vec3d
b(ddm o, ftm arg1)
getRiddenInput(Player arg0, Vec3 arg1)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
m_mzepiaxw(C_jzrpycqo arg0, C_vgpupfxx arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
m_274312_(C_1141_ p_457053_, C_3046_ arg1)
protected Vec2f
i(chl arg0)
getRiddenRotation(LivingEntity arg0)
method_70698(class_1309 arg0)
getGhastRotation(LivingEntity controllingEntity)
m_ujusixbc(C_usxaxydn arg0)
getControlledTargetRotation(LivingEntity entity)
m_439429_(C_524_ arg0)
protected void
a(ddm o, ftm arg1)
tickRidden(Player arg0, Vec3 arg1)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
m_uhjfbatb(C_jzrpycqo arg0, C_vgpupfxx arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
m_274498_(C_1141_ p_450697_, C_3046_ arg1)
protected Brain$Profile<HappyGhastEntity>
ew()
brainProvider()
method_28306()
createBrainProfile()
m_pusvfpox()
createBrainProfile()
m_5490_()
protected Brain<?>
a(com.mojang.serialization.Dynamic<?> arg0)
makeBrain(com.mojang.serialization.Dynamic<?> arg0)
method_18867(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_epkzhkqg(com.mojang.serialization.Dynamic<?> arg0)
deserializeBrain(com.mojang.serialization.Dynamic<?> arg0)
m_8075_(com.mojang.serialization.Dynamic<?> arg0)
protected void
a(axf arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
m_wbeiezxn(C_bdwnwhiu arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
public void
g()
tick()
method_5773()
tick()
m_arkgrfeb()
tick()
m_8119_()
public void
d_()
aiStep()
method_6007()
tickMovement()
m_alyudxll()
tickMovement()
m_8107_()
private int
gU()
getHappyGhastRestrictionRadius()
method_70695()
getUpdatedPositionTargetRange()
m_veajgkbj()
getWanderRange()
m_441254_()
private void
gV()
checkRestriction()
method_70696()
updatePositionTarget()
m_qbfuoikt()
updateWanderCenter()
m_442589_()
private void
hd()
continuousHeal()
method_70697()
tickRegeneration()
m_jeqnrrfw()
tickHealing()
m_446246_()
protected void
a(ama$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
private void
x(boolean arg0)
setLeashHolder(boolean arg0)
method_71011(boolean arg0)
setHasRopes(boolean hasRopes)
m_fylccoco(boolean arg0)
setHasRopes(boolean ropes)
m_442219_(boolean arg0)
public boolean
gP()
isLeashHolder()
method_71010()
hasRopes()
m_wdhurxyc()
hasRopes()
m_440097_()
private void
he()
syncStayStillFlag()
method_71615()
syncStayingStill()
m_namubhqp()
m_447206_()
public boolean
gQ()
staysStill()
method_71617()
isStayingStill()
m_aayjwmie()
m_443719_()
public boolean
dY()
supportQuadLeashAsHolder()
method_70986()
hasQuadLeashAttachmentPoints()
m_pzlijzih()
canHoldQuadLeash()
m_5829_()
public Vec3d[]
dX()
getQuadLeashHolderOffsets()
method_70985()
getHeldQuadLeashOffsets()
m_katwnnys()
getQuadLeashHoldOffsets()
m_401273_()
public Vec3d
B()
getLeashOffset()
method_29919()
getLeashOffset()
m_klnnueyu()
getLeashOffset()
m_33927_()
public double
x()
leashElasticDistance()
method_70990()
getElasticLeashDistance()
m_dtqzazqr()
getPullThreshold()
m_403384_()
public double
w()
leashSnapDistance()
method_70989()
getLeashSnappingDistance()
m_twruooup()
getMaxLeashLength()
m_403789_()
public void
v()
onElasticLeashPull()
method_71006()
onLongLeashTick()
m_kangjhum()
onLeashPull()
m_401765_()
public void
a(chj arg0)
notifyLeashHolder(Leashable arg0)
method_70980(class_9817 arg0)
tickHeldLeash(Leashable arg0)
m_vlqpuvgl(C_gbavazgo arg0)
tickLeashHolder(Leashable arg0)
m_401619_(C_336597_ arg0)
public void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_xuwbpohg(C_kespdwpv arg0)
writeCustomData(DataWriter arg0)
m_7380_(C_398537_ arg0)
public void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_obkzfysl(C_djkzhngg arg0)
readCustomData(DataReader arg0)
m_7378_(C_398549_ arg0)
public boolean
gR()
isOnStillTimeout()
method_72227()
isStill()
m_eeiwldcz()
m_442336_()
private boolean
hf()
scanPlayerAboveGhast()
method_71616()
hasPlayerOnTop()
m_uwuzmthz()
m_443558_()
protected BodyControl
I()
createBodyControl()
method_5963()
createBodyControl()
m_mbyporyt()
createBodyControl()
m_7560_()
public boolean
j(cgk arg0)
canBeCollidedWith(Entity arg0)
method_30948(class_1297 arg0)
isCollidable(Entity arg0)
m_mvydwrgl(C_astfners arg0)
isCollidable(Entity arg0)
m_33436_(C_507_ arg0)
public boolean
em()
isFlyingVehicle()
method_70987()
isFlyingVehicle()
m_npswckps()
isFlyingVehicle()
m_402399_()
public Vec3d
b(chl arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
m_uoqfuwph(C_usxaxydn arg0)
updatePassengerForDismount(LivingEntity arg0)
m_7688_(C_524_ arg0)