net.minecraft.world.level.dimension.end

public class EndDragonFight

byr
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_14_R1.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
private final List<Integer>
e
gateways
field_13121
gateways
field_186111_e
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
private boolean
l
previouslyKilled
field_13114
previouslyKilled
field_186118_l
private UUID
m
dragonUUID
field_13116
dragonUuid
field_186119_m
private boolean
n
needsStateScanning
field_13111
doLegacyCheck
field_186120_n
private BlockPos
o
portalLocation
field_13117
exitPortalLocation
field_186121_o
private DragonRespawnAnimation
p
respawnStage
field_13120
dragonSpawnState
field_186122_p
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, CompoundTag arg1)

Method summary

Modifier and TypeMethod
public CompoundTag
a()
saveData()
method_12530()
toTag()
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(byq arg0)
setRespawnStage(DragonRespawnAnimation arg0)
method_12521(class_2876 arg0)
setSpawnState(EnderDragonSpawnState arg0)
func_186095_a(DragonSpawnState arg0)
private boolean
i()
hasExitPortal()
method_12514()
worldContainsEndPortal()
func_186104_g()
private BlockPattern$BlockPatternMatch
j()
findExitPortal()
method_12531()
findEndPortal()
func_186091_h()
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(asp 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(ew arg0)
spawnNewGateway(BlockPos arg0)
method_12516(class_2338 arg0)
generateEndGateway(BlockPos arg0)
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)
private EnderDragon
o()
createNewDragon()
method_12523()
createDragon()
func_192445_m()
public void
b(asp 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(aso arg0, ahx arg1)
onCrystalDestroyed(EndCrystal arg0, DamageSource arg1)
method_12526(class_1511 arg0, class_1282 arg1)
crystalDestroyed(EnderCrystalEntity enderCrystal, DamageSource source)
func_186090_a(EnderCrystalEntity arg0, DamageSource arg1)
public boolean
d()
hasPreviouslyKilledDragon()
method_12536()
hasPreviouslyKilled()
func_186102_d()
public void
e()
tryRespawn()
method_12522()
respawnDragon()
func_186106_e()
private void
a(List<aso> arg0)
respawnDragon(List<EndCrystal> arg0)
method_12529(List<class_1511> arg0)
respawnDragon(List<EnderCrystalEntity> arg0)
func_186093_a(List<EnderCrystalEntity> arg0)
public void
f()
resetSpikeCrystals()
method_12524()
resetEndCrystals()
func_186087_f()