net.minecraft.world.level.dimension.end

public class EndDragonFight

cnx
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.apache.logging.log4j.Logger
c
LOGGER
field_13112
LOGGER
f_64058_
private static final int
d
MAX_TICKS_BEFORE_DRAGON_RESPAWN
field_31443
CHECK_DRAGON_SEEN_INTERVAL
f_156737_
private static final int
e
TIME_BETWEEN_CRYSTAL_SCANS
field_31444
CRYSTAL_COUNTING_INTERVAL
f_156738_
private static final int
f
TIME_BETWEEN_PLAYER_SCANS
field_31445
field_31445
f_156739_
private static final int
g
ARENA_SIZE_CHUNKS
field_31446
field_31446
f_156740_
public static final int
a
ARENA_TICKET_LEVEL
field_31441
field_31441
f_156735_
private static final int
h
GATEWAY_COUNT
field_31447
field_31447
f_156741_
private static final int
i
GATEWAY_DISTANCE
field_31448
field_31448
f_156742_
public static final int
b
DRAGON_SPAWN_Y
field_31442
field_31442
f_156736_
private static final Predicate<Entity>
j
VALID_PLAYER
field_13113
VALID_ENTITY
f_64059_
private final ServerBossEvent
k
dragonEvent
field_13119
bossBar
f_64060_
private final ServerLevel
l
level
field_13108
world
f_64061_
private final List<Integer>
m
gateways
field_13121
gateways
f_64062_
private final BlockPattern
n
exitPortalPattern
field_13110
endPortalPattern
f_64063_
private int
o
ticksSinceDragonSeen
field_13107
dragonSeenTimer
f_64064_
private int
p
crystalsAlive
field_13106
endCrystalsAlive
f_64065_
private int
q
ticksSinceCrystalsScanned
field_13105
crystalCountTimer
f_64066_
private int
r
ticksSinceLastPlayerScan
field_13122
playerUpdateTimer
f_64067_
private boolean
s
dragonKilled
field_13115
dragonKilled
f_64068_
private boolean
t
previouslyKilled
field_13114
previouslyKilled
f_64069_
private UUID
u
dragonUUID
field_13116
dragonUuid
f_64070_
private boolean
v
needsStateScanning
field_13111
doLegacyCheck
f_64071_
private BlockPos
w
portalLocation
field_13117
exitPortalLocation
f_64072_
private DragonRespawnAnimation
x
respawnStage
field_13120
dragonSpawnState
f_64073_
private int
y
respawnTime
field_13118
spawnStateTimer
f_64074_
private List<EndCrystal>
z
respawnCrystals
field_13109
crystals
f_64075_

Constructor summary

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

Method summary

Modifier and TypeMethod
public CompoundTag
a()
saveData()
method_12530()
toNbt()
m_64081_()
public void
b()
tick()
method_12538()
tick()
m_64095_()
private void
g()
scanState()
method_12515()
convertFromLegacy()
m_64102_()
private void
h()
findOrCreateDragon()
method_12525()
checkDragonSeen()
m_64103_()
protected void
a(cnw arg0)
setRespawnStage(DragonRespawnAnimation arg0)
method_12521(class_2876 arg0)
setSpawnState(EnderDragonSpawnState spawnState)
m_64087_(C_2177_ arg0)
setRespawnPhase(EnumDragonRespawn arg0)
private boolean
i()
hasActiveExitPortal()
method_12514()
worldContainsEndPortal()
m_64104_()
private BlockPattern$BlockPatternMatch
j()
findExitPortal()
method_12531()
findEndPortal()
m_64105_()
getExitPortalShape()
private boolean
k()
isArenaLoaded()
method_12533()
loadChunks()
m_64106_()
private void
l()
updatePlayers()
method_12520()
updatePlayers()
m_64107_()
private void
m()
updateCrystalCount()
method_12535()
countAliveCrystals()
m_64108_()
public void
a(bfx arg0)
setDragonKilled(EnderDragon arg0)
method_12528(class_1510 arg0)
dragonKilled(EnderDragonEntity dragon)
m_64085_(C_945_ arg0)
private void
n()
spawnNewGateway()
method_12519()
generateNewEndGateway()
m_64109_()
private void
a(gg 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)
generateExitPortal(boolean arg0)
private EnderDragon
o()
createNewDragon()
method_12523()
createDragon()
m_64110_()
public void
b(bfx arg0)
updateDragon(EnderDragon arg0)
method_12532(class_1510 arg0)
updateFight(EnderDragonEntity dragon)
m_64096_(C_945_ arg0)
public int
c()
getCrystalsAlive()
method_12517()
getAliveEndCrystals()
m_64098_()
public void
a(bfw arg0, asp 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
d()
hasPreviouslyKilledDragon()
method_12536()
hasPreviouslyKilled()
m_64099_()
isPreviouslyKilled()
public void
e()
tryRespawn()
method_12522()
respawnDragon()
m_64100_()
initiateRespawn()
private void
a(List<bfw> arg0)
respawnDragon(List<EndCrystal> arg0)
method_12529(List<class_1511> arg0)
respawnDragon(List<EndCrystalEntity> crystals)
m_64091_(List<C_944_> arg0)
public void
f()
resetSpikeCrystals()
method_12524()
resetEndCrystals()
m_64101_()
resetCrystals()