net.minecraft.world.entity.boss.enderdragon

public class EnderDragon

extends Mob implements Enemy

All mapped superinterfaces:

Nameable, EntityAccess, CommandSource, ScoreHolder, Attackable, Targeting, Enemy

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(dmt arg0)
setDragonFight(EndDragonFight arg0)
method_51852(class_2881 arg0)
m_nhbsapge(C_hxzjzvro arg0)
setFight(EnderDragonFight fight)
m_287231_(C_2183_ arg0)
public void
h(hx arg0)
setFightOrigin(BlockPos arg0)
method_51853(class_2338 arg0)
m_pamvmrhq(C_hynzadkk arg0)
setFightOrigin(BlockPos fightOrigin)
m_pamvmrhq(BlockPos pos)
m_287266_(C_4675_ arg0)
public BlockPos
u()
getFightOrigin()
method_51854()
m_rmzrqzqk()
getFightOrigin()
m_287165_()
public static AttributeSupplier$Builder
w()
createAttributes()
method_26903()
m_kxzekzkz()
createEnderDragonAttributes()
createAttributes()
m_31167_()
public boolean
aT()
isFlapping()
method_5776()
m_gavkvalj()
isFlappingWings()
hasWings()
m_142039_()
public void
aS()
onFlap()
method_5801()
m_thnmjffg()
addFlapEffects()
addFlapEffects()
m_142043_()
protected void
c_()
defineSynchedData()
method_5693()
m_lwugwlsw()
initDataTracker()
initDataTracker()
m_8097_()
public double[]
a(int arg0, float arg1)
getLatencyPos(int arg0, float arg1)
method_6817(int arg0, float arg1)
m_pdqzsqqq(int arg0, float arg1)
getSegmentProperties(int segmentNumber, float tickDelta)
getSegmentProperties(int segmentNumber, float tickDelta)
m_31101_(int p_31103_, float arg1)
public void
d_()
aiStep()
method_6007()
m_alyudxll()
tickMovement()
tickMovement()
m_8107_()
private void
a(cam 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)
m_gmhprscu(C_coyfpkdd arg0, double arg1, double arg2, double arg3)
movePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz)
movePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz)
m_31115_(C_943_ p_31117_, double p_31118_, double arg2, double arg3)
private float
gd()
getHeadYOffset()
method_6820()
m_dejboekl()
getHeadVerticalMovement()
getHeadVerticalMovement()
m_31159_()
private void
ge()
checkCrystals()
method_6830()
m_sqwmtjfd()
tickWithEndCrystals()
tickWithEndCrystals()
m_31160_()
private void
a(List<blv> arg0)
knockBack(List<Entity> arg0)
method_6825(List<class_1297> arg0)
m_qrovnyxu(List<C_astfners> arg0)
launchLivingEntities(List<Entity> entities)
launchLivingEntities(List<Entity> entities)
m_31131_(List<C_507_> arg0)
private void
c(List<blv> arg0)
hurt(List<Entity> arg0)
method_6827(List<class_1297> arg0)
m_qurogbnd(List<C_astfners> arg0)
damageLivingEntities(List<Entity> entities)
damageLivingEntities(List<Entity> entities)
m_31141_(List<C_507_> arg0)
private float
i(double arg0)
rotWrap(double arg0)
method_6832(double arg0)
m_nomlcuzj(double arg0)
wrapYawChange(double yawDegrees)
wrapYawChange(double yawDegrees)
m_31164_(double arg0)
private boolean
b(elo arg0)
checkWalls(AABB arg0)
method_6821(class_238 arg0)
m_pzbmfkfv(C_hbcjzgoe arg0)
destroyBlocks(Box box)
destroyBlocks(Box box)
m_31139_(C_3040_ arg0)
public boolean
a(cam arg0, bkt arg1, float arg2)
hurt(EnderDragonPart arg0, DamageSource arg1, float arg2)
method_6816(class_1508 arg0, class_1282 arg1, float arg2)
m_grqrotjh(C_coyfpkdd arg0, C_sbxfkpyv arg1, float arg2)
damagePart(EnderDragonPart part, DamageSource source, float amount)
damagePart(EnderDragonPart part, DamageSource source, float amount)
m_31120_(C_943_ p_31122_, C_489_ p_31123_, float arg2)
public boolean
a(bkt arg0, float arg1)
hurt(DamageSource arg0, float arg1)
method_5643(class_1282 arg0, float arg1)
m_szxeksnh(C_sbxfkpyv arg0, float arg1)
damage(DamageSource arg0, float arg1)
damage(DamageSource arg0, float arg1)
m_6469_(C_489_ p_31114_, float arg1)
protected boolean
g(bkt arg0, float arg1)
reallyHurt(DamageSource arg0, float arg1)
method_6819(class_1282 arg0, float arg1)
m_jfgvmsbb(C_sbxfkpyv arg0, float arg1)
parentDamage(DamageSource source, float amount)
parentDamage(DamageSource source, float amount)
m_31161_(C_489_ p_31163_, float arg1)
public void
al()
kill()
method_5768()
m_mrxmgxtb()
kill()
kill()
m_6074_()
protected void
eb()
tickDeath()
method_6108()
m_ndbwdqzx()
updatePostDeath()
updatePostDeath()
m_6153_()
public int
A()
findClosestNode()
method_6818()
m_rzeyrjkt()
getNearestPathNodeIndex()
getNearestPathNodeIndex()
m_31155_()
public int
r(double arg0, double arg1, double arg2)
findClosestNode(double arg0, double arg1, double arg2)
method_6822(double arg0, double arg1, double arg2)
m_mdjeommd(double arg0, double arg1, double arg2)
getNearestPathNodeIndex(double x, double y, double z)
getNearestPathNodeIndex(double x, double y, double z)
m_31170_(double p_31172_, double arg1, double arg2)
public Path
a(int arg0, int arg1, efe arg2)
findPath(int arg0, int arg1, Node arg2)
method_6833(int arg0, int arg1, class_9 arg2)
m_mrljmhak(int arg0, int arg1, C_dfzwsdmo arg2)
findPath(int from, int to, PathNode pathNode)
findPath(int from, int to, PathNode pathNode)
m_31104_(int p_31106_, int p_31107_, C_2751_ arg2)
private Path
a(efe arg0, efe arg1)
reconstructPath(Node arg0, Node arg1)
method_6826(class_9 arg0, class_9 arg1)
m_mqbgeiir(C_dfzwsdmo arg0, C_dfzwsdmo arg1)
getPathOfAllPredecessors(PathNode unused, PathNode node)
getPathOfAllPredecessors(PathNode unused, PathNode node)
m_31128_(C_2751_ p_31130_, C_2751_ arg1)
public void
b(sn arg0)
addAdditionalSaveData(CompoundTag arg0)
method_5652(class_2487 arg0)
m_xuwbpohg(C_hhlwcnih arg0)
writeCustomDataToNbt(NbtCompound arg0)
writeCustomDataToNbt(NbtCompound arg0)
m_7380_(C_4917_ arg0)
public void
a(sn arg0)
readAdditionalSaveData(CompoundTag arg0)
method_5749(class_2487 arg0)
m_obkzfysl(C_hhlwcnih arg0)
readCustomDataFromNbt(NbtCompound arg0)
readCustomDataFromNbt(NbtCompound arg0)
m_7378_(C_4917_ arg0)
public void
dy()
checkDespawn()
method_5982()
m_vcfvpihz()
checkDespawn()
checkDespawn()
m_6043_()
public EnderDragonPart[]
ga()
getSubEntities()
method_5690()
m_waddpucb()
getBodyParts()
getBodyParts()
m_31156_()
public boolean
bt()
isPickable()
method_5863()
m_bzveerey()
canHit()
collides()
m_6087_()
public SoundSource
db()
getSoundSource()
method_5634()
m_nsggwems()
getSoundCategory()
getSoundCategory()
m_5720_()
protected SoundEvent
y()
getAmbientSound()
method_5994()
m_jjefzxbm()
getAmbientSound()
getAmbientSound()
m_7515_()
protected SoundEvent
d(bkt arg0)
getHurtSound(DamageSource arg0)
method_6011(class_1282 arg0)
m_spwwmdyl(C_sbxfkpyv arg0)
getHurtSound(DamageSource arg0)
getHurtSound(DamageSource arg0)
m_7975_(C_489_ arg0)
protected float
eW()
getSoundVolume()
method_6107()
m_oafzlopj()
getSoundVolume()
getSoundVolume()
m_6121_()
public float
a(int arg0, double[] arg1, double[] arg2)
getHeadPartYOffset(int arg0, double[] arg1, double[] arg2)
method_6823(int arg0, double[] arg1, double[] arg2)
m_vlsbguxa(int arg0, double[] arg1, double[] arg2)
getChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2)
getChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2)
m_31108_(int p_31110_, double[] p_31111_, double[] arg2)
public Vec3
D(float arg0)
getHeadLookVector(float arg0)
method_6834(float arg0)
m_jlgrcrjs(float arg0)
getRotationVectorFromPhase(float tickDelta)
getRotationVectorFromPhase(float tickDelta)
m_31174_(float arg0)
public void
a(can arg0, hx arg1, bkt arg2)
onCrystalDestroyed(EndCrystal arg0, BlockPos arg1, DamageSource arg2)
method_6828(class_1511 arg0, class_2338 arg1, class_1282 arg2)
m_zlqezicl(C_akvrfxgg arg0, C_hynzadkk arg1, C_sbxfkpyv arg2)
crystalDestroyed(EndCrystalEntity endCrystal, BlockPos pos, DamageSource source)
crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source)
m_31124_(C_944_ p_31126_, C_4675_ p_31127_, C_489_ arg2)
public void
a(agm<?> arg0)
onSyncedDataUpdated(EntityDataAccessor<?> arg0)
method_5674(class_2940<?> arg0)
m_jrqgigsr(C_rinmcaxy<?> arg0)
onTrackedDataSet(TrackedData<?> arg0)
onTrackedDataUpdate(TrackedData<?> arg0)
m_7350_(C_5225_<?> arg0)
public EnderDragonPhaseManager
gb()
getPhaseManager()
method_6831()
m_yfbeuhuv()
getPhaseManager()
getPhaseManager()
m_31157_()
public EndDragonFight
gc()
getDragonFight()
method_6829()
m_elnqrvgh()
getFight()
getFight()
m_31158_()
public boolean
b(bli arg0, blv arg1)
addEffect(MobEffectInstance arg0, Entity arg1)
method_37222(class_1293 arg0, class_1297 arg1)
m_ynmbvwjb(C_wpfizwve arg0, C_astfners arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
addStatusEffect(StatusEffectInstance arg0, Entity arg1)
m_147207_(C_498_ p_182395_, C_507_ arg1)
protected boolean
o(blv arg0)
canRide(Entity arg0)
method_5860(class_1297 arg0)
m_swzplugo(C_astfners arg0)
canStartRiding(Entity arg0)
canStartRiding(Entity arg0)
m_7341_(C_507_ arg0)
public boolean
ct()
canChangeDimensions()
method_5822()
m_yufxwphq()
canUsePortals()
canUsePortals()
m_6072_()
public void
a(zb arg0)
recreateFromPacket(ClientboundAddEntityPacket arg0)
method_31471(class_2604 arg0)
m_fccepfav(C_qdqrqwvy arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
onSpawnPacket(EntitySpawnS2CPacket arg0)
m_141965_(C_5032_ arg0)
public boolean
c(bml arg0)
canAttack(LivingEntity arg0)
method_18395(class_1309 arg0)
m_guuxmwap(C_usxaxydn arg0)
canTarget(LivingEntity arg0)
canTarget(LivingEntity arg0)
m_6779_(C_524_ arg0)
protected org.joml.Vector3f
a(blv arg0, blw arg1, float arg2)
getPassengerAttachmentPoint(Entity arg0, EntityDimensions arg1, float arg2)
method_52533(class_1297 arg0, class_4048 arg1, float arg2)
m_xwkoqqtf(C_astfners arg0, C_sszpscpo arg1, float arg2)
getPassengerAttachmentPos(Entity arg0, EntityDimensions arg1, float arg2)
m_292594_(C_507_ p_299373_, C_510_ p_297229_, float arg2)