net.minecraft.entity.mob

public class GhastEntity

extends MobEntity implements Monster

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable, Monster

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

Field summary

Modifier and TypeField
private static final TrackedData<Boolean>
DATA_IS_CHARGING
field_7273
SHOOTING
private static final byte
DEFAULT_EXPLOSION_POWER
field_57683
DEFAULT_FIREBALL_STRENGTH
private int
explosionPower
field_7272
fireballStrength

Constructor summary

ModifierConstructor
public (EntityType<? extends GhastEntity> type, World level)

Method summary

Modifier and TypeMethod
protected void
registerGoals()
method_5959()
initGoals()
public boolean
isCharging()
method_7050()
isShooting()
public void
setCharging(boolean onOff)
method_7048(boolean arg0)
setShooting(boolean shooting)
public int
getExplosionPower()
method_7049()
getFireballStrength()
private static boolean
isReflectedFireball(DamageSource source)
method_44320(class_1282 arg0)
isFireballFromPlayer(DamageSource damageSource)
public boolean
isInvulnerableTo(ServerLevel level, DamageSource source)
method_5679(class_3218 arg0, class_1282 arg1)
isInvulnerableTo(ServerWorld arg0, DamageSource arg1)
protected void
checkFallDamage(double ya, boolean onGround, BlockState onState, BlockPos pos)
method_5623(double arg0, boolean arg1, class_2680 arg2, class_2338 arg3)
fall(double arg0, boolean arg1, BlockState arg2, BlockPos arg3)
public boolean
onClimbable()
method_6101()
isClimbing()
public void
travel(Vec3 input)
method_6091(class_243 arg0)
travel(Vec3d arg0)
public boolean
hurtServer(ServerLevel level, DamageSource source, float damage)
method_64397(class_3218 arg0, class_1282 arg1, float arg2)
damage(ServerWorld arg0, DamageSource arg1, float arg2)
protected void
defineSynchedData(SynchedEntityData$Builder entityData)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public static DefaultAttributeContainer$Builder
createAttributes()
method_26913()
createGhastAttributes()
public SoundCategory
getSoundSource()
method_5634()
getSoundCategory()
protected SoundEvent
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
getHurtSound(DamageSource source)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
protected SoundEvent
getDeathSound()
method_6002()
getDeathSound()
protected float
getSoundVolume()
method_6107()
getSoundVolume()
public static boolean
checkGhastSpawnRules(EntityType<Ghast> type, LevelAccessor level, EntitySpawnReason spawnReason, BlockPos pos, RandomSource random)
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
getMaxSpawnClusterSize()
method_5945()
getLimitPerChunk()
protected void
addAdditionalSaveData(ValueOutput output)
method_5652(class_11372 arg0)
writeCustomData(WriteView arg0)
protected void
readAdditionalSaveData(ValueInput input)
method_5749(class_11368 arg0)
readCustomData(ReadView arg0)
public boolean
supportQuadLeashAsHolder()
method_70986()
hasQuadLeashAttachmentPoints()
public double
leashElasticDistance()
method_70990()
getElasticLeashDistance()
public double
leashSnapDistance()
method_70989()
getLeashSnappingDistance()
public static void
faceMovementDirection(Mob ghast)
method_70719(class_1308 arg0)
updateYaw(MobEntity ghast)
private boolean
lambda$registerGoals$0(LivingEntity arg0, ServerLevel arg1)
method_18450(class_1309 arg0, class_3218 arg1)
method_18450(LivingEntity entity, ServerWorld world)
private static boolean
lambda$new$0()
method_71618()
method_71618()