net.minecraft.world.entity.monster

public class Ghast

extends FlyingMob implements Enemy

All mapped superinterfaces:

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

cmr
net.minecraft.world.entity.monster.Ghast
net.minecraft.class_1571
net.minecraft.entity.mob.GhastEntity
net.minecraft.world.entity.monster.EntityGhast

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
protected void
B()
registerGoals()
method_5959()
initGoals()
public boolean
m()
isCharging()
method_7050()
isShooting()
public void
x(boolean arg0)
setCharging(boolean arg0)
method_7048(boolean arg0)
setShooting(boolean shooting)
public int
p()
getExplosionPower()
method_7049()
getFireballStrength()
protected boolean
X()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
private static boolean
h(bua arg0)
isReflectedFireball(DamageSource arg0)
method_44320(class_1282 arg0)
isFireballFromPlayer(DamageSource damageSource)
public boolean
a(ash arg0, bua arg1)
isInvulnerableTo(ServerLevel arg0, DamageSource arg1)
method_5679(class_3218 arg0, class_1282 arg1)
isInvulnerableTo(ServerWorld arg0, DamageSource arg1)
public boolean
a(ash arg0, bua arg1, float arg2)
hurtServer(ServerLevel arg0, DamageSource arg1, float arg2)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public static AttributeSupplier$Builder
t()
createAttributes()
method_26913()
createGhastAttributes()
public SoundSource
dn()
getSoundSource()
method_5634()
getSoundCategory()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bua arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
o_()
getDeathSound()
method_6002()
getDeathSound()
protected float
fg()
getSoundVolume()
method_6107()
getSoundVolume()
public static boolean
b(bvr<cmr> arg0, dhj arg1, bvq arg2, jh arg3, bam arg4)
checkGhastSpawnRules(EntityType<Ghast> arg0, LevelAccessor arg1, EntitySpawnReason 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)
public int
ad()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public void
b(ux arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(ux arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)