net.minecraft.world.entity.animal.happyghast

public class HappyGhast

extends Animal

All mapped superinterfaces:

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

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

字段概要

修饰符与类型字段
public static final float
cv
BABY_SCALE
field_59681
field_59681
f_433994_
public static final int
cw
WANDER_GROUND_DISTANCE
field_59682
field_59682
f_433681_
public static final int
cx
SMALL_RESTRICTION_RADIUS
field_59683
field_59683
f_434231_
public static final int
cz
LARGE_RESTRICTION_RADIUS
field_59684
field_59684
f_433256_
public static final int
cA
RESTRICTION_RADIUS_BUFFER
field_59685
field_59685
f_435223_
public static final int
cB
FAST_HEALING_TICKS
field_59686
field_59686
f_433347_
public static final int
cC
SLOW_HEALING_TICKS
field_59687
field_59687
f_436322_
public static final int
cD
MAX_PASSANGERS
field_59688
field_59688
f_436781_
private static final int
cF
STILL_TIMEOUT_ON_LOAD_GRACE_PERIOD
field_61061
field_61061
f_434289_
private static final int
cG
MAX_STILL_TIMEOUT
field_60551
field_60551
f_436785_
public static final float
cE
SPEED_MULTIPLIER_WHEN_PANICKING
field_59689
field_59689
f_433866_
private int
cH
leashHolderTime
field_60008
ropeRemovalTimer
f_435010_
private int
cI
serverStillTimeout
field_60553
stillTimeout
f_436018_
private static final EntityDataAccessor<Boolean>
cJ
IS_LEASH_HOLDER
field_60009
HAS_ROPES
f_436097_
private static final EntityDataAccessor<Boolean>
cK
STAYS_STILL
field_60549
STAYING_STILL
f_434208_
private static final float
cL
MAX_SCALE
field_60550
field_60550
f_433727_

构造函数概要

修饰符构造函数
public (EntityType<? extends HappyGhast> p_456805_, Level arg1)

方法概要

