net.minecraft.world.entity.animal

public class HappyGhast

extends Animal

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, UniquelyIdentifyable, ScoreHolder, DataComponentGetter, Attackable, WaypointTransmitter, Waypoint, EquipmentUser, Leashable, Targeting

cmt
net.minecraft.world.entity.animal.HappyGhast
net.minecraft.class_11187
net.minecraft.entity.passive.HappyGhastEntity
net.minecraft.src.C_398553_

Field summary

Modifier and TypeField
public static final float
ck
BABY_SCALE
field_59681
field_59681
f_399940_
public static final int
cl
WANDER_GROUND_DISTANCE
field_59682
field_59682
f_398879_
public static final int
cm
SMALL_RESTRICTION_RADIUS
field_59683
field_59683
f_399198_
public static final int
co
LARGE_RESTRICTION_RADIUS
field_59684
field_59684
f_399249_
public static final int
cp
RESTRICTION_RADIUS_BUFFER
field_59685
field_59685
f_399195_
public static final int
cq
FAST_HEALING_TICKS
field_59686
field_59686
f_399714_
public static final int
cr
SLOW_HEALING_TICKS
field_59687
field_59687
f_399772_
public static final int
cs
MAX_PASSANGERS
field_59688
field_59688
f_398730_
private static final int
cv
STILL_TIMEOUT_ON_LOAD_GRACE_PERIOD
field_61061
field_61061
f_400207_
private static final int
cw
MAX_STILL_TIMEOUT
field_60551
field_60551
f_399211_
public static final float
ct
SPEED_MULTIPLIER_WHEN_PANICKING
field_59689
field_59689
f_400095_
public static final Predicate<ItemStack>
cu
IS_FOOD
field_59690
FOOD_PREDICATE
f_399912_
private int
cx
leashHolderTime
field_60008
ropeRemovalTimer
f_399213_
private int
cy
serverStillTimeout
field_60553
stillTimeout
f_399493_
private static final EntityDataAccessor<Boolean>
cz
IS_LEASH_HOLDER
field_60009
HAS_ROPES
f_399699_
private static final EntityDataAccessor<Boolean>
cA
STAYS_STILL
field_60549
STAYING_STILL
f_399614_
private static final float
cB
MAX_SCALE
field_60550
field_60550
f_400163_

Constructor summary

ModifierConstructor
public (EntityType<? extends HappyGhast> p_409344_, Level arg1)

Method summary

