net.minecraft.entity.boss.dragon

public class EnderDragonEntity

extends MobEntity implements Monster

All mapped superinterfaces:

DataTracked, Nameable, EntityLike, CommandOutput, ScoreHolder, Attackable, EquipmentHolder, Targeter, Monster

cid
net.minecraft.world.entity.boss.enderdragon.EnderDragon
net.minecraft.class_1510
net.minecraft.entity.boss.dragon.EnderDragonEntity
net.minecraft.unmapped.C_bsmypcfq
net.minecraft.entity.boss.dragon.EnderDragonEntity
net.minecraft.src.C_945_

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
cd
LOGGER
field_7021
LOGGER
f_uwhiuhsy
LOGGER
f_31087_
public static final TrackedData<Integer>
b
DATA_PHASE
field_7013
PHASE_TYPE
f_yqvpxheq
PHASE_TYPE
f_31067_
private static final TargetPredicate
ce
CRYSTAL_DESTROY_TARGETING
field_18120
CLOSE_PLAYER_PREDICATE
f_xhwcyfkh
CLOSE_PLAYER_PREDICATE
f_31088_
private static final int
cf
GROWL_INTERVAL_MIN
field_30428
MAX_HEALTH
f_vwueqmnd
MIN_GROWL_INTERVAL
f_149566_
private static final int
cg
GROWL_INTERVAL_MAX
field_30429
field_30429
f_lcffcjzk
MAX_GROWL_INTERVAL
f_149567_
private static final float
ch
SITTING_ALLOWED_DAMAGE_PERCENTAGE
field_30430
TAKEOFF_THRESHOLD
f_ybbsqbso
TAKEOFF_THRESHOLD
f_149568_
private static final String
ci
DRAGON_DEATH_TIME_KEY
field_33910
DRAGON_DEATH_TIME_KEY
f_kuwsuxxt
DRAGON_DEATH_TIME_KEY
f_149569_
private static final String
cj
DRAGON_PHASE_KEY
field_33911
DRAGON_PHASE_KEY
f_uqjkujzo
DRAGON_PHASE_KEY
f_149570_
public final double[][]
c
positions
field_7026
segmentCircularBuffer
f_mgdjrsnz
segmentCircularBuffer
f_31092_
public int
d
posPointer
field_7010
latestSegment
f_jzbebsvn
latestSegment
f_31093_
private final EnderDragonPart[]
ck
subEntities
field_7032
parts
f_uvfhrabx
parts
f_31089_
public final EnderDragonPart
e
head
field_7017
head
f_brljxqtu
head
f_31080_
private final EnderDragonPart
cl
neck
field_7011
neck
f_gbitvhky
neck
f_31090_
private final EnderDragonPart
cm
body
field_7023
body
f_dznefevq
body
f_31091_
private final EnderDragonPart
cn
tail1
field_7020
tail1
f_zdfbyxsd
tail1
f_31068_
private final EnderDragonPart
co
tail2
field_7009
tail2
f_liyfiorc
tail2
f_31069_
private final EnderDragonPart
cp
tail3
field_7022
tail3
f_cwmjaitu
tail3
f_31070_
private final EnderDragonPart
cq
wing1
field_7015
rightWing
f_clbttjko
rightWing
f_31071_
private final EnderDragonPart
cr
wing2
field_7014
leftWing
f_amkaexbp
leftWing
f_31072_
public float
bX
oFlapTime
field_7019
prevWingPosition
f_dgkmimhy
prevWingPosition
f_31081_
public float
bY
flapTime
field_7030
wingPosition
f_hizxaezh
wingPosition
f_31082_
public boolean
bZ
inWall
field_7027
slowedDownByBlock
f_zjgjiprv
slowedDownByBlock
f_31083_
public int
ca
dragonDeathTime
field_7031
ticksSinceDeath
f_eqjxdgyh
ticksSinceDeath
f_31084_
public float
cb
yRotA
field_20865
yawAcceleration
f_lasuowby
yawAcceleration
f_31085_
public EndCrystalEntity
cc
nearestCrystal
field_7024
connectedCrystal
f_rcooiukx
connectedCrystal
f_31086_
private EnderDragonFight
cs
dragonFight
field_7016
fight
f_eoqogpua
fight
f_31073_
private BlockPos
ct
fightOrigin
field_44875
fightOrigin
f_pehnbpli
fightOrigin
f_286933_
private final PhaseManager
cu
phaseManager
field_7028
phaseManager
f_wuxpwaau
phaseManager
f_31074_
private int
cv
growlTime
field_7018
ticksUntilNextGrowl
f_lvpbollf
ticksUntilNextGrowl
f_31075_
private float
cw
sittingDamageReceived
field_7029
damageDuringSitting
f_zwknactj
damageDuringSitting
f_31076_
private final PathNode[]
cx
nodes
field_7012
pathNodes
f_qitbpopf
pathNodes
f_31077_
private final int[]
cz
nodeAdjacency
field_7025
pathNodeConnections
f_boznzpxz
pathNodeConnections
f_31078_
private final PathMinHeap
cA
openSet
field_7008
pathHeap
f_utphuczg
pathHeap
f_31079_

