net.minecraft.world.entity.monster

public class Ghast

extends FlyingMob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, Enemy

bqn
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
Q()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
private static boolean
g(azz arg0)
isReflectedFireball(DamageSource arg0)
method_44320(class_1282 arg0)
isFireballFromPlayer(DamageSource damageSource)
m_238407_(C_489_ p_238408_)
public boolean
b(azz arg0)
isInvulnerableTo(DamageSource arg0)
method_5679(class_1282 arg0)
isInvulnerableTo(DamageSource arg0)
m_6673_(C_489_ arg0)
public boolean
a(azz 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
cS()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected SoundEvent
r()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
c(azz 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
eD()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public static boolean
b(bau<bqn> arg0, cgb arg1, bbj arg2, gt arg3, alu arg4)
checkGhastSpawnRules(EntityType<Ghast> arg0, LevelAccessor arg1, MobSpawnType arg2, BlockPos arg3, RandomSource arg4)
method_20675(class_1299<class_1571> arg0, class_1936 arg1, class_3730 arg2, class_2338 arg3, class_5819 arg4)
canSpawn(EntityType<GhastEntity> type, WorldAccess world, SpawnReason spawnReason, BlockPos pos, Random random)
m_218984_(C_513_<C_1011_> p_218985_, C_1598_ p_218986_, C_529_ p_218987_, C_4675_ p_218988_, C_212974_ p_218989_)
public int
fp()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public void
b(pj arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(pj arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected float
b(bbr arg0, bar 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)