net.minecraft.world.level.dimension.end

public class EndDragonFight

cny
net.minecraft.world.level.dimension.end.EndDragonFight
net.minecraft.class_2881
net.minecraft.unmapped.C_hxzjzvro
net.minecraft.entity.boss.dragon.EnderDragonFight
net.minecraft.src.C_2183_
net.minecraft.world.level.dimension.end.EnderDragonBattle

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
c
LOGGER
field_13112
f_oghmnwbg
LOGGER
f_64058_
private static final int
d
MAX_TICKS_BEFORE_DRAGON_RESPAWN
field_31443
f_nbsoplfa
CHECK_DRAGON_SEEN_INTERVAL
f_156737_
private static final int
e
TIME_BETWEEN_CRYSTAL_SCANS
field_31444
f_oofvnfrx
CRYSTAL_COUNTING_INTERVAL
f_156738_
private static final int
f
TIME_BETWEEN_PLAYER_SCANS
field_31445
f_pbrixusx
field_31445
f_156739_
private static final int
g
ARENA_SIZE_CHUNKS
field_31446
f_qayibrpo
field_31446
f_156740_
public static final int
a
ARENA_TICKET_LEVEL
field_31441
f_arhrijks
field_31441
f_156735_
private static final int
h
GATEWAY_COUNT
field_31447
f_ymkjvclv
field_31447
f_156741_
private static final int
i
GATEWAY_DISTANCE
field_31448
f_hptqzozx
field_31448
f_156742_
public static final int
b
DRAGON_SPAWN_Y
field_31442
f_nncxnwdt
field_31442
f_156736_
private static final Predicate<Entity>
j
VALID_PLAYER
field_13113
f_bgidgmgi
VALID_ENTITY
f_64059_
private final ServerBossEvent
k
dragonEvent
field_13119
f_pgxxivge
bossBar
f_64060_
private final ServerLevel
l
level
field_13108
f_gpdnwquv
world
f_64061_
private final List<Integer>
m
gateways
field_13121
f_vpshgwjp
gateways
f_64062_
private final BlockPattern
n
exitPortalPattern
field_13110
f_smeanuag
endPortalPattern
f_64063_
private int
o
ticksSinceDragonSeen
field_13107
f_nuxcvekx
dragonSeenTimer
f_64064_
private int
p
crystalsAlive
field_13106
f_swkloaoe
endCrystalsAlive
f_64065_
private int
q
ticksSinceCrystalsScanned
field_13105
f_uuhsshrt
crystalCountTimer
f_64066_
private int
r
ticksSinceLastPlayerScan
field_13122
f_wjxdsjtq
playerUpdateTimer
f_64067_
private boolean
s
dragonKilled
field_13115
f_guyeyjuy
dragonKilled
f_64068_
private boolean
t
previouslyKilled
field_13114
f_nddzubul
previouslyKilled
f_64069_
private UUID
u
dragonUUID
field_13116
f_reynxnzf
dragonUuid
f_64070_
private boolean
v
needsStateScanning
field_13111
f_ubefolbc
doLegacyCheck
f_64071_
private BlockPos
w
portalLocation
field_13117
f_rwjglclv
exitPortalLocation
f_64072_
private DragonRespawnAnimation
x
respawnStage
field_13120
f_xxqubfnu
dragonSpawnState
f_64073_
private int
y
respawnTime
field_13118
f_xkcaplpq
spawnStateTimer
f_64074_
private List<EndCrystal>
z
respawnCrystals
field_13109
f_aqbmfegm
crystals
f_64075_

Constructor summary

ModifierConstructor
public (ServerLevel world, long gatewaysSeed, CompoundTag nbt)

Method summary

