net.minecraft.world.entity.monster

public class Ghast

extends FlyingMob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

blf
net.minecraft.world.entity.monster.Ghast
net.minecraft.class_1571
net.minecraft.entity.mob.GhastEntity
net.minecraft.src.C_1011_
net.minecraft.world.entity.monster.EntityGhast

Field summary

Modifier and TypeField
private static final EntityDataAccessor<Boolean>
b
DATA_IS_CHARGING
field_7273
SHOOTING
f_32721_
private int
c
explosionPower
field_7272
fireballStrength
f_32722_

Constructor summary

ModifierConstructor
public (EntityType<? extends Ghast> p_32726_, Level arg1)

Method summary

Modifier and TypeMethod
protected void
u()
registerGoals()
method_5959()
initGoals()
m_8099_()
public boolean
n()
isCharging()
method_7050()
isShooting()
m_32756_()
public void
v(boolean arg0)
setCharging(boolean arg0)
method_7048(boolean arg0)
setShooting(boolean shooting)
m_32758_(boolean arg0)
public int
q()
getExplosionPower()
method_7049()
getFireballStrength()
m_32751_()
protected boolean
P()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
public boolean
a(awd arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_32731_, float arg1)
protected void
a_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public static AttributeSupplier$Builder
t()
createAttributes()
method_26913()
createGhastAttributes()
m_32752_()
public SoundSource
cO()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(awd arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
x_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected float
eu()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public static boolean
b(awx<blf> arg0, cae arg1, axl arg2, gh arg3, Random arg4)
checkGhastSpawnRules(EntityType<Ghast> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, Random arg4)
method_20675(class_1299<class_1571> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, Random arg4)
canSpawn(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_32734_(C_513_<C_1011_> p_32735_, C_1598_ p_32736_, C_529_ p_32737_, C_4675_ p_32738_, Random p_32739_)
public int
fe()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public void
b(oc arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(oc arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected float
b(axt arg0, awu arg1)
getStandingEyeHeight(Pose arg0, EntityDimensions arg1)
method_18394(class_4050 arg0, class_4048 arg1)
getActiveEyeHeight(EntityPose arg0, EntityDimensions arg1)
m_6431_(C_535_ p_32742_, C_510_ arg1)