net.minecraft.world.entity.monster

public class Ghast

extends FlyingMob implements Enemy

All mapped superinterfaces:

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

cnn
net.minecraft.world.entity.monster.Ghast
net.minecraft.class_1571
net.minecraft.entity.mob.GhastEntity

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
D()
registerGoals()
method_5959()
initGoals()
public boolean
j()
isCharging()
method_7050()
isShooting()
public void
w(boolean arg0)
setCharging(boolean arg0)
method_7048(boolean arg0)
setShooting(boolean shooting)
public int
m()
getExplosionPower()
method_7049()
getFireballStrength()
protected boolean
aa()
shouldDespawnInPeaceful()
method_23734()
isDisallowedInPeaceful()
private static boolean
j(bup arg0)
isReflectedFireball(DamageSource arg0)
method_44320(class_1282 arg0)
isFireballFromPlayer(DamageSource damageSource)
public boolean
a(aro arg0, bup arg1)
isInvulnerableTo(ServerLevel arg0, DamageSource arg1)
method_5679(class_3218 arg0, class_1282 arg1)
isInvulnerableTo(ServerWorld arg0, DamageSource arg1)
public boolean
a(aro arg0, bup 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(akl$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public static AttributeSupplier$Builder
n()
createAttributes()
method_26913()
createGhastAttributes()
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(bup arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
l_()
getDeathSound()
method_6002()
getDeathSound()
protected float
fd()
getSoundVolume()
method_6107()
getSoundVolume()
public static boolean
b(bwj<cnn> arg0, diq arg1, bwi arg2, iu arg3, azt 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
ai()
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
public void
b(tx arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tx arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)