Modifier and TypeMethod
public CompoundTag
a()
saveData()
method_12530()
m_kgnlaawg()
toNbt()
m_64081_()
public void
b()
tick()
method_12538()
m_dfujlgkq()
tick()
m_64095_()
private void
g()
scanState()
method_12515()
m_rryplvgm()
convertFromLegacy()
m_64102_()
private void
h()
findOrCreateDragon()
method_12525()
m_scvcfqng()
checkDragonSeen()
m_64103_()
protected void
a(cnx arg0)
setRespawnStage(DragonRespawnAnimation arg0)
method_12521(class_2876 arg0)
m_uzlusufn(C_ubwoswoy arg0)
setSpawnState(EnderDragonSpawnState spawnState)
m_64087_(C_2177_ arg0)
setRespawnPhase(EnumDragonRespawn arg0)
private boolean
i()
hasActiveExitPortal()
method_12514()
m_qffvyptj()
worldContainsEndPortal()
m_64104_()
private BlockPattern$BlockPatternMatch
j()
findExitPortal()
method_12531()
m_bedwxlhk()
findEndPortal()
m_64105_()
getExitPortalShape()
private boolean
k()
isArenaLoaded()
method_12533()
m_hhqpxvmf()
loadChunks()
m_64106_()
private void
l()
updatePlayers()
method_12520()
m_nzfapxlu()
updatePlayers()
m_64107_()
private void
m()
updateCrystalCount()
method_12535()
m_eayvvrro()
countAliveCrystals()
m_64108_()
public void
a(bfy arg0)
setDragonKilled(EnderDragon arg0)
method_12528(class_1510 arg0)
m_hvdepgcg(C_bsmypcfq arg0)
dragonKilled(EnderDragonEntity dragon)
m_64085_(C_945_ arg0)
private void
n()
spawnNewGateway()
method_12519()
m_ewnsobvq()
generateNewEndGateway()
m_64109_()
private void
a(gg arg0)
spawnNewGateway(BlockPos arg0)
method_12516(class_2338 arg0)
m_gixdmqhw(C_hynzadkk arg0)
generateEndGateway(BlockPos pos)
m_64089_(C_4675_ arg0)
private void
a(boolean arg0)
spawnExitPortal(boolean arg0)
method_12518(boolean arg0)
m_dkwjfogr(boolean arg0)
generateEndPortal(boolean previouslyKilled)
m_64093_(boolean arg0)
generateExitPortal(boolean arg0)
private EnderDragon
o()
createNewDragon()
method_12523()
m_lxgqgdqj()
createDragon()
m_64110_()
public void
b(bfy arg0)
updateDragon(EnderDragon arg0)
method_12532(class_1510 arg0)
m_ifpnrmna(C_bsmypcfq arg0)
updateFight(EnderDragonEntity dragon)
m_64096_(C_945_ arg0)
public int
c()
getCrystalsAlive()
method_12517()
m_evzogtrp()
getAliveEndCrystals()
m_64098_()
public void
a(bfx arg0, asq arg1)
onCrystalDestroyed(EndCrystal arg0, DamageSource arg1)
method_12526(class_1511 arg0, class_1282 arg1)
m_uzglscsu(C_akvrfxgg arg0, C_sbxfkpyv arg1)
crystalDestroyed(EndCrystalEntity enderCrystal, DamageSource source)
m_64082_(C_944_ p_64084_, C_489_ arg1)
public boolean
d()
hasPreviouslyKilledDragon()
method_12536()
m_tyuhxvkt()
hasPreviouslyKilled()
m_64099_()
isPreviouslyKilled()
public void
e()
tryRespawn()
method_12522()
m_kijgsayl()
respawnDragon()
m_64100_()
initiateRespawn()
private void
a(List<bfx> arg0)
respawnDragon(List<EndCrystal> arg0)
method_12529(List<class_1511> arg0)
m_rwtiksrm(List<C_akvrfxgg> arg0)
respawnDragon(List<EndCrystalEntity> crystals)
m_64091_(List<C_944_> arg0)
public void
f()
resetSpikeCrystals()
method_12524()
m_gurqdong()
resetEndCrystals()
m_64101_()
resetCrystals()