Constructor summary

ModifierConstructor
public (EntityType<? extends EnderDragonEntity> p_31097_, World world)

Method summary

Modifier and TypeMethod
public void
a(dvz arg0)
setDragonFight(EndDragonFight arg0)
method_51852(class_2881 arg0)
setFight(EnderDragonFight fight)
m_nhbsapge(C_hxzjzvro arg0)
setFight(EnderDragonFight fight)
m_287231_(C_2183_ arg0)
public void
d(iz arg0)
setFightOrigin(BlockPos arg0)
method_51853(class_2338 arg0)
setFightOrigin(BlockPos fightOrigin)
m_pamvmrhq(C_hynzadkk arg0)
setFightOrigin(BlockPos pos)
m_287266_(C_4675_ arg0)
public BlockPos
s()
getFightOrigin()
method_51854()
getFightOrigin()
m_rmzrqzqk()
getFightOrigin()
m_287165_()
public static DefaultAttributeContainer$Builder
u()
createAttributes()
method_26903()
createEnderDragonAttributes()
m_kxzekzkz()
createAttributes()
m_31167_()
public boolean
aV()
isFlapping()
method_5776()
isFlappingWings()
m_gavkvalj()
hasWings()
m_142039_()
public void
aU()
onFlap()
method_5801()
addFlapEffects()
m_thnmjffg()
addFlapEffects()
m_142043_()
protected void
a(ako$a arg0)
defineSynchedData(SynchedEntityData$Builder arg0)
method_5693(class_2945$class_9222 arg0)
initDataTracker(DataTracker$Builder arg0)
m_lwugwlsw(C_pyoaoolj$C_oqzxcugu arg0)
initDataTracker(DataTracker$Builder arg0)
m_8097_(C_5247_$C_313487_ arg0)
public double[]
a(int o, float arg1)
getLatencyPos(int arg0, float arg1)
method_6817(int arg0, float arg1)
getSegmentProperties(int segmentNumber, float tickDelta)
m_pdqzsqqq(int arg0, float arg1)
getSegmentProperties(int segmentNumber, float tickDelta)
m_31101_(int p_31103_, float arg1)
public void
n_()
aiStep()
method_6007()
tickMovement()
m_alyudxll()
tickMovement()
m_8107_()
private void
a(cib o, double o, 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)
m_gmhprscu(C_coyfpkdd arg0, double arg1, double arg2, double arg3)
movePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz)
m_31115_(C_943_ p_31117_, double p_31118_, double arg2, double arg3)
private float
gp()
getHeadYOffset()
method_6820()
getHeadVerticalMovement()
m_dejboekl()
getHeadVerticalMovement()
m_31159_()
private void
gq()
checkCrystals()
method_6830()
tickWithEndCrystals()
m_sqwmtjfd()
tickWithEndCrystals()
m_31160_()
private void
b(List<bsw> arg0)
knockBack(List<Entity> arg0)
method_6825(List<class_1297> arg0)
launchLivingEntities(List<Entity> entities)
m_qrovnyxu(List<C_astfners> arg0)
launchLivingEntities(List<Entity> entities)
m_31131_(List<C_507_> arg0)
private void
c(List<bsw> arg0)
hurt(List<Entity> arg0)
method_6827(List<class_1297> arg0)
damageLivingEntities(List<Entity> entities)
m_qurogbnd(List<C_astfners> arg0)
damageLivingEntities(List<Entity> entities)
m_31141_(List<C_507_> arg0)
private float
i(double arg0)
rotWrap(double arg0)
method_6832(double arg0)
wrapYawChange(double yawDegrees)
m_nomlcuzj(double arg0)
wrapYawChange(double yawDegrees)
m_31164_(double arg0)
private boolean
b(evo arg0)
checkWalls(AABB arg0)
method_6821(class_238 arg0)
destroyBlocks(Box box)
m_pzbmfkfv(C_hbcjzgoe arg0)
destroyBlocks(Box box)
m_31139_(C_3040_ arg0)
public boolean
a(cib o, brp o, float arg2)
hurt(EnderDragonPart arg0, DamageSource arg1, float arg2)
method_6816(class_1508 arg0, class_1282 arg1, float arg2)
damagePart(EnderDragonPart part, DamageSource source, float amount)
m_grqrotjh(C_coyfpkdd arg0, C_sbxfkpyv arg1, float arg2)
damagePart(EnderDragonPart part, DamageSource source, float amount)
m_31120_(C_943_ p_31122_, C_489_ p_31123_, float arg2)
public boolean
a(brp o, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_31114_, float arg1)
protected boolean
g(brp o, float arg1)
reallyHurt(DamageSource arg0, float arg1)
method_6819(class_1282 arg0, float arg1)
parentDamage(DamageSource source, float amount)
m_jfgvmsbb(C_sbxfkpyv arg0, float arg1)
parentDamage(DamageSource source, float amount)
m_31161_(C_489_ p_31163_, float arg1)
public void
an()
kill()
method_5768()
kill()
m_mrxmgxtb()
kill()
m_6074_()
protected void
eg()
tickDeath()
method_6108()
updatePostDeath()
m_ndbwdqzx()
updatePostDeath()
m_6153_()
public int
y()
findClosestNode()
method_6818()
getNearestPathNodeIndex()
m_rzeyrjkt()
getNearestPathNodeIndex()
m_31155_()
public int
r(double o, 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)
m_mdjeommd(double arg0, double arg1, double arg2)
getNearestPathNodeIndex(double x, double y, double z)
m_31170_(double p_31172_, double arg1, double arg2)
public Path
a(int o, int o, eoj arg2)
findPath(int arg0, int arg1, Node arg2)
method_6833(int arg0, int arg1, class_9 arg2)
findPath(int from, int to, PathNode pathNode)
m_mrljmhak(int arg0, int arg1, C_dfzwsdmo arg2)
findPath(int from, int to, PathNode pathNode)
m_31104_(int p_31106_, int p_31107_, C_2751_ arg2)
private Path
a(eoj o, eoj arg1)
reconstructPath(Node arg0, Node arg1)
method_6826(class_9 arg0, class_9 arg1)
getPathOfAllPredecessors(PathNode unused, PathNode node)
m_mqbgeiir(C_dfzwsdmo arg0, C_dfzwsdmo arg1)
getPathOfAllPredecessors(PathNode unused, PathNode node)
m_31128_(C_2751_ p_31130_, C_2751_ arg1)
public void
b(us arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(us arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
dB()
checkDespawn()
method_5982()
checkDespawn()
m_vcfvpihz()
checkDespawn()
m_6043_()
public EnderDragonPart[]
gm()
getSubEntities()
method_5690()
getBodyParts()
m_waddpucb()
getBodyParts()
m_31156_()
public boolean
bz()
isPickable()
method_5863()
canHit()
m_bzveerey()
collides()
m_6087_()
public SoundCategory
de()
getSoundSource()
method_5634()
getSoundCategory()
m_nsggwems()
getSoundCategory()
m_5720_()
protected SoundEvent
v()
getAmbientSound()
method_5994()
getAmbientSound()
m_jjefzxbm()
getAmbientSound()
m_7515_()
protected SoundEvent
d(brp arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
getHurtSound(DamageSource arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected float
fe()
getSoundVolume()
method_6107()
getSoundVolume()
m_oafzlopj()
getSoundVolume()
m_6121_()
public float
a(int o, double[] o, double[] arg2)
getHeadPartYOffset(int arg0, double[] arg1, double[] arg2)
method_6823(int arg0, double[] arg1, double[] arg2)
getChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2)
m_vlsbguxa(int arg0, double[] arg1, double[] arg2)
getChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2)
m_31108_(int p_31110_, double[] p_31111_, double[] arg2)
public Vec3d
F(float arg0)
getHeadLookVector(float arg0)
method_6834(float arg0)
getRotationVectorFromPhase(float tickDelta)
m_jlgrcrjs(float arg0)
getRotationVectorFromPhase(float tickDelta)
m_31174_(float arg0)
public void
a(cic o, iz o, brp arg2)
onCrystalDestroyed(EndCrystal arg0, BlockPos arg1, DamageSource arg2)
method_6828(class_1511 arg0, class_2338 arg1, class_1282 arg2)
crystalDestroyed(EndCrystalEntity endCrystal, BlockPos pos, DamageSource source)
m_zlqezicl(C_akvrfxgg arg0, C_hynzadkk arg1, C_sbxfkpyv arg2)
crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source)
m_31124_(C_944_ p_31126_, C_4675_ p_31127_, C_489_ arg2)
public void
a(akk<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_efnedaed(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public PhaseManager
gn()
getPhaseManager()
method_6831()
getPhaseManager()
m_yfbeuhuv()
getPhaseManager()
m_31157_()
public EnderDragonFight
go()
getDragonFight()
method_6829()
getFight()
m_elnqrvgh()
getFight()
m_31158_()
public boolean
b(bse o, bsw arg1)
addEffect(MobEffectInstance arg0, Entity arg1)
method_37222(class_1293 arg0, class_1297 arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
m_ynmbvwjb(C_wpfizwve arg0, C_astfners arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
m_147207_(C_498_ p_182395_, C_507_ arg1)
protected boolean
o(bsw arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
canStartRiding(Entity arg0)
m_swzplugo(C_astfners arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
public boolean
cw()
canChangeDimensions()
method_5822()
canUsePortals()
m_yufxwphq()
canUsePortals()
m_6072_()
public void
a(acj arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_fccepfav(C_qdqrqwvy arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)
public boolean
c(btr arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
canTarget(LivingEntity arg0)
m_guuxmwap(C_usxaxydn arg0)
canTarget(LivingEntity arg0)
m_6779_(C_524_ arg0)
protected float
b(float arg0)
sanitizeScale(float arg0)
method_56077(float arg0)
clampScale(float arg0)
m_uzfdrlrs(float arg0)
clampScale(float arg0)
m_319572_(float arg0)