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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
s(int arg0)
setServerStillTimeout(int arg0)
method_72086(int arg0)
setStillTimeout(int stillTimeout)
private PathNavigation
c(dmu arg0)
createBabyNavigation(Level arg0)
method_70693(class_1937 arg0)
createGhastlingNavigation(World world)
protected void
H()
registerGoals()
method_5959()
initGoals()
private void
gI()
adultGhastSetup()
method_70703()
initAdultHappyGhast()
private void
gJ()
babyGhastSetup()
method_70694()
initGhastling()
protected void
h()
ageBoundaryReached()
method_5619()
onGrowUp()
public static AttributeSupplier$Builder
m()
createAttributes()
method_70701()
createHappyGhastAttributes()
protected float
c(float arg0)
sanitizeScale(float arg0)
method_56077(float arg0)
clampScale(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)
public boolean
eV()
onClimbable()
method_6101()
isClimbing()
public void
k(fis arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d 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)
public boolean
ek()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
protected boolean
gF()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
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)
public float
fl()
getVoicePitch()
method_6017()
getSoundPitch()
public SoundSource
do()
getSoundSource()
method_5634()
getSoundCategory()
public int
W()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
protected SoundEvent
p()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(byb arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
f_()
getDeathSound()
method_6002()
getDeathSound()
public int
gk()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
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)
public boolean
gO()
canFallInLove()
method_6482()
canEat()
public float
ep()
getAgeScale()
method_17825()
getScaleFactor()
public boolean
i(dcv arg0)
isFood(ItemStack arg0)
method_6481(class_1799 arg0)
isBreedingItem(ItemStack arg0)
public boolean
e(bzw arg0)
canUseSlot(EquipmentSlot arg0)
method_56991(class_1304 arg0)
canUseSlot(EquipmentSlot arg0)
protected boolean
f(bzw arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot 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)
private void
g(cut arg0)
doPlayerRide(Player arg0)
method_70691(class_1657 arg0)
addPassenger(PlayerEntity player)
protected void
q(bzm arg0)
addPassenger(Entity arg0)
method_5627(class_1297 arg0)
addPassenger(Entity arg0)
protected void
r(bzm arg0)
removePassenger(Entity arg0)
method_5793(class_1297 arg0)
removePassenger(Entity arg0)
protected boolean
s(bzm arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
public LivingEntity
cY()
getControllingPassenger()
method_5642()
getControllingPassenger()
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)
protected Vec2
i(cam arg0)
getRiddenRotation(LivingEntity arg0)
method_70698(class_1309 arg0)
getGhastRotation(LivingEntity controllingEntity)
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)
protected Brain$Provider<HappyGhast>
ei()
brainProvider()
method_28306()
createBrainProfile()
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)
protected void
a(aub arg0)
customServerAiStep(ServerLevel arg0)
method_5958(class_3218 arg0)
mobTick(ServerWorld arg0)
public void
g()
tick()
method_5773()
tick()
public void
e_()
aiStep()
method_6007()
tickMovement()
private int
gK()
getHappyGhastRestrictionRadius()
method_70695()
getUpdatedPositionTargetRange()
private void
gL()
checkRestriction()
method_70696()
updatePositionTarget()
private void
gT()
continuousHeal()
method_70697()
tickRegeneration()
protected void
ah()
sendDebugPackets()
method_18409()
sendAiDebugData()
protected void
a(all$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
private void
x(boolean arg0)
setLeashHolder(boolean arg0)
method_71011(boolean arg0)
setHasRopes(boolean hasRopes)
public boolean
n()
isLeashHolder()
method_71010()
hasRopes()
private void
gU()
syncStayStillFlag()
method_71615()
syncStayingStill()
public boolean
t()
staysStill()
method_71617()
isStayingStill()
public boolean
dL()
supportQuadLeashAsHolder()
method_70986()
hasQuadLeashAttachmentPoints()
public Vec3[]
dK()
getQuadLeashHolderOffsets()
method_70985()
getHeldQuadLeashOffsets()
public Vec3
F()
getLeashOffset()
method_29919()
getLeashOffset()
public double
B()
leashElasticDistance()
method_70990()
getElasticLeashDistance()
public double
A()
leashSnapDistance()
method_70989()
getLeashSnappingDistance()
public void
z()
onElasticLeashPull()
method_71006()
onLongLeashTick()
public void
a(cak arg0)
notifyLeashHolder(Leashable arg0)
method_70980(class_9817 arg0)
tickHeldLeash(Leashable arg0)
public void
a(fdc arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
public void
a(fda arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public boolean
gH()
isOnStillTimeout()
method_72227()
method_72227()
private boolean
gV()
scanPlayerAboveGhast()
method_71616()
hasPlayerOnTop()
protected BodyRotationControl
O()
createBodyControl()
method_5963()
createBodyControl()
public boolean
j(bzm arg0)
canBeCollidedWith(Entity arg0)
method_30948(class_1297 arg0)
isCollidable(Entity arg0)
public boolean
dZ()
isFlyingVehicle()
method_70987()
isFlyingVehicle()