net.minecraft.world.entity.boss.enderdragon

public class EnderDragon

extends Mob implements Enemy

All mapped superinterfaces:

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

cku
net.minecraft.world.entity.boss.enderdragon.EnderDragon
net.minecraft.class_1510
net.minecraft.entity.boss.dragon.EnderDragonEntity
net.minecraft.world.entity.boss.enderdragon.EntityEnderDragon

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
cd
LOGGER
field_7021
LOGGER
public static final EntityDataAccessor<Integer>
a
DATA_PHASE
field_7013
PHASE_TYPE
private static final TargetingConditions
ce
CRYSTAL_DESTROY_TARGETING
field_18120
CLOSE_PLAYER_PREDICATE
private static final int
cf
GROWL_INTERVAL_MIN
field_30428
MAX_HEALTH
private static final int
cg
GROWL_INTERVAL_MAX
field_30429
field_30429
private static final float
ch
SITTING_ALLOWED_DAMAGE_PERCENTAGE
field_30430
TAKEOFF_THRESHOLD
private static final String
ci
DRAGON_DEATH_TIME_KEY
field_33910
DRAGON_DEATH_TIME_KEY
private static final String
cj
DRAGON_PHASE_KEY
field_33911
DRAGON_PHASE_KEY
public final DragonFlightHistory
b
flightHistory
field_52493
frameTracker
private final EnderDragonPart[]
ck
subEntities
field_7032
parts
public final EnderDragonPart
c
head
field_7017
head
private final EnderDragonPart
cl
neck
field_7011
neck
private final EnderDragonPart
cm
body
field_7023
body
private final EnderDragonPart
cn
tail1
field_7020
tail1
private final EnderDragonPart
co
tail2
field_7009
tail2
private final EnderDragonPart
cp
tail3
field_7022
tail3
private final EnderDragonPart
cq
wing1
field_7015
rightWing
private final EnderDragonPart
cr
wing2
field_7014
leftWing
public float
d
oFlapTime
field_7019
prevWingPosition
public float
bY
flapTime
field_7030
wingPosition
public boolean
bZ
inWall
field_7027
slowedDownByBlock
public int
ca
dragonDeathTime
field_7031
ticksSinceDeath
public float
cb
yRotA
field_20865
yawAcceleration
public EndCrystal
cc
nearestCrystal
field_7024
connectedCrystal
private EndDragonFight
cs
dragonFight
field_7016
fight
private BlockPos
ct
fightOrigin
field_44875
fightOrigin
private final EnderDragonPhaseManager
cu
phaseManager
field_7028
phaseManager
private int
cv
growlTime
field_7018
ticksUntilNextGrowl
private float
cw
sittingDamageReceived
field_7029
damageDuringSitting
private final Node[]
cx
nodes
field_7012
pathNodes
private final int[]
cy
nodeAdjacency
field_7025
pathNodeConnections
private final BinaryHeap
cz
openSet
field_7008
pathHeap

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ebt arg0)
setDragonFight(EndDragonFight arg0)
method_51852(class_2881 arg0)
setFight(EnderDragonFight fight)
public void
c(jh arg0)
setFightOrigin(BlockPos arg0)
method_51853(class_2338 arg0)
setFightOrigin(BlockPos fightOrigin)
public BlockPos
m()
getFightOrigin()
method_51854()
getFightOrigin()
public static AttributeSupplier$Builder
p()
createAttributes()
method_26903()
createEnderDragonAttributes()
public boolean
ba()
isFlapping()
method_5776()
isFlappingWings()
public void
aZ()
onFlap()
method_5801()
addFlapEffects()
protected void
a(alg$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
public void
d_()
aiStep()
method_6007()
tickMovement()
private void
a(ckr arg0, double arg1, double arg2, double arg3)
tickPart(EnderDragonPart arg0, double arg1, double arg2, double arg3)
method_22863(class_1508 arg0, double arg1, double arg2, double arg3)
movePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz)
private float
gm()
getHeadYOffset()
method_6820()
getHeadVerticalMovement()
private void
gn()
checkCrystals()
method_6830()
tickWithEndCrystals()
private void
a(ash arg0, List<bvk> arg1)
knockBack(ServerLevel arg0, List<Entity> arg1)
method_6825(class_3218 arg0, List<class_1297> arg1)
launchLivingEntities(ServerWorld world, List<Entity> entities)
private void
b(ash arg0, List<bvk> arg1)
hurt(ServerLevel arg0, List<Entity> arg1)
method_6827(class_3218 arg0, List<class_1297> arg1)
damageLivingEntities(ServerWorld world, List<Entity> entities)
private float
i(double arg0)
rotWrap(double arg0)
method_6832(double arg0)
wrapYawChange(double yawDegrees)
private boolean
a(ash arg0, fbt arg1)
checkWalls(ServerLevel arg0, AABB arg1)
method_6821(class_3218 arg0, class_238 arg1)
destroyBlocks(ServerWorld world, Box box)
public boolean
a(ash arg0, ckr arg1, bua arg2, float arg3)
hurt(ServerLevel arg0, EnderDragonPart arg1, DamageSource arg2, float arg3)
method_6816(class_3218 arg0, class_1508 arg1, class_1282 arg2, float arg3)
damagePart(ServerWorld world, EnderDragonPart part, DamageSource source, float amount)
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
c(ash arg0, bua arg1, float arg2)
reallyHurt(ServerLevel arg0, DamageSource arg1, float arg2)
method_6819(class_3218 arg0, class_1282 arg1, float arg2)
parentDamage(ServerWorld world, DamageSource source, float amount)
public void
c(ash arg0)
kill(ServerLevel arg0)
method_5768(class_3218 arg0)
kill(ServerWorld arg0)
protected void
em()
tickDeath()
method_6108()
updatePostDeath()
public int
t()
findClosestNode()
method_6818()
getNearestPathNodeIndex()
public int
q(double arg0, double arg1, double arg2)
findClosestNode(double arg0, double arg1, double arg2)
method_6822(double arg0, double arg1, double arg2)
getNearestPathNodeIndex(double x, double y, double z)
public Path
a(int arg0, int arg1, euj arg2)
findPath(int arg0, int arg1, Node arg2)
method_6833(int arg0, int arg1, class_9 arg2)
findPath(int from, int to, PathNode pathNode)
private Path
a(euj arg0, euj arg1)
reconstructPath(Node arg0, Node arg1)
method_6826(class_9 arg0, class_9 arg1)
getPathOfAllPredecessors(PathNode unused, PathNode node)
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)
public void
dI()
checkDespawn()
method_5982()
checkDespawn()
public EnderDragonPart[]
x()
getSubEntities()
method_5690()
getBodyParts()
public boolean
bH()
isPickable()
method_5863()
canHit()
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 float
fg()
getSoundVolume()
method_6107()
getSoundVolume()
public Vec3
J(float arg0)
getHeadLookVector(float arg0)
method_6834(float arg0)
getRotationVectorFromPhase(float tickDelta)
public void
a(ash arg0, ckt arg1, jh arg2, bua arg3)
onCrystalDestroyed(ServerLevel arg0, EndCrystal arg1, BlockPos arg2, DamageSource arg3)
method_6828(class_3218 arg0, class_1511 arg1, class_2338 arg2, class_1282 arg3)
crystalDestroyed(ServerWorld world, EndCrystalEntity crystal, BlockPos pos, DamageSource source)
public void
a(alc<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public EnderDragonPhaseManager
gk()
getPhaseManager()
method_6831()
getPhaseManager()
public EndDragonFight
gl()
getDragonFight()
method_6829()
getFight()
public boolean
b(bup arg0, bvk arg1)
addEffect(MobEffectInstance arg0, Entity arg1)
method_37222(class_1293 arg0, class_1297 arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
protected boolean
o(bvk arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
public boolean
o(boolean arg0)
canUsePortal(boolean arg0)
method_5822(boolean arg0)
canUsePortals(boolean arg0)
public void
a(acs arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public boolean
c(bwg arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
protected float
b(float arg0)
sanitizeScale(float arg0)
method_56077(float arg0)
clampScale(float arg0)