net.minecraft.entity.passive

public class HappyGhastEntity

extends AnimalEntity

All mapped superinterfaces:

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

crg
net.minecraft.world.entity.animal.HappyGhast
net.minecraft.class_11187
net.minecraft.entity.passive.HappyGhastEntity
net.minecraft.unmapped.C_wzkkvkls
net.minecraft.entity.passive.HappyGhastEntity
net.minecraft.src.C_398553_

Field summary

Modifier and TypeField
public static final float
ct
BABY_SCALE
field_59681
field_59681
f_jntojery
BABY_SCALE
f_399940_
public static final int
cu
WANDER_GROUND_DISTANCE
field_59682
field_59682
f_clevjoid
GROUND_WANDER_DISTANCE
f_398879_
public static final int
cv
SMALL_RESTRICTION_RADIUS
field_59683
field_59683
f_pehaleas
SMALL_WANDER_RANGE
f_399198_
public static final int
cx
LARGE_RESTRICTION_RADIUS
field_59684
field_59684
f_cbtbbwlq
LARGE_WANDER_RANGE
f_399249_
public static final int
cy
RESTRICTION_RADIUS_BUFFER
field_59685
field_59685
f_xsicunjx
WANDER_RANGE_BUFFER
f_399195_
public static final int
cz
FAST_HEALING_TICKS
field_59686
field_59686
f_hmcyrgxz
FAST_HEALING_INTERVAL
f_399714_
public static final int
cA
SLOW_HEALING_TICKS
field_59687
field_59687
f_ygpcnmnn
SLOW_HEALING_INTERVAL
f_399772_
public static final int
cB
MAX_PASSANGERS
field_59688
field_59688
f_clqynxen
MAX_PASSENGERS
f_398730_
private static final int
cE
STILL_TIMEOUT_ON_LOAD_GRACE_PERIOD
field_61061
field_61061
f_onisumpp
f_400207_
private static final int
cF
MAX_STILL_TIMEOUT
field_60551
field_60551
f_tgzfmezj
f_399211_
public static final float
cC
SPEED_MULTIPLIER_WHEN_PANICKING
field_59689
field_59689
f_rnovxmbk
PANIC_SPEED_MULTIPLIER
f_400095_
public static final Predicate<ItemStack>
cD
IS_FOOD
field_59690
FOOD_PREDICATE
f_xkpejagy
IS_FOOD
f_399912_
private int
cG
leashHolderTime
field_60008
ropeRemovalTimer
f_mvhmpewb
ropeRemovalTimer
f_399213_
private int
cH
serverStillTimeout
field_60553
stillTimeout
f_vdxvfaiu
f_399493_
private static final TrackedData<Boolean>
cI
IS_LEASH_HOLDER
field_60009
HAS_ROPES
f_qdoqzjtl
HAS_ROPES
f_399699_
private static final TrackedData<Boolean>
cJ
STAYS_STILL
field_60549
STAYING_STILL
f_tzpoielm
f_399614_
private static final float
cK
MAX_SCALE
field_60550
field_60550
f_ocepihwm
f_400163_

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_401130_(int arg0)
private EntityNavigation
c(drq arg0)
createBabyNavigation(Level arg0)
method_70693(class_1937 arg0)
createGhastlingNavigation(World world)
m_emnrqjuu(C_cdctfzbn arg0)
createBabyNavigation(World world)
m_403351_(C_1596_ arg0)
protected void
H()
registerGoals()
method_5959()
initGoals()
m_itjttsuo()
initGoals()
m_8099_()
private void
gJ()
adultGhastSetup()
method_70703()
initAdultHappyGhast()
m_mnpzfhmi()
initializeAdult()
m_403727_()
private void
gK()
babyGhastSetup()
method_70694()
initGhastling()
m_zpmedffw()
initializeBaby()
m_401103_()
protected void
h()
ageBoundaryReached()
method_5619()
onGrowUp()
m_xdpbetzz()
onAgeStageChange()
m_30232_()
public static DefaultAttributeContainer$Builder
m()
createAttributes()
method_70701()
createHappyGhastAttributes()
m_nxvzsgli()
buildAttributes()
m_403903_()
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, ejm arg2, ja 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_407425_, boolean p_410504_, C_2064_ arg2, C_4675_ arg3)
public boolean
fe()
onClimbable()
method_6101()
isClimbing()
m_uuypiexz()
isClimbing()
m_6147_()
public void
m(foh 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(ja o, drt 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_407202_, C_1599_ arg1)
public boolean
et()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_hbdaqklu()
canBreatheInWater()
m_6040_()
protected boolean
gG()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
m_pimoyepk()
runsFromLeash()
m_213814_()
protected void
b(ja o, ejm 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_407804_, C_2064_ arg1)
public float
fu()
getVoicePitch()
method_6017()
getSoundPitch()
m_anszxika()
getSoundPitch()
m_6100_()
public SoundCategory
dw()
getSoundSource()
method_5634()
getSoundCategory()
m_nsggwems()
getSoundCategory()
m_5720_()
public int
W()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_pswyixar()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
p()
getAmbientSound()
method_5994()
getAmbientSound()
m_jjefzxbm()
getAmbientSound()
m_7515_()
protected SoundEvent
e(cci 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
f_()
getDeathSound()
method_6002()
getDeathSound()
m_axkhmdzu()
getDeathSound()
m_5592_()
protected float
ft()
getSoundVolume()
method_6107()
getSoundVolume()
m_oafzlopj()
getSoundVolume()
m_6121_()
public int
ak()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_ywtdditi()
getLimitPerChunk()
m_5792_()
public PassiveEntity
a(awx o, cdj 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_409422_, C_141062_ arg1)
public boolean
gP()
canFallInLove()
method_6482()
canEat()
m_ajdkrylg()
canEat()
m_5957_()
public float
ez()
getAgeScale()
method_17825()
getScaleFactor()
m_rzywzrvn()
getAgeScale()
m_320705_()
public boolean
i(dhp 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(cef arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
m_xcvctlld(C_yuycoehb arg0)
canUseSlot(EquipmentSlot arg0)
m_30729_(C_516_ arg0)
protected boolean
f(cef 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(czl o, cbp 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_410257_, C_470_ arg1)
private void
g(czl arg0)
doPlayerRide(Player arg0)
method_70691(class_1657 arg0)
addPassenger(PlayerEntity player)
m_zhtgaqpz(C_jzrpycqo arg0)
addRider(PlayerEntity rider)
m_402769_(C_1141_ arg0)
protected void
q(cdv 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(cdv 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(cdv 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
dg()
getControllingPassenger()
method_5642()
getControllingPassenger()
m_cvqrfbej()
getPrimaryPassenger()
m_6688_()
protected Vec3d
b(czl o, foh 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_406620_, C_3046_ arg1)
protected Vec2f
i(cew arg0)
getRiddenRotation(LivingEntity arg0)
method_70698(class_1309 arg0)
getGhastRotation(LivingEntity controllingEntity)
m_ujusixbc(C_usxaxydn arg0)
getControlledTargetRotation(LivingEntity entity)
m_403173_(C_524_ arg0)
protected void
a(czl o, foh 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_410192_, C_3046_ arg1)
protected Brain$Profile<HappyGhastEntity>
er()
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(awx 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
e_()
aiStep()
method_6007()
tickMovement()
m_alyudxll()
tickMovement()
m_8107_()
private int
gL()
getHappyGhastRestrictionRadius()
method_70695()
getUpdatedPositionTargetRange()
m_veajgkbj()
getWanderRange()
m_401956_()
private void
gM()
checkRestriction()
method_70696()
updatePositionTarget()
m_qbfuoikt()
updateWanderCenter()
m_404017_()
private void
gU()
continuousHeal()
method_70697()
tickRegeneration()
m_jeqnrrfw()
tickHealing()
m_404349_()
protected void
a(alq$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_401917_(boolean arg0)
public boolean
n()
isLeashHolder()
method_71010()
hasRopes()
m_wdhurxyc()
hasRopes()
m_403390_()
private void
gV()
syncStayStillFlag()
method_71615()
syncStayingStill()
m_namubhqp()
m_404043_()
public boolean
s()
staysStill()
method_71617()
isStayingStill()
m_aayjwmie()
m_403272_()
public boolean
dT()
supportQuadLeashAsHolder()
method_70986()
hasQuadLeashAttachmentPoints()
m_pzlijzih()
canHoldQuadLeash()
m_5829_()
public Vec3d[]
dS()
getQuadLeashHolderOffsets()
method_70985()
getHeldQuadLeashOffsets()
m_katwnnys()
getQuadLeashHoldOffsets()
m_401273_()
public Vec3d
F()
getLeashOffset()
method_29919()
getLeashOffset()
m_klnnueyu()
getLeashOffset()
m_27831_()
public double
B()
leashElasticDistance()
method_70990()
getElasticLeashDistance()
m_dtqzazqr()
getPullThreshold()
m_402048_()
public double
A()
leashSnapDistance()
method_70989()
getLeashSnappingDistance()
m_twruooup()
getMaxLeashLength()
m_401111_()
public void
z()
onElasticLeashPull()
method_71006()
onLongLeashTick()
m_kangjhum()
onLeashPull()
m_401765_()
public void
a(ceu 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(fir 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(fip 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
gI()
isOnStillTimeout()
method_72227()
isStill()
m_eeiwldcz()
m_403665_()
private boolean
gW()
scanPlayerAboveGhast()
method_71616()
hasPlayerOnTop()
m_uwuzmthz()
m_402795_()
protected BodyControl
N()
createBodyControl()
method_5963()
createBodyControl()
m_mbyporyt()
createBodyControl()
m_7560_()
public boolean
j(cdv 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
eh()
isFlyingVehicle()
method_70987()
isFlyingVehicle()
m_npswckps()
isFlyingVehicle()
m_402399_()