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

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(eaw arg0)
setDragonFight(EndDragonFight arg0)
method_51852(class_2881 arg0)
setFight(EnderDragonFight fight)
public void
c(ji 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(akc$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(cjt 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
gq()
getHeadYOffset()
method_6820()
getHeadVerticalMovement()
private void
gr()
checkCrystals()
method_6830()
tickWithEndCrystals()
private void
a(ard arg0, List<bum> 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(ard arg0, List<bum> 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(ard arg0, faw arg1)
checkWalls(ServerLevel arg0, AABB arg1)
method_6821(class_3218 arg0, class_238 arg1)
destroyBlocks(ServerWorld world, Box box)
public boolean
a(ard arg0, cjt arg1, btc 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(ard arg0, btc 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(ard arg0, btc 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(ard arg0)
kill(ServerLevel arg0)
method_5768(class_3218 arg0)
kill(ServerWorld arg0)
protected void
el()
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, etm 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(etm arg0, etm arg1)
reconstructPath(Node arg0, Node arg1)
method_6826(class_9 arg0, class_9 arg1)
getPathOfAllPredecessors(PathNode unused, PathNode node)
public void
b(tq arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
public void
a(tq arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
public void
dH()
checkDespawn()
method_5982()
checkDespawn()
public EnderDragonPart[]
x()
getSubEntities()
method_5690()
getBodyParts()
public boolean
bH()
isPickable()
method_5863()
canHit()
public SoundSource
dm()
getSoundSource()
method_5634()
getSoundCategory()
protected SoundEvent
u()
getAmbientSound()
method_5994()
getAmbientSound()
protected SoundEvent
e(btc 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(ard arg0, cjv arg1, ji arg2, btc 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(ajy<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
public EnderDragonPhaseManager
go()
getPhaseManager()
method_6831()
getPhaseManager()
public EndDragonFight
gp()
getDragonFight()
method_6829()
getFight()
public boolean
b(btr arg0, bum arg1)
addEffect(MobEffectInstance arg0, Entity arg1)
method_37222(class_1293 arg0, class_1297 arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
protected boolean
o(bum 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(abm arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
public boolean
c(bvi 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)