Modifier and TypeMethod
private void
s(int arg0)
setServerStillTimeout(int arg0)
method_72086(int arg0)
setStillTimeout(int stillTimeout)
m_401130_(int arg0)
private PathNavigation
c(dmu arg0)
createBabyNavigation(Level arg0)
method_70693(class_1937 arg0)
createGhastlingNavigation(World world)
m_403351_(C_1596_ arg0)
protected void
H()
registerGoals()
method_5959()
initGoals()
m_8099_()
private void
gI()
adultGhastSetup()
method_70703()
initAdultHappyGhast()
m_403727_()
private void
gJ()
babyGhastSetup()
method_70694()
initGhastling()
m_401103_()
protected void
h()
ageBoundaryReached()
method_5619()
onGrowUp()
m_30232_()
public static AttributeSupplier$Builder
m()
createAttributes()
method_70701()
createHappyGhastAttributes()
m_403903_()
protected float
c(float arg0)
sanitizeScale(float arg0)
method_56077(float arg0)
clampScale(float arg0)
m_319572_(float arg0)
protected void
a(double arg0, boolean arg1, eeb arg2, jb 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_7840_(double p_407425_, boolean p_410504_, C_2064_ arg2, C_4675_ arg3)
public boolean
eV()
onClimbable()
method_6101()
isClimbing()
m_6147_()
public void
k(fis arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public float
a(jb arg0, dmx arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_407202_, C_1599_ arg1)
public boolean
ek()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
protected boolean
gF()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
m_213814_()
protected void
b(jb arg0, eeb arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_407804_, C_2064_ arg1)
public float
fl()
getVoicePitch()
method_6017()
getSoundPitch()
m_6100_()
public SoundSource
do()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
public int
W()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
p()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
e(byb arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
f_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
public int
gk()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public AgeableMob
a(aub arg0, bzc arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_409422_, C_141062_ arg1)
public boolean
gO()
canFallInLove()
method_6482()
canEat()
m_5957_()
public float
ep()
getAgeScale()
method_17825()
getScaleFactor()
m_320705_()
public boolean
i(dcv arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
m_6898_(C_1391_ arg0)
public boolean
e(bzw arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
m_30729_(C_516_ arg0)
protected boolean
f(bzw arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
m_218379_(C_516_ arg0)
public InteractionResult
b(cut arg0, bxi arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 arg1)
interactMob(PlayerEntity arg0, Hand arg1)
m_6071_(C_1141_ p_410257_, C_470_ arg1)
private void
g(cut arg0)
doPlayerRide(Player arg0)
method_70691(class_1657 arg0)
addPassenger(PlayerEntity player)
m_402769_(C_1141_ arg0)
protected void
q(bzm arg0)
addPassenger(Entity arg0)
method_5627(class_1297 arg0)
addPassenger(Entity arg0)
m_20348_(C_507_ arg0)
protected void
r(bzm arg0)
removePassenger(Entity arg0)
method_5793(class_1297 arg0)
removePassenger(Entity arg0)
m_20351_(C_507_ arg0)
protected boolean
s(bzm arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
public LivingEntity
cY()
getControllingPassenger()
method_5642()
getControllingPassenger()
m_6688_()
protected Vec3
b(cut arg0, fis arg1)
getRiddenInput(Player arg0, Vec3 arg1)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
m_274312_(C_1141_ p_406620_, C_3046_ arg1)
protected Vec2
i(cam arg0)
getRiddenRotation(LivingEntity arg0)
method_70698(class_1309 arg0)
getGhastRotation(LivingEntity controllingEntity)
m_403173_(C_524_ arg0)
protected void
a(cut arg0, fis arg1)
tickRidden(Player arg0, Vec3 arg1)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
m_274498_(C_1141_ p_410192_, C_3046_ arg1)
protected Brain$Provider<HappyGhast>
ei()
brainProvider()
method_28306()
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_8075_(com.mojang.serialization.Dynamic<?> arg0)
protected void
a(aub arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
m_8024_(C_12_ arg0)
public void
g()
tick()
method_5773()
tick()
m_8119_()
public void
e_()
aiStep()
method_6007()
tickMovement()
m_8107_()
private int
gK()
getHappyGhastRestrictionRadius()
method_70695()
getUpdatedPositionTargetRange()
m_401956_()
private void
gL()
checkRestriction()
method_70696()
updatePositionTarget()
m_404017_()
private void
gT()
continuousHeal()
method_70697()
tickRegeneration()
m_404349_()
protected void
ah()
sendDebugPackets()
method_18409()
sendAiDebugData()
m_8025_()
protected void
a(all$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 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_401917_(boolean arg0)
public boolean
n()
isLeashHolder()
method_71010()
hasRopes()
m_403390_()
private void
gU()
syncStayStillFlag()
method_71615()
syncStayingStill()
m_404043_()
public boolean
t()
staysStill()
method_71617()
isStayingStill()
m_403272_()
public boolean
dL()
supportQuadLeashAsHolder()
method_70986()
hasQuadLeashAttachmentPoints()
m_5829_()
public Vec3[]
dK()
getQuadLeashHolderOffsets()
method_70985()
getHeldQuadLeashOffsets()
m_401273_()
public Vec3
F()
getLeashOffset()
method_29919()
getLeashOffset()
m_27831_()
public double
B()
leashElasticDistance()
method_70990()
getElasticLeashDistance()
m_402048_()
public double
A()
leashSnapDistance()
method_70989()
getLeashSnappingDistance()
m_401111_()
public void
z()
onElasticLeashPull()
method_71006()
onLongLeashTick()
m_401765_()
public void
a(cak arg0)
notifyLeashHolder(Leashable arg0)
method_70980(class_9817 arg0)
tickHeldLeash(Leashable arg0)
m_401619_(C_336597_ arg0)
public void
a(fdc arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_7380_(C_398537_ arg0)
public void
a(fda arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_7378_(C_398549_ arg0)
public boolean
gH()
isOnStillTimeout()
method_72227()
method_72227()
m_403665_()
private boolean
gV()
scanPlayerAboveGhast()
method_71616()
hasPlayerOnTop()
m_402795_()
protected BodyRotationControl
O()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()
public boolean
j(bzm arg0)
canBeCollidedWith(Entity arg0)
method_30948(class_1297 arg0)
isCollidable(Entity arg0)
m_33436_(C_507_ arg0)
public boolean
dZ()
isFlyingVehicle()
method_70987()
isFlyingVehicle()
m_402399_()