修饰符与类型方法
private void
s(int arg0)
setServerStillTimeout(int arg0)
method_72086(int arg0)
setStillTimeout(int stillTimeout)
m_445614_(int arg0)
private PathNavigation
c(dwo arg0)
createBabyNavigation(Level arg0)
method_70693(class_1937 arg0)
createGhastlingNavigation(World world)
m_441938_(C_1596_ arg0)
protected void
D()
registerGoals()
method_5959()
initGoals()
m_8099_()
private void
gS()
adultGhastSetup()
method_70703()
initAdultHappyGhast()
m_441548_()
private void
gT()
babyGhastSetup()
method_70694()
initGhastling()
m_440483_()
protected void
h()
ageBoundaryReached()
method_5619()
onGrowUp()
m_34563_()
public static AttributeSupplier$Builder
p()
createAttributes()
method_70701()
createHappyGhastAttributes()
m_447517_()
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, 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_7840_(double p_451860_, boolean p_459414_, C_2064_ arg2, C_4675_ arg3)
public boolean
fl()
onClimbable()
method_6101()
isClimbing()
m_6147_()
public void
m(ftm arg0)
travel(Vec3 arg0)
method_6091(class_243 arg0)
travel(Vec3d arg0)
m_7023_(C_3046_ arg0)
public float
a(is arg0, dwr arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos arg0, WorldView arg1)
m_5610_(C_4675_ p_460504_, C_1599_ arg1)
public boolean
ey()
canBreatheUnderwater()
method_6094()
canBreatheInWater()
m_6040_()
protected boolean
gN()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
m_213814_()
protected void
b(is arg0, eoh arg1)
playStepSound(BlockPos arg0, BlockState arg1)
method_5712(class_2338 arg0, class_2680 arg1)
playStepSound(BlockPos arg0, BlockState arg1)
m_7355_(C_4675_ p_450468_, C_2064_ arg1)
public float
fD()
getVoicePitch()
method_6017()
getSoundPitch()
m_6100_()
public SoundSource
dB()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
public int
S()
getAmbientSoundInterval()
method_5970()
getMinAmbientSoundDelay()
m_8100_()
protected SoundEvent
W()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
h(cex arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
fd()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected float
fC()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public int
aj()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public AgeableMob
a(axf arg0, cfy arg1)
getBreedOffspring(ServerLevel arg0, AgeableMob arg1)
method_5613(class_3218 arg0, class_1296 arg1)
createChild(ServerWorld arg0, PassiveEntity arg1)
m_142606_(C_12_ p_452186_, C_141062_ arg1)
public boolean
gY()
canFallInLove()
method_6482()
canEat()
m_5957_()
public float
eE()
getAgeScale()
method_17825()
getScaleFactor()
m_320705_()
public boolean
j(dlt arg0)
isFood(ItemStack arg0)
method_6481(class_1799 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_321348_(C_516_ arg0)
protected boolean
f(cgv arg0)
canDispenserEquipIntoSlot(EquipmentSlot arg0)
method_63626(class_1304 arg0)
canDispenserEquipSlot(EquipmentSlot arg0)
m_218379_(C_516_ arg0)
public InteractionResult
b(ddm arg0, cdb arg1)
mobInteract(Player arg0, InteractionHand arg1)
method_5992(class_1657 arg0, class_1268 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_442370_(C_1141_ arg0)
protected void
q(cgk arg0)
addPassenger(Entity arg0)
method_5627(class_1297 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_20351_(C_507_ arg0)
protected boolean
s(cgk arg0)
canAddPassenger(Entity arg0)
method_5818(class_1297 arg0)
canAddPassenger(Entity arg0)
m_7310_(C_507_ arg0)
public LivingEntity
dl()
getControllingPassenger()
method_5642()
getControllingPassenger()
m_6688_()
protected Vec3
b(ddm arg0, ftm arg1)
getRiddenInput(Player arg0, Vec3 arg1)
method_49482(class_1657 arg0, class_243 arg1)
getControlledMovementInput(PlayerEntity arg0, Vec3d arg1)
m_274312_(C_1141_ p_457053_, C_3046_ arg1)
protected Vec2
i(chl arg0)
getRiddenRotation(LivingEntity arg0)
method_70698(class_1309 arg0)
getGhastRotation(LivingEntity controllingEntity)
m_439429_(C_524_ arg0)
protected void
a(ddm arg0, ftm arg1)
tickRidden(Player arg0, Vec3 arg1)
method_49481(class_1657 arg0, class_243 arg1)
tickControlled(PlayerEntity arg0, Vec3d arg1)
m_274498_(C_1141_ p_450697_, C_3046_ arg1)
protected Brain$Provider<HappyGhast>
ew()
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(axf 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
d_()
aiStep()
method_6007()
tickMovement()
m_8107_()
private int
gU()
getHappyGhastRestrictionRadius()
method_70695()
getUpdatedPositionTargetRange()
m_441254_()
private void
gV()
checkRestriction()
method_70696()
updatePositionTarget()
m_442589_()
private void
hd()
continuousHeal()
method_70697()
tickRegeneration()
m_446246_()
protected void
a(ama$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_442219_(boolean arg0)
public boolean
gP()
isLeashHolder()
method_71010()
hasRopes()
m_440097_()
private void
he()
syncStayStillFlag()
method_71615()
syncStayingStill()
m_447206_()
public boolean
gQ()
staysStill()
method_71617()
isStayingStill()
m_443719_()
public boolean
dY()
supportQuadLeashAsHolder()
method_70986()
hasQuadLeashAttachmentPoints()
m_5829_()
public Vec3[]
dX()
getQuadLeashHolderOffsets()
method_70985()
getHeldQuadLeashOffsets()
m_401273_()
public Vec3
B()
getLeashOffset()
method_29919()
getLeashOffset()
m_33927_()
public double
x()
leashElasticDistance()
method_70990()
getElasticLeashDistance()
m_403384_()
public double
w()
leashSnapDistance()
method_70989()
getLeashSnappingDistance()
m_403789_()
public void
v()
onElasticLeashPull()
method_71006()
onLongLeashTick()
m_401765_()
public void
a(chj arg0)
notifyLeashHolder(Leashable arg0)
method_70980(class_9817 arg0)
tickHeldLeash(Leashable arg0)
m_401619_(C_336597_ arg0)
public void
a(fns arg0)
addAdditionalSaveData(ValueOutput arg0)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
m_7380_(C_398537_ arg0)
public void
a(fnq arg0)
readAdditionalSaveData(ValueInput arg0)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
m_7378_(C_398549_ arg0)
public boolean
gR()
isOnStillTimeout()
method_72227()
isStill()
m_442336_()
private boolean
hf()
scanPlayerAboveGhast()
method_71616()
hasPlayerOnTop()
m_443558_()
protected BodyRotationControl
I()
createBodyControl()
method_5963()
createBodyControl()
m_7560_()
public boolean
j(cgk arg0)
canBeCollidedWith(Entity arg0)
method_30948(class_1297 arg0)
isCollidable(Entity arg0)
m_33436_(C_507_ arg0)
public boolean
em()
isFlyingVehicle()
method_70987()
isFlyingVehicle()
m_402399_()
public Vec3
b(chl arg0)
getDismountLocationForPassenger(LivingEntity arg0)
method_24829(class_1309 arg0)
updatePassengerForDismount(LivingEntity arg0)
m_7688_(C_524_ arg0)