net.minecraft.world.level.dimension.end

public class EndDragonFight

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

Field summary

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

Constructor summary

ModifierConstructor
public (ServerLevel world, long gatewaysSeed, EndDragonFight$Data data)
public (ServerLevel world, long gatewaysSeed, EndDragonFight$Data data, BlockPos origin)

Method summary

Modifier and TypeMethod
public void
a()
skipArenaLoadedCheck()
method_51855()
m_vyjemojf()
setSkipChunksLoadedCheck()
setSkipChunksLoadedCheck()
m_287277_()
public EndDragonFight$Data
b()
saveData()
method_12530()
m_kgnlaawg()
toData()
createState()
m_289745_()
public void
c()
tick()
method_12538()
m_dfujlgkq()
tick()
tick()
m_64095_()
private void
j()
scanState()
method_12515()
m_rryplvgm()
convertFromLegacy()
convertFromLegacy()
m_64102_()
private void
k()
findOrCreateDragon()
method_12525()
m_scvcfqng()
checkDragonSeen()
checkDragonSeen()
m_64103_()
protected void
a(dvx arg0)
setRespawnStage(DragonRespawnAnimation arg0)
method_12521(class_2876 arg0)
m_uzlusufn(C_ubwoswoy arg0)
setSpawnState(EnderDragonSpawnState spawnState)
setSpawnState(EnderDragonSpawnState spawnState)
m_64087_(C_2177_ arg0)
private boolean
l()
hasActiveExitPortal()
method_12514()
m_qffvyptj()
worldContainsEndPortal()
worldContainsEndPortal()
m_64104_()
private BlockPattern$BlockPatternMatch
m()
findExitPortal()
method_12531()
m_bedwxlhk()
findEndPortal()
findEndPortal()
m_64105_()
private boolean
n()
isArenaLoaded()
method_12533()
m_hhqpxvmf()
areChunksLoaded()
loadChunks()
m_64106_()
private void
o()
updatePlayers()
method_12520()
m_nzfapxlu()
updatePlayers()
updatePlayers()
m_64107_()
private void
p()
updateCrystalCount()
method_12535()
m_eayvvrro()
countAliveCrystals()
countAliveCrystals()
m_64108_()
public void
a(cic arg0)
setDragonKilled(EnderDragon arg0)
method_12528(class_1510 arg0)
m_hvdepgcg(C_bsmypcfq arg0)
dragonKilled(EnderDragonEntity dragon)
dragonKilled(EnderDragonEntity dragon)
m_64085_(C_945_ arg0)
public void
d()
removeAllGateways()
method_51856()
m_caaoxrzq()
clearGatewaysList()
clearGateways()
m_287238_()
private void
q()
spawnNewGateway()
method_12519()
m_ewnsobvq()
generateNewEndGateway()
generateNewEndGateway()
m_64109_()
private void
a(iz arg0)
spawnNewGateway(BlockPos arg0)
method_12516(class_2338 arg0)
m_gixdmqhw(C_hynzadkk arg0)
generateEndGateway(BlockPos pos)
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)
generateEndPortal(boolean previouslyKilled)
m_64093_(boolean arg0)
private EnderDragon
r()
createNewDragon()
method_12523()
m_lxgqgdqj()
createDragon()
createDragon()
m_64110_()
public void
b(cic arg0)
updateDragon(EnderDragon arg0)
method_12532(class_1510 arg0)
m_ifpnrmna(C_bsmypcfq arg0)
updateFight(EnderDragonEntity dragon)
updateFight(EnderDragonEntity dragon)
m_64096_(C_945_ arg0)
public int
e()
getCrystalsAlive()
method_12517()
m_evzogtrp()
getAliveEndCrystals()
getAliveEndCrystals()
m_64098_()
public void
a(cib arg0, bro 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)
crystalDestroyed(EndCrystalEntity enderCrystal, DamageSource source)
m_64082_(C_944_ p_64084_, C_489_ arg1)
public boolean
f()
hasPreviouslyKilledDragon()
method_12536()
m_tyuhxvkt()
hasPreviouslyKilled()
hasPreviouslyKilled()
m_64099_()
public void
g()
tryRespawn()
method_12522()
m_kijgsayl()
respawnDragon()
respawnDragon()
m_64100_()
private void
a(List<cib> arg0)
respawnDragon(List<EndCrystal> arg0)
method_12529(List<class_1511> arg0)
m_rwtiksrm(List<C_akvrfxgg> arg0)
respawnDragon(List<EndCrystalEntity> crystals)
respawnDragon(List<EndCrystalEntity> crystals)
m_64091_(List<C_944_> arg0)
public void
h()
resetSpikeCrystals()
method_12524()
m_gurqdong()
resetEndCrystals()
resetEndCrystals()
m_64101_()
public UUID
i()
getDragonUUID()
method_52179()
m_kpmmjgfp()
getDragonUuid()
getDragonUuid()
m_288211_()