Package net.minecraft.entity.boss.dragon
Class EnderDragonFight
java.lang.Object
net.minecraft.entity.boss.dragon.EnderDragonFight
- Mappings:
Namespace Name official div
intermediary net/minecraft/class_2881
named net/minecraft/entity/boss/dragon/EnderDragonFight
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ServerBossBar
private static final int
private static final int
private int
private @Nullable List<EndCrystalEntity>
private boolean
private boolean
private int
private @Nullable EnderDragonSpawnState
private @Nullable UUID
private int
private final BlockPattern
private @Nullable BlockPos
static final int
static final int
private static final int
private final ObjectArrayList<Integer>
private static final int
private static final Logger
private final BlockPos
private static final int
private int
private boolean
private boolean
static final int
private int
private final ServerWorld
-
Constructor Summary
ConstructorDescriptionEnderDragonFight
(ServerWorld world, long gatewaysSeed, EnderDragonFight.Data data) EnderDragonFight
(ServerWorld world, long gatewaysSeed, EnderDragonFight.Data data, BlockPos origin) -
Method Summary
Modifier and TypeMethodDescriptionprivate boolean
private void
void
Deprecated.private void
private void
private @Nullable EnderDragonEntity
void
crystalDestroyed
(EndCrystalEntity enderCrystal, DamageSource source) void
dragonKilled
(EnderDragonEntity dragon) private BlockPattern.Result
private void
private void
generateEndPortal
(boolean previouslyKilled) private void
int
@Nullable UUID
boolean
void
void
private void
respawnDragon
(List<EndCrystalEntity> crystals) void
Deprecated.protected void
setSpawnState
(EnderDragonSpawnState spawnState) void
tick()
toData()
void
updateFight
(EnderDragonEntity dragon) private void
private boolean
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Ldiv;d:Lorg/slf4j/Logger;
intermediary field_13112
Lnet/minecraft/class_2881;field_13112:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;LOGGER:Lorg/slf4j/Logger;
-
CHECK_DRAGON_SEEN_INTERVAL
private static final int CHECK_DRAGON_SEEN_INTERVAL- See Also:
- Mappings:
Namespace Name Mixin selector official e
Ldiv;e:I
intermediary field_31443
Lnet/minecraft/class_2881;field_31443:I
named CHECK_DRAGON_SEEN_INTERVAL
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;CHECK_DRAGON_SEEN_INTERVAL:I
-
CRYSTAL_COUNTING_INTERVAL
private static final int CRYSTAL_COUNTING_INTERVAL- See Also:
- Mappings:
Namespace Name Mixin selector official f
Ldiv;f:I
intermediary field_31444
Lnet/minecraft/class_2881;field_31444:I
named CRYSTAL_COUNTING_INTERVAL
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;CRYSTAL_COUNTING_INTERVAL:I
-
field_31445
public static final int field_31445- See Also:
- Mappings:
Namespace Name Mixin selector official a
Ldiv;a:I
intermediary field_31445
Lnet/minecraft/class_2881;field_31445:I
named field_31445
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;field_31445:I
-
ISLAND_SIZE
private static final int ISLAND_SIZE- See Also:
- Mappings:
Namespace Name Mixin selector official g
Ldiv;g:I
intermediary field_31446
Lnet/minecraft/class_2881;field_31446:I
named ISLAND_SIZE
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;ISLAND_SIZE:I
-
field_31441
public static final int field_31441- See Also:
- Mappings:
Namespace Name Mixin selector official b
Ldiv;b:I
intermediary field_31441
Lnet/minecraft/class_2881;field_31441:I
named field_31441
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;field_31441:I
-
PLAYER_COUNTING_INTERVAL
private static final int PLAYER_COUNTING_INTERVAL- See Also:
- Mappings:
Namespace Name Mixin selector official h
Ldiv;h:I
intermediary field_31447
Lnet/minecraft/class_2881;field_31447:I
named PLAYER_COUNTING_INTERVAL
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;PLAYER_COUNTING_INTERVAL:I
-
field_31448
private static final int field_31448- See Also:
- Mappings:
Namespace Name Mixin selector official i
Ldiv;i:I
intermediary field_31448
Lnet/minecraft/class_2881;field_31448:I
named field_31448
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;field_31448:I
-
SPAWN_Y
public static final int SPAWN_Y- See Also:
- Mappings:
Namespace Name Mixin selector official c
Ldiv;c:I
intermediary field_31442
Lnet/minecraft/class_2881;field_31442:I
named SPAWN_Y
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;SPAWN_Y:I
-
showBossBarPredicate
- Mappings:
Namespace Name Mixin selector official j
Ldiv;j:Ljava/util/function/Predicate;
intermediary field_44876
Lnet/minecraft/class_2881;field_44876:Ljava/util/function/Predicate;
named showBossBarPredicate
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;showBossBarPredicate:Ljava/util/function/Predicate;
-
bossBar
- Mappings:
Namespace Name Mixin selector official k
Ldiv;k:Lakn;
intermediary field_13119
Lnet/minecraft/class_2881;field_13119:Lnet/minecraft/class_3213;
named bossBar
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;bossBar:Lnet/minecraft/entity/boss/ServerBossBar;
-
world
- Mappings:
Namespace Name Mixin selector official l
Ldiv;l:Lakq;
intermediary field_13108
Lnet/minecraft/class_2881;field_13108:Lnet/minecraft/class_3218;
named world
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;world:Lnet/minecraft/server/world/ServerWorld;
-
origin
- Mappings:
Namespace Name Mixin selector official m
Ldiv;m:Lgw;
intermediary field_44877
Lnet/minecraft/class_2881;field_44877:Lnet/minecraft/class_2338;
named origin
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;origin:Lnet/minecraft/util/math/BlockPos;
-
gateways
- Mappings:
Namespace Name Mixin selector official n
Ldiv;n:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
intermediary field_13121
Lnet/minecraft/class_2881;field_13121:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
named gateways
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;gateways:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
-
endPortalPattern
- Mappings:
Namespace Name Mixin selector official o
Ldiv;o:Ldfo;
intermediary field_13110
Lnet/minecraft/class_2881;field_13110:Lnet/minecraft/class_2700;
named endPortalPattern
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;endPortalPattern:Lnet/minecraft/block/pattern/BlockPattern;
-
dragonSeenTimer
private int dragonSeenTimer- Mappings:
Namespace Name Mixin selector official p
Ldiv;p:I
intermediary field_13107
Lnet/minecraft/class_2881;field_13107:I
named dragonSeenTimer
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonSeenTimer:I
-
endCrystalsAlive
private int endCrystalsAlive- Mappings:
Namespace Name Mixin selector official q
Ldiv;q:I
intermediary field_13106
Lnet/minecraft/class_2881;field_13106:I
named endCrystalsAlive
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;endCrystalsAlive:I
-
crystalCountTimer
private int crystalCountTimer- Mappings:
Namespace Name Mixin selector official r
Ldiv;r:I
intermediary field_13105
Lnet/minecraft/class_2881;field_13105:I
named crystalCountTimer
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;crystalCountTimer:I
-
playerUpdateTimer
private int playerUpdateTimer- Mappings:
Namespace Name Mixin selector official s
Ldiv;s:I
intermediary field_13122
Lnet/minecraft/class_2881;field_13122:I
named playerUpdateTimer
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;playerUpdateTimer:I
-
dragonKilled
private boolean dragonKilled- Mappings:
Namespace Name Mixin selector official t
Ldiv;t:Z
intermediary field_13115
Lnet/minecraft/class_2881;field_13115:Z
named dragonKilled
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonKilled:Z
-
previouslyKilled
private boolean previouslyKilled- Mappings:
Namespace Name Mixin selector official u
Ldiv;u:Z
intermediary field_13114
Lnet/minecraft/class_2881;field_13114:Z
named previouslyKilled
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;previouslyKilled:Z
-
skipChunksLoadedCheck
private boolean skipChunksLoadedCheck- Mappings:
Namespace Name Mixin selector official v
Ldiv;v:Z
intermediary field_44878
Lnet/minecraft/class_2881;field_44878:Z
named skipChunksLoadedCheck
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;skipChunksLoadedCheck:Z
-
dragonUuid
- Mappings:
Namespace Name Mixin selector official w
Ldiv;w:Ljava/util/UUID;
intermediary field_13116
Lnet/minecraft/class_2881;field_13116:Ljava/util/UUID;
named dragonUuid
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonUuid:Ljava/util/UUID;
-
doLegacyCheck
private boolean doLegacyCheck- Mappings:
Namespace Name Mixin selector official x
Ldiv;x:Z
intermediary field_13111
Lnet/minecraft/class_2881;field_13111:Z
named doLegacyCheck
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;doLegacyCheck:Z
-
exitPortalLocation
- Mappings:
Namespace Name Mixin selector official y
Ldiv;y:Lgw;
intermediary field_13117
Lnet/minecraft/class_2881;field_13117:Lnet/minecraft/class_2338;
named exitPortalLocation
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;exitPortalLocation:Lnet/minecraft/util/math/BlockPos;
-
dragonSpawnState
- Mappings:
Namespace Name Mixin selector official z
Ldiv;z:Ldiu;
intermediary field_13120
Lnet/minecraft/class_2881;field_13120:Lnet/minecraft/class_2876;
named dragonSpawnState
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonSpawnState:Lnet/minecraft/entity/boss/dragon/EnderDragonSpawnState;
-
spawnStateTimer
private int spawnStateTimer- Mappings:
Namespace Name Mixin selector official A
Ldiv;A:I
intermediary field_13118
Lnet/minecraft/class_2881;field_13118:I
named spawnStateTimer
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;spawnStateTimer:I
-
crystals
- Mappings:
Namespace Name Mixin selector official B
Ldiv;B:Ljava/util/List;
intermediary field_13109
Lnet/minecraft/class_2881;field_13109:Ljava/util/List;
named crystals
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;crystals:Ljava/util/List;
-
-
Constructor Details
-
EnderDragonFight
- Mappings:
Namespace Name Mixin selector official <init>
Ldiv;<init>(Lakq;JLdiv$a;)V
intermediary <init>
Lnet/minecraft/class_2881;<init>(Lnet/minecraft/class_3218;JLnet/minecraft/class_2881$class_8576;)V
named <init>
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;<init>(Lnet/minecraft/server/world/ServerWorld;JLnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;)V
-
EnderDragonFight
public EnderDragonFight(ServerWorld world, long gatewaysSeed, EnderDragonFight.Data data, BlockPos origin) - Mappings:
Namespace Name Mixin selector official <init>
Ldiv;<init>(Lakq;JLdiv$a;Lgw;)V
intermediary <init>
Lnet/minecraft/class_2881;<init>(Lnet/minecraft/class_3218;JLnet/minecraft/class_2881$class_8576;Lnet/minecraft/class_2338;)V
named <init>
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;<init>(Lnet/minecraft/server/world/ServerWorld;JLnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;Lnet/minecraft/util/math/BlockPos;)V
-
-
Method Details
-
setSkipChunksLoadedCheck
Deprecated.- Mappings:
Namespace Name Mixin selector official a
Ldiv;a()V
intermediary method_51855
Lnet/minecraft/class_2881;method_51855()V
named setSkipChunksLoadedCheck
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;setSkipChunksLoadedCheck()V
-
toData
- Mappings:
Namespace Name Mixin selector official b
Ldiv;b()Ldiv$a;
intermediary method_12530
Lnet/minecraft/class_2881;method_12530()Lnet/minecraft/class_2881$class_8576;
named toData
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;toData()Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;
-
tick
public void tick()- Mappings:
Namespace Name Mixin selector official c
Ldiv;c()V
intermediary method_12538
Lnet/minecraft/class_2881;method_12538()V
named tick
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;tick()V
-
convertFromLegacy
private void convertFromLegacy()- Mappings:
Namespace Name Mixin selector official j
Ldiv;j()V
intermediary method_12515
Lnet/minecraft/class_2881;method_12515()V
named convertFromLegacy
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;convertFromLegacy()V
-
checkDragonSeen
private void checkDragonSeen()- Mappings:
Namespace Name Mixin selector official k
Ldiv;k()V
intermediary method_12525
Lnet/minecraft/class_2881;method_12525()V
named checkDragonSeen
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;checkDragonSeen()V
-
setSpawnState
- Mappings:
Namespace Name Mixin selector official a
Ldiv;a(Ldiu;)V
intermediary method_12521
Lnet/minecraft/class_2881;method_12521(Lnet/minecraft/class_2876;)V
named setSpawnState
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;setSpawnState(Lnet/minecraft/entity/boss/dragon/EnderDragonSpawnState;)V
-
worldContainsEndPortal
private boolean worldContainsEndPortal()- Mappings:
Namespace Name Mixin selector official l
Ldiv;l()Z
intermediary method_12514
Lnet/minecraft/class_2881;method_12514()Z
named worldContainsEndPortal
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;worldContainsEndPortal()Z
-
findEndPortal
- Mappings:
Namespace Name Mixin selector official m
Ldiv;m()Ldfo$b;
intermediary method_12531
Lnet/minecraft/class_2881;method_12531()Lnet/minecraft/class_2700$class_2702;
named findEndPortal
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;findEndPortal()Lnet/minecraft/block/pattern/BlockPattern$Result;
-
areChunksLoaded
private boolean areChunksLoaded()- Mappings:
Namespace Name Mixin selector official n
Ldiv;n()Z
intermediary method_12533
Lnet/minecraft/class_2881;method_12533()Z
named areChunksLoaded
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;areChunksLoaded()Z
-
updatePlayers
private void updatePlayers()- Mappings:
Namespace Name Mixin selector official o
Ldiv;o()V
intermediary method_12520
Lnet/minecraft/class_2881;method_12520()V
named updatePlayers
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;updatePlayers()V
-
countAliveCrystals
private void countAliveCrystals()- Mappings:
Namespace Name Mixin selector official p
Ldiv;p()V
intermediary method_12535
Lnet/minecraft/class_2881;method_12535()V
named countAliveCrystals
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;countAliveCrystals()V
-
dragonKilled
- Mappings:
Namespace Name Mixin selector official a
Ldiv;a(Lbxh;)V
intermediary method_12528
Lnet/minecraft/class_2881;method_12528(Lnet/minecraft/class_1510;)V
named dragonKilled
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonKilled(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)V
-
clearGatewaysList
Deprecated.- Mappings:
Namespace Name Mixin selector official d
Ldiv;d()V
intermediary method_51856
Lnet/minecraft/class_2881;method_51856()V
named clearGatewaysList
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;clearGatewaysList()V
-
generateNewEndGateway
private void generateNewEndGateway()- Mappings:
Namespace Name Mixin selector official q
Ldiv;q()V
intermediary method_12519
Lnet/minecraft/class_2881;method_12519()V
named generateNewEndGateway
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;generateNewEndGateway()V
-
generateEndGateway
- Mappings:
Namespace Name Mixin selector official a
Ldiv;a(Lgw;)V
intermediary method_12516
Lnet/minecraft/class_2881;method_12516(Lnet/minecraft/class_2338;)V
named generateEndGateway
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;generateEndGateway(Lnet/minecraft/util/math/BlockPos;)V
-
generateEndPortal
private void generateEndPortal(boolean previouslyKilled) - Mappings:
Namespace Name Mixin selector official a
Ldiv;a(Z)V
intermediary method_12518
Lnet/minecraft/class_2881;method_12518(Z)V
named generateEndPortal
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;generateEndPortal(Z)V
-
createDragon
- Mappings:
Namespace Name Mixin selector official r
Ldiv;r()Lbxh;
intermediary method_12523
Lnet/minecraft/class_2881;method_12523()Lnet/minecraft/class_1510;
named createDragon
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;createDragon()Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;
-
updateFight
- Mappings:
Namespace Name Mixin selector official b
Ldiv;b(Lbxh;)V
intermediary method_12532
Lnet/minecraft/class_2881;method_12532(Lnet/minecraft/class_1510;)V
named updateFight
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;updateFight(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)V
-
getAliveEndCrystals
public int getAliveEndCrystals()- Mappings:
Namespace Name Mixin selector official e
Ldiv;e()I
intermediary method_12517
Lnet/minecraft/class_2881;method_12517()I
named getAliveEndCrystals
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;getAliveEndCrystals()I
-
crystalDestroyed
- Mappings:
Namespace Name Mixin selector official a
Ldiv;a(Lbxg;Lbho;)V
intermediary method_12526
Lnet/minecraft/class_2881;method_12526(Lnet/minecraft/class_1511;Lnet/minecraft/class_1282;)V
named crystalDestroyed
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;crystalDestroyed(Lnet/minecraft/entity/decoration/EndCrystalEntity;Lnet/minecraft/entity/damage/DamageSource;)V
-
hasPreviouslyKilled
public boolean hasPreviouslyKilled()- Mappings:
Namespace Name Mixin selector official f
Ldiv;f()Z
intermediary method_12536
Lnet/minecraft/class_2881;method_12536()Z
named hasPreviouslyKilled
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;hasPreviouslyKilled()Z
-
respawnDragon
public void respawnDragon()- Mappings:
Namespace Name Mixin selector official g
Ldiv;g()V
intermediary method_12522
Lnet/minecraft/class_2881;method_12522()V
named respawnDragon
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;respawnDragon()V
-
respawnDragon
- Mappings:
Namespace Name Mixin selector official a
Ldiv;a(Ljava/util/List;)V
intermediary method_12529
Lnet/minecraft/class_2881;method_12529(Ljava/util/List;)V
named respawnDragon
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;respawnDragon(Ljava/util/List;)V
-
resetEndCrystals
public void resetEndCrystals()- Mappings:
Namespace Name Mixin selector official h
Ldiv;h()V
intermediary method_12524
Lnet/minecraft/class_2881;method_12524()V
named resetEndCrystals
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;resetEndCrystals()V
-
getDragonUuid
- Mappings:
Namespace Name Mixin selector official i
Ldiv;i()Ljava/util/UUID;
intermediary method_52179
Lnet/minecraft/class_2881;method_52179()Ljava/util/UUID;
named getDragonUuid
Lnet/minecraft/entity/boss/dragon/EnderDragonFight;getDragonUuid()Ljava/util/UUID;
-