net.minecraft.world.level.dimension.end

public class EndDragonFight

chg
net.minecraft.world.level.dimension.end.EndDragonFight
net.minecraft.class_2881
net.minecraft.entity.boss.dragon.EnderDragonFight
net.minecraft.world.end.DragonFightManager
net.minecraft.server.v1_16_R3.EnderDragonBattle

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_13112
LOGGER
field_186107_a
private static final Predicate<Entity>
b
VALID_PLAYER
field_13113
VALID_ENTITY
field_186108_b
private final ServerBossEvent
c
dragonEvent
field_13119
bossBar
field_186109_c
bossBattle
private final ServerLevel
d
level
field_13108
world
field_186110_d
world
private final List<Integer>
e
gateways
field_13121
gateways
field_186111_e
gateways
private final BlockPattern
f
exitPortalPattern
field_13110
endPortalPattern
field_186112_f
private int
g
ticksSinceDragonSeen
field_13107
dragonSeenTimer
field_186113_g
private int
h
crystalsAlive
field_13106
endCrystalsAlive
field_186114_h
private int
i
ticksSinceCrystalsScanned
field_13105
crystalCountTimer
field_186115_i
private int
j
ticksSinceLastPlayerScan
field_13122
playerUpdateTimer
field_186116_j
private boolean
k
dragonKilled
field_13115
dragonKilled
field_186117_k
dragonKilled
private boolean
l
previouslyKilled
field_13114
previouslyKilled
field_186118_l
previouslyKilled
private UUID
m
dragonUUID
field_13116
dragonUuid
field_186119_m
dragonUUID
private boolean
n
needsStateScanning
field_13111
doLegacyCheck
field_186120_n
private BlockPos
o
portalLocation
field_13117
exitPortalLocation
field_186121_o
exitPortalLocation
private DragonRespawnAnimation
p
respawnStage
field_13120
dragonSpawnState
field_186122_p
respawnPhase
private int
q
respawnTime
field_13118
spawnStateTimer
field_186123_q
private List<EndCrystal>
r
respawnCrystals
field_13109
crystals
field_186124_r

Constructor summary

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

Method summary

Modifier and TypeMethod
public CompoundTag
a()
saveData()
method_12530()
toNbt()
func_186088_a()
public void
b()
tick()
method_12538()
tick()
func_186105_b()
private void
g()
scanState()
method_12515()
convertFromLegacy()
func_210827_g()
private void
h()
findOrCreateDragon()
method_12525()
checkDragonSeen()
func_210828_h()
protected void
a(chf arg0)
setRespawnStage(DragonRespawnAnimation arg0)
method_12521(class_2876 arg0)
setSpawnState(EnderDragonSpawnState spawnState)
func_186095_a(DragonSpawnState arg0)
setRespawnPhase(EnumDragonRespawn arg0)
private boolean
i()
hasActiveExitPortal()
method_12514()
worldContainsEndPortal()
func_229981_i_()
private BlockPattern$BlockPatternMatch
j()
findExitPortal()
method_12531()
findEndPortal()
func_186091_h()
getExitPortalShape()
private boolean
k()
isArenaLoaded()
method_12533()
loadChunks()
func_222670_k()
private void
l()
updatePlayers()
method_12520()
updatePlayers()
func_186100_j()
private void
m()
updateCrystalCount()
method_12535()
countAliveCrystals()
func_186101_k()
public void
a(bbr arg0)
setDragonKilled(EnderDragon arg0)
method_12528(class_1510 arg0)
dragonKilled(EnderDragonEntity dragon)
func_186096_a(EnderDragonEntity arg0)
private void
n()
spawnNewGateway()
method_12519()
generateNewEndGateway()
func_186097_l()
private void
a(fx arg0)
spawnNewGateway(BlockPos arg0)
method_12516(class_2338 arg0)
generateEndGateway(BlockPos pos)
func_186089_a(BlockPos arg0)
private void
a(boolean arg0)
spawnExitPortal(boolean arg0)
method_12518(boolean arg0)
generateEndPortal(boolean previouslyKilled)
func_186094_a(boolean arg0)
generateExitPortal(boolean arg0)
private EnderDragon
o()
createNewDragon()
method_12523()
createDragon()
func_192445_m()
public void
b(bbr arg0)
updateDragon(EnderDragon arg0)
method_12532(class_1510 arg0)
updateFight(EnderDragonEntity dragon)
func_186099_b(EnderDragonEntity arg0)
public int
c()
getCrystalsAlive()
method_12517()
getAliveEndCrystals()
func_186092_c()
public void
a(bbq arg0, apk arg1)
onCrystalDestroyed(EndCrystal arg0, DamageSource arg1)
method_12526(class_1511 arg0, class_1282 arg1)
crystalDestroyed(EndCrystalEntity enderCrystal, DamageSource source)
func_186090_a(EnderCrystalEntity arg0, DamageSource arg1)
public boolean
d()
hasPreviouslyKilledDragon()
method_12536()
hasPreviouslyKilled()
func_186102_d()
isPreviouslyKilled()
public void
e()
tryRespawn()
method_12522()
respawnDragon()
func_186106_e()
initiateRespawn()
private void
a(List<bbq> arg0)
respawnDragon(List<EndCrystal> arg0)
method_12529(List<class_1511> arg0)
respawnDragon(List<EndCrystalEntity> crystals)
func_186093_a(List<EnderCrystalEntity> arg0)
public void
f()
resetSpikeCrystals()
method_12524()
resetEndCrystals()
func_186087_f()
resetCrystals()