net.minecraft.world.entity.monster

public class Ghast

extends FlyingMob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting, Enemy

ccj
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
u()
isCharging()
method_7050()
isShooting()
m_32756_()
public void
w(boolean arg0)
setCharging(boolean arg0)
method_7048(boolean arg0)
setShooting(boolean shooting)
m_32758_(boolean arg0)
public int
w()
getExplosionPower()
method_7049()
getFireballStrength()
m_32751_()
protected boolean
X()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
m_8028_()
private static boolean
h(bkt arg0)
isReflectedFireball(DamageSource arg0)
method_44320(class_1282 arg0)
isFireballFromPlayer(DamageSource damageSource)
m_238407_(C_489_ p_238408_)
public boolean
b(bkt arg0)
isInvulnerableTo(DamageSource arg0)
method_5679(class_1282 arg0)
isInvulnerableTo(DamageSource arg0)
m_6673_(C_489_ arg0)
public boolean
a(bkt 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
c_()
defineSynchedData()
method_5693()
initDataTracker()
m_8097_()
public static AttributeSupplier$Builder
A()
createAttributes()
method_26913()
createGhastAttributes()
m_32752_()
public SoundSource
db()
getSoundSource()
method_5634()
getSoundCategory()
m_5720_()
protected SoundEvent
y()
getAmbientSound()
method_5994()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bkt 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
eW()
getSoundVolume()
method_6107()
getSoundVolume()
m_6121_()
public static boolean
b(blz<ccj> arg0, ctq arg1, bmp arg2, hx arg3, auv 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
fI()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
m_5792_()
protected org.joml.Vector3f
a(blv arg0, blw arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_297996_, C_510_ p_300062_, float arg2)
protected float
l(blv arg0)
ridingOffset(Entity arg0)
method_52537(class_1297 arg0)
getUnscaledRidingOffset(Entity arg0)
m_292595_(C_507_ arg0)
public void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
protected float
b(bmx arg0, blw 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)