net.minecraft.world.level.dimension.end

public class EndDragonFight

ebt
net.minecraft.world.level.dimension.end.EndDragonFight
net.minecraft.class_2881
net.minecraft.entity.boss.dragon.EnderDragonFight
net.minecraft.world.level.dimension.end.EnderDragonBattle

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
d
LOGGER
field_13112
LOGGER
private static final int
e
MAX_TICKS_BEFORE_DRAGON_RESPAWN
field_31443
CHECK_DRAGON_SEEN_INTERVAL
private static final int
f
TIME_BETWEEN_CRYSTAL_SCANS
field_31444
CRYSTAL_COUNTING_INTERVAL
public static final int
a
TIME_BETWEEN_PLAYER_SCANS
field_31445
field_31445
private static final int
g
ARENA_SIZE_CHUNKS
field_31446
ISLAND_SIZE
public static final int
b
ARENA_TICKET_LEVEL
field_31441
field_31441
private static final int
h
GATEWAY_COUNT
field_31447
PLAYER_COUNTING_INTERVAL
private static final int
i
GATEWAY_DISTANCE
field_31448
field_31448
public static final int
c
DRAGON_SPAWN_Y
field_31442
SPAWN_Y
private final Predicate<Entity>
j
validPlayer
field_44876
showBossBarPredicate
private final ServerBossEvent
k
dragonEvent
field_13119
bossBar
private final ServerLevel
l
level
field_13108
world
private final BlockPos
m
origin
field_44877
origin
private final it.unimi.dsi.fastutil.objects.ObjectArrayList<Integer>
n
gateways
field_13121
gateways
private final BlockPattern
o
exitPortalPattern
field_13110
endPortalPattern
private int
p
ticksSinceDragonSeen
field_13107
dragonSeenTimer
private int
q
crystalsAlive
field_13106
endCrystalsAlive
private int
r
ticksSinceCrystalsScanned
field_13105
crystalCountTimer
private int
s
ticksSinceLastPlayerScan
field_13122
playerUpdateTimer
private boolean
t
dragonKilled
field_13115
dragonKilled
private boolean
u
previouslyKilled
field_13114
previouslyKilled
private boolean
v
skipArenaLoadedCheck
field_44878
skipChunksLoadedCheck
private UUID
w
dragonUUID
field_13116
dragonUuid
private boolean
x
needsStateScanning
field_13111
doLegacyCheck
private BlockPos
y
portalLocation
field_13117
exitPortalLocation
private DragonRespawnAnimation
z
respawnStage
field_13120
dragonSpawnState
private int
A
respawnTime
field_13118
spawnStateTimer
private List<EndCrystal>
B
respawnCrystals
field_13109
crystals

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()
public EndDragonFight$Data
b()
saveData()
method_12530()
toData()
public void
c()
tick()
method_12538()
tick()
private void
j()
scanState()
method_12515()
convertFromLegacy()
private void
k()
findOrCreateDragon()
method_12525()
checkDragonSeen()
protected void
a(ebs arg0)
setRespawnStage(DragonRespawnAnimation arg0)
method_12521(class_2876 arg0)
setSpawnState(EnderDragonSpawnState spawnState)
private boolean
l()
hasActiveExitPortal()
method_12514()
worldContainsEndPortal()
private BlockPattern$BlockPatternMatch
m()
findExitPortal()
method_12531()
findEndPortal()
private boolean
n()
isArenaLoaded()
method_12533()
areChunksLoaded()
private void
o()
updatePlayers()
method_12520()
updatePlayers()
private void
p()
updateCrystalCount()
method_12535()
countAliveCrystals()
public void
a(cku arg0)
setDragonKilled(EnderDragon arg0)
method_12528(class_1510 arg0)
dragonKilled(EnderDragonEntity dragon)
public void
d()
removeAllGateways()
method_51856()
clearGatewaysList()
private void
q()
spawnNewGateway()
method_12519()
generateNewEndGateway()
private void
a(jh arg0)
spawnNewGateway(BlockPos arg0)
method_12516(class_2338 arg0)
generateEndGateway(BlockPos pos)
private void
a(boolean arg0)
spawnExitPortal(boolean arg0)
method_12518(boolean arg0)
generateEndPortal(boolean previouslyKilled)
private EnderDragon
r()
createNewDragon()
method_12523()
createDragon()
public void
b(cku arg0)
updateDragon(EnderDragon arg0)
method_12532(class_1510 arg0)
updateFight(EnderDragonEntity dragon)
public int
e()
getCrystalsAlive()
method_12517()
getAliveEndCrystals()
public void
a(ckt arg0, bua arg1)
onCrystalDestroyed(EndCrystal arg0, DamageSource arg1)
method_12526(class_1511 arg0, class_1282 arg1)
crystalDestroyed(EndCrystalEntity enderCrystal, DamageSource source)
public boolean
f()
hasPreviouslyKilledDragon()
method_12536()
hasPreviouslyKilled()
public void
g()
tryRespawn()
method_12522()
respawnDragon()
private void
a(List<ckt> arg0)
respawnDragon(List<EndCrystal> arg0)
method_12529(List<class_1511> arg0)
respawnDragon(List<EndCrystalEntity> crystals)
public void
h()
resetSpikeCrystals()
method_12524()
resetEndCrystals()
public UUID
i()
getDragonUUID()
method_52179()
getDragonUuid()