net.minecraft.world.entity.monster

public class Ghast

extends FlyingMob implements Enemy

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting, Enemy

cjx
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
B()
registerGoals()
method_5959()
initGoals()
m_8099_()
public boolean
s()
isCharging()
method_7050()
isShooting()
m_32756_()
public void
x(boolean arg0)
setCharging(boolean arg0)
method_7048(boolean arg0)
setShooting(boolean shooting)
m_32758_(boolean arg0)
public int
t()
getExplosionPower()
method_7049()
getFireballStrength()
m_32751_()
protected boolean
Z()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
private static boolean
g(brk arg0)
isReflectedFireball(DamageSource arg0)
method_44320(class_1282 arg0)
isFireballFromPlayer(DamageSource damageSource)
m_238407_(C_489_ p_238408_)
public boolean
b(brk arg0)
isInvulnerableTo(DamageSource arg0)
method_5679(class_1282 arg0)
isInvulnerableTo(DamageSource arg0)
m_6673_(C_489_ arg0)
public boolean
a(brk 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(aka$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public static AttributeSupplier$Builder
x()
createAttributes()
method_26913()
createGhastAttributes()
m_32752_()
public SoundSource
de()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brk arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected SoundEvent
n_()
getDeathSound()
method_6002()
getDeathSound()
m_5592_()
protected float
fa()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public static boolean
b(bsx<cjx> arg0, dcx arg1, btr arg2, jd arg3, ayw 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
fN()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
public void
b(ub arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(ub arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)