net.minecraft.world.level.dimension.end

public class EndDragonFight

dxb
net.minecraft.world.level.dimension.end.EndDragonFight
net.minecraft.class_2881
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.slf4j.Logger
d
LOGGER
field_13112
LOGGER
f_64058_
private static final int
e
MAX_TICKS_BEFORE_DRAGON_RESPAWN
field_31443
CHECK_DRAGON_SEEN_INTERVAL
f_156737_
private static final int
f
TIME_BETWEEN_CRYSTAL_SCANS
field_31444
CRYSTAL_COUNTING_INTERVAL
f_156738_
public static final int
a
TIME_BETWEEN_PLAYER_SCANS
field_31445
field_31445
f_156739_
private static final int
g
ARENA_SIZE_CHUNKS
field_31446
ISLAND_SIZE
f_156740_
public static final int
b
ARENA_TICKET_LEVEL
field_31441
field_31441
f_156735_
private static final int
h
GATEWAY_COUNT
field_31447
PLAYER_COUNTING_INTERVAL
f_156741_
private static final int
i
GATEWAY_DISTANCE
field_31448
field_31448
f_156742_
public static final int
c
DRAGON_SPAWN_Y
field_31442
SPAWN_Y
f_156736_
private final Predicate<Entity>
j
validPlayer
field_44876
showBossBarPredicate
f_286991_
private final ServerBossEvent
k
dragonEvent
field_13119
bossBar
f_64060_
private final ServerLevel
l
level
field_13108
world
f_64061_
private final BlockPos
m
origin
field_44877
origin
f_286985_
private final it.unimi.dsi.fastutil.objects.ObjectArrayList<Integer>
n
gateways
field_13121
gateways
f_64062_
private final BlockPattern
o
exitPortalPattern
field_13110
endPortalPattern
f_64063_
private int
p
ticksSinceDragonSeen
field_13107
dragonSeenTimer
f_64064_
private int
q
crystalsAlive
field_13106
endCrystalsAlive
f_64065_
private int
r
ticksSinceCrystalsScanned
field_13105
crystalCountTimer
f_64066_
private int
s
ticksSinceLastPlayerScan
field_13122
playerUpdateTimer
f_64067_
private boolean
t
dragonKilled
field_13115
dragonKilled
f_64068_
private boolean
u
previouslyKilled
field_13114
previouslyKilled
f_64069_
private boolean
v
skipArenaLoadedCheck
field_44878
skipChunksLoadedCheck
f_286982_
private UUID
w
dragonUUID
field_13116
dragonUuid
f_64070_
private boolean
x
needsStateScanning
field_13111
doLegacyCheck
f_64071_
private BlockPos
y
portalLocation
field_13117
exitPortalLocation
f_64072_
private DragonRespawnAnimation
z
respawnStage
field_13120
dragonSpawnState
f_64073_
private int
A
respawnTime
field_13118
spawnStateTimer
f_64074_
private List<EndCrystal>
B
respawnCrystals
field_13109
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()
setSkipChunksLoadedCheck()
m_287277_()
public EndDragonFight$Data
b()
saveData()
method_12530()
toData()
m_289745_()
public void
c()
tick()
method_12538()
tick()
m_64095_()
private void
j()
scanState()
method_12515()
convertFromLegacy()
m_64102_()
private void
k()
findOrCreateDragon()
method_12525()
checkDragonSeen()
m_64103_()
protected void
a(dxa arg0)
setRespawnStage(DragonRespawnAnimation arg0)
method_12521(class_2876 arg0)
setSpawnState(EnderDragonSpawnState spawnState)
m_64087_(C_2177_ arg0)
private boolean
l()
hasActiveExitPortal()
method_12514()
worldContainsEndPortal()
m_64104_()
private BlockPattern$BlockPatternMatch
m()
findExitPortal()
method_12531()
findEndPortal()
m_64105_()
private boolean
n()
isArenaLoaded()
method_12533()
areChunksLoaded()
m_64106_()
private void
o()
updatePlayers()
method_12520()
updatePlayers()
m_64107_()
private void
p()
updateCrystalCount()
method_12535()
countAliveCrystals()
m_64108_()
public void
a(cia arg0)
setDragonKilled(EnderDragon arg0)
method_12528(class_1510 arg0)
dragonKilled(EnderDragonEntity dragon)
m_64085_(C_945_ arg0)
public void
d()
removeAllGateways()
method_51856()
clearGatewaysList()
m_287238_()
private void
q()
spawnNewGateway()
method_12519()
generateNewEndGateway()
m_64109_()
private void
a(jd arg0)
spawnNewGateway(BlockPos arg0)
method_12516(class_2338 arg0)
generateEndGateway(BlockPos pos)
m_64089_(C_4675_ arg0)
private void
a(boolean arg0)
spawnExitPortal(boolean arg0)
method_12518(boolean arg0)
generateEndPortal(boolean previouslyKilled)
m_64093_(boolean arg0)
private EnderDragon
r()
createNewDragon()
method_12523()
createDragon()
m_64110_()
public void
b(cia arg0)
updateDragon(EnderDragon arg0)
method_12532(class_1510 arg0)
updateFight(EnderDragonEntity dragon)
m_64096_(C_945_ arg0)
public int
e()
getCrystalsAlive()
method_12517()
getAliveEndCrystals()
m_64098_()
public void
a(chz arg0, brk arg1)
onCrystalDestroyed(EndCrystal arg0, DamageSource arg1)
method_12526(class_1511 arg0, class_1282 arg1)
crystalDestroyed(EndCrystalEntity enderCrystal, DamageSource source)
m_64082_(C_944_ p_64084_, C_489_ arg1)
public boolean
f()
hasPreviouslyKilledDragon()
method_12536()
hasPreviouslyKilled()
m_64099_()
public void
g()
tryRespawn()
method_12522()
respawnDragon()
m_64100_()
private void
a(List<chz> arg0)
respawnDragon(List<EndCrystal> arg0)
method_12529(List<class_1511> arg0)
respawnDragon(List<EndCrystalEntity> crystals)
m_64091_(List<C_944_> arg0)
public void
h()
resetSpikeCrystals()
method_12524()
resetEndCrystals()
m_64101_()
public UUID
i()
getDragonUUID()
method_52179()
getDragonUuid()
m_288211_()