Class EnderDragonFight

java.lang.Object
net.minecraft.entity.boss.dragon.EnderDragonFight

public class EnderDragonFight extends Object
Mappings:
Namespace Name
named net/minecraft/entity/boss/dragon/EnderDragonFight
intermediary net/minecraft/class_2881
official dxb
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/entity/boss/dragon/EnderDragonFight;LOGGER:Lorg/slf4j/Logger;
      intermediary field_13112 Lnet/minecraft/class_2881;field_13112:Lorg/slf4j/Logger;
      official d Ldxb;d:Lorg/slf4j/Logger;
    • CHECK_DRAGON_SEEN_INTERVAL

      private static final int CHECK_DRAGON_SEEN_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CHECK_DRAGON_SEEN_INTERVAL Lnet/minecraft/entity/boss/dragon/EnderDragonFight;CHECK_DRAGON_SEEN_INTERVAL:I
      intermediary field_31443 Lnet/minecraft/class_2881;field_31443:I
      official e Ldxb;e:I
    • CRYSTAL_COUNTING_INTERVAL

      private static final int CRYSTAL_COUNTING_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named CRYSTAL_COUNTING_INTERVAL Lnet/minecraft/entity/boss/dragon/EnderDragonFight;CRYSTAL_COUNTING_INTERVAL:I
      intermediary field_31444 Lnet/minecraft/class_2881;field_31444:I
      official f Ldxb;f:I
    • field_31445

      public static final int field_31445
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31445 Lnet/minecraft/entity/boss/dragon/EnderDragonFight;field_31445:I
      intermediary field_31445 Lnet/minecraft/class_2881;field_31445:I
      official a Ldxb;a:I
    • ISLAND_SIZE

      private static final int ISLAND_SIZE
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named ISLAND_SIZE Lnet/minecraft/entity/boss/dragon/EnderDragonFight;ISLAND_SIZE:I
      intermediary field_31446 Lnet/minecraft/class_2881;field_31446:I
      official g Ldxb;g:I
    • field_31441

      public static final int field_31441
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31441 Lnet/minecraft/entity/boss/dragon/EnderDragonFight;field_31441:I
      intermediary field_31441 Lnet/minecraft/class_2881;field_31441:I
      official b Ldxb;b:I
    • PLAYER_COUNTING_INTERVAL

      private static final int PLAYER_COUNTING_INTERVAL
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named PLAYER_COUNTING_INTERVAL Lnet/minecraft/entity/boss/dragon/EnderDragonFight;PLAYER_COUNTING_INTERVAL:I
      intermediary field_31447 Lnet/minecraft/class_2881;field_31447:I
      official h Ldxb;h:I
    • field_31448

      private static final int field_31448
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31448 Lnet/minecraft/entity/boss/dragon/EnderDragonFight;field_31448:I
      intermediary field_31448 Lnet/minecraft/class_2881;field_31448:I
      official i Ldxb;i:I
    • SPAWN_Y

      public static final int SPAWN_Y
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named SPAWN_Y Lnet/minecraft/entity/boss/dragon/EnderDragonFight;SPAWN_Y:I
      intermediary field_31442 Lnet/minecraft/class_2881;field_31442:I
      official c Ldxb;c:I
    • showBossBarPredicate

      private final Predicate<Entity> showBossBarPredicate
      Mappings:
      Namespace Name Mixin selector
      named showBossBarPredicate Lnet/minecraft/entity/boss/dragon/EnderDragonFight;showBossBarPredicate:Ljava/util/function/Predicate;
      intermediary field_44876 Lnet/minecraft/class_2881;field_44876:Ljava/util/function/Predicate;
      official j Ldxb;j:Ljava/util/function/Predicate;
    • bossBar

      private final ServerBossBar bossBar
      Mappings:
      Namespace Name Mixin selector
      named bossBar Lnet/minecraft/entity/boss/dragon/EnderDragonFight;bossBar:Lnet/minecraft/entity/boss/ServerBossBar;
      intermediary field_13119 Lnet/minecraft/class_2881;field_13119:Lnet/minecraft/class_3213;
      official k Ldxb;k:Laqr;
    • world

      private final ServerWorld world
      Mappings:
      Namespace Name Mixin selector
      named world Lnet/minecraft/entity/boss/dragon/EnderDragonFight;world:Lnet/minecraft/server/world/ServerWorld;
      intermediary field_13108 Lnet/minecraft/class_2881;field_13108:Lnet/minecraft/class_3218;
      official l Ldxb;l:Laqu;
    • origin

      private final BlockPos origin
      Mappings:
      Namespace Name Mixin selector
      named origin Lnet/minecraft/entity/boss/dragon/EnderDragonFight;origin:Lnet/minecraft/util/math/BlockPos;
      intermediary field_44877 Lnet/minecraft/class_2881;field_44877:Lnet/minecraft/class_2338;
      official m Ldxb;m:Ljd;
    • gateways

      private final ObjectArrayList<Integer> gateways
      Mappings:
      Namespace Name Mixin selector
      named gateways Lnet/minecraft/entity/boss/dragon/EnderDragonFight;gateways:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      intermediary field_13121 Lnet/minecraft/class_2881;field_13121:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
      official n Ldxb;n:Lit/unimi/dsi/fastutil/objects/ObjectArrayList;
    • endPortalPattern

      private final BlockPattern endPortalPattern
      Mappings:
      Namespace Name Mixin selector
      named endPortalPattern Lnet/minecraft/entity/boss/dragon/EnderDragonFight;endPortalPattern:Lnet/minecraft/block/pattern/BlockPattern;
      intermediary field_13110 Lnet/minecraft/class_2881;field_13110:Lnet/minecraft/class_2700;
      official o Ldxb;o:Ldth;
    • dragonSeenTimer

      private int dragonSeenTimer
      Mappings:
      Namespace Name Mixin selector
      named dragonSeenTimer Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonSeenTimer:I
      intermediary field_13107 Lnet/minecraft/class_2881;field_13107:I
      official p Ldxb;p:I
    • endCrystalsAlive

      private int endCrystalsAlive
      Mappings:
      Namespace Name Mixin selector
      named endCrystalsAlive Lnet/minecraft/entity/boss/dragon/EnderDragonFight;endCrystalsAlive:I
      intermediary field_13106 Lnet/minecraft/class_2881;field_13106:I
      official q Ldxb;q:I
    • crystalCountTimer

      private int crystalCountTimer
      Mappings:
      Namespace Name Mixin selector
      named crystalCountTimer Lnet/minecraft/entity/boss/dragon/EnderDragonFight;crystalCountTimer:I
      intermediary field_13105 Lnet/minecraft/class_2881;field_13105:I
      official r Ldxb;r:I
    • playerUpdateTimer

      private int playerUpdateTimer
      Mappings:
      Namespace Name Mixin selector
      named playerUpdateTimer Lnet/minecraft/entity/boss/dragon/EnderDragonFight;playerUpdateTimer:I
      intermediary field_13122 Lnet/minecraft/class_2881;field_13122:I
      official s Ldxb;s:I
    • dragonKilled

      private boolean dragonKilled
      Mappings:
      Namespace Name Mixin selector
      named dragonKilled Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonKilled:Z
      intermediary field_13115 Lnet/minecraft/class_2881;field_13115:Z
      official t Ldxb;t:Z
    • previouslyKilled

      private boolean previouslyKilled
      Mappings:
      Namespace Name Mixin selector
      named previouslyKilled Lnet/minecraft/entity/boss/dragon/EnderDragonFight;previouslyKilled:Z
      intermediary field_13114 Lnet/minecraft/class_2881;field_13114:Z
      official u Ldxb;u:Z
    • skipChunksLoadedCheck

      private boolean skipChunksLoadedCheck
      Mappings:
      Namespace Name Mixin selector
      named skipChunksLoadedCheck Lnet/minecraft/entity/boss/dragon/EnderDragonFight;skipChunksLoadedCheck:Z
      intermediary field_44878 Lnet/minecraft/class_2881;field_44878:Z
      official v Ldxb;v:Z
    • dragonUuid

      @Nullable private @Nullable UUID dragonUuid
      Mappings:
      Namespace Name Mixin selector
      named dragonUuid Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonUuid:Ljava/util/UUID;
      intermediary field_13116 Lnet/minecraft/class_2881;field_13116:Ljava/util/UUID;
      official w Ldxb;w:Ljava/util/UUID;
    • doLegacyCheck

      private boolean doLegacyCheck
      Mappings:
      Namespace Name Mixin selector
      named doLegacyCheck Lnet/minecraft/entity/boss/dragon/EnderDragonFight;doLegacyCheck:Z
      intermediary field_13111 Lnet/minecraft/class_2881;field_13111:Z
      official x Ldxb;x:Z
    • exitPortalLocation

      @Nullable private @Nullable BlockPos exitPortalLocation
      Mappings:
      Namespace Name Mixin selector
      named exitPortalLocation Lnet/minecraft/entity/boss/dragon/EnderDragonFight;exitPortalLocation:Lnet/minecraft/util/math/BlockPos;
      intermediary field_13117 Lnet/minecraft/class_2881;field_13117:Lnet/minecraft/class_2338;
      official y Ldxb;y:Ljd;
    • dragonSpawnState

      @Nullable private @Nullable EnderDragonSpawnState dragonSpawnState
      Mappings:
      Namespace Name Mixin selector
      named dragonSpawnState Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonSpawnState:Lnet/minecraft/entity/boss/dragon/EnderDragonSpawnState;
      intermediary field_13120 Lnet/minecraft/class_2881;field_13120:Lnet/minecraft/class_2876;
      official z Ldxb;z:Ldxa;
    • spawnStateTimer

      private int spawnStateTimer
      Mappings:
      Namespace Name Mixin selector
      named spawnStateTimer Lnet/minecraft/entity/boss/dragon/EnderDragonFight;spawnStateTimer:I
      intermediary field_13118 Lnet/minecraft/class_2881;field_13118:I
      official A Ldxb;A:I
    • crystals

      Mappings:
      Namespace Name Mixin selector
      named crystals Lnet/minecraft/entity/boss/dragon/EnderDragonFight;crystals:Ljava/util/List;
      intermediary field_13109 Lnet/minecraft/class_2881;field_13109:Ljava/util/List;
      official B Ldxb;B:Ljava/util/List;
  • Constructor Details

    • EnderDragonFight

      public EnderDragonFight(ServerWorld world, long gatewaysSeed, EnderDragonFight.Data data)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/boss/dragon/EnderDragonFight;<init>(Lnet/minecraft/server/world/ServerWorld;JLnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;)V
      intermediary <init> Lnet/minecraft/class_2881;<init>(Lnet/minecraft/class_3218;JLnet/minecraft/class_2881$class_8576;)V
      official <init> Ldxb;<init>(Laqu;JLdxb$a;)V
    • EnderDragonFight

      public EnderDragonFight(ServerWorld world, long gatewaysSeed, EnderDragonFight.Data data, BlockPos origin)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_2881;<init>(Lnet/minecraft/class_3218;JLnet/minecraft/class_2881$class_8576;Lnet/minecraft/class_2338;)V
      official <init> Ldxb;<init>(Laqu;JLdxb$a;Ljd;)V
  • Method Details

    • setSkipChunksLoadedCheck

      @Deprecated public void setSkipChunksLoadedCheck()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named setSkipChunksLoadedCheck Lnet/minecraft/entity/boss/dragon/EnderDragonFight;setSkipChunksLoadedCheck()V
      intermediary method_51855 Lnet/minecraft/class_2881;method_51855()V
      official a Ldxb;a()V
    • toData

      public EnderDragonFight.Data toData()
      Mappings:
      Namespace Name Mixin selector
      named toData Lnet/minecraft/entity/boss/dragon/EnderDragonFight;toData()Lnet/minecraft/entity/boss/dragon/EnderDragonFight$Data;
      intermediary method_12530 Lnet/minecraft/class_2881;method_12530()Lnet/minecraft/class_2881$class_8576;
      official b Ldxb;b()Ldxb$a;
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/entity/boss/dragon/EnderDragonFight;tick()V
      intermediary method_12538 Lnet/minecraft/class_2881;method_12538()V
      official c Ldxb;c()V
    • convertFromLegacy

      private void convertFromLegacy()
      Mappings:
      Namespace Name Mixin selector
      named convertFromLegacy Lnet/minecraft/entity/boss/dragon/EnderDragonFight;convertFromLegacy()V
      intermediary method_12515 Lnet/minecraft/class_2881;method_12515()V
      official j Ldxb;j()V
    • checkDragonSeen

      private void checkDragonSeen()
      Mappings:
      Namespace Name Mixin selector
      named checkDragonSeen Lnet/minecraft/entity/boss/dragon/EnderDragonFight;checkDragonSeen()V
      intermediary method_12525 Lnet/minecraft/class_2881;method_12525()V
      official k Ldxb;k()V
    • setSpawnState

      protected void setSpawnState(EnderDragonSpawnState spawnState)
      Mappings:
      Namespace Name Mixin selector
      named setSpawnState Lnet/minecraft/entity/boss/dragon/EnderDragonFight;setSpawnState(Lnet/minecraft/entity/boss/dragon/EnderDragonSpawnState;)V
      intermediary method_12521 Lnet/minecraft/class_2881;method_12521(Lnet/minecraft/class_2876;)V
      official a Ldxb;a(Ldxa;)V
    • worldContainsEndPortal

      private boolean worldContainsEndPortal()
      Mappings:
      Namespace Name Mixin selector
      named worldContainsEndPortal Lnet/minecraft/entity/boss/dragon/EnderDragonFight;worldContainsEndPortal()Z
      intermediary method_12514 Lnet/minecraft/class_2881;method_12514()Z
      official l Ldxb;l()Z
    • findEndPortal

      @Nullable private BlockPattern.Result findEndPortal()
      Mappings:
      Namespace Name Mixin selector
      named findEndPortal Lnet/minecraft/entity/boss/dragon/EnderDragonFight;findEndPortal()Lnet/minecraft/block/pattern/BlockPattern$Result;
      intermediary method_12531 Lnet/minecraft/class_2881;method_12531()Lnet/minecraft/class_2700$class_2702;
      official m Ldxb;m()Ldth$b;
    • areChunksLoaded

      private boolean areChunksLoaded()
      Mappings:
      Namespace Name Mixin selector
      named areChunksLoaded Lnet/minecraft/entity/boss/dragon/EnderDragonFight;areChunksLoaded()Z
      intermediary method_12533 Lnet/minecraft/class_2881;method_12533()Z
      official n Ldxb;n()Z
    • updatePlayers

      private void updatePlayers()
      Mappings:
      Namespace Name Mixin selector
      named updatePlayers Lnet/minecraft/entity/boss/dragon/EnderDragonFight;updatePlayers()V
      intermediary method_12520 Lnet/minecraft/class_2881;method_12520()V
      official o Ldxb;o()V
    • countAliveCrystals

      private void countAliveCrystals()
      Mappings:
      Namespace Name Mixin selector
      named countAliveCrystals Lnet/minecraft/entity/boss/dragon/EnderDragonFight;countAliveCrystals()V
      intermediary method_12535 Lnet/minecraft/class_2881;method_12535()V
      official p Ldxb;p()V
    • dragonKilled

      public void dragonKilled(EnderDragonEntity dragon)
      Mappings:
      Namespace Name Mixin selector
      named dragonKilled Lnet/minecraft/entity/boss/dragon/EnderDragonFight;dragonKilled(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)V
      intermediary method_12528 Lnet/minecraft/class_2881;method_12528(Lnet/minecraft/class_1510;)V
      official a Ldxb;a(Lcia;)V
    • clearGatewaysList

      @Deprecated public void clearGatewaysList()
      Deprecated.
      Mappings:
      Namespace Name Mixin selector
      named clearGatewaysList Lnet/minecraft/entity/boss/dragon/EnderDragonFight;clearGatewaysList()V
      intermediary method_51856 Lnet/minecraft/class_2881;method_51856()V
      official d Ldxb;d()V
    • generateNewEndGateway

      private void generateNewEndGateway()
      Mappings:
      Namespace Name Mixin selector
      named generateNewEndGateway Lnet/minecraft/entity/boss/dragon/EnderDragonFight;generateNewEndGateway()V
      intermediary method_12519 Lnet/minecraft/class_2881;method_12519()V
      official q Ldxb;q()V
    • generateEndGateway

      private void generateEndGateway(BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named generateEndGateway Lnet/minecraft/entity/boss/dragon/EnderDragonFight;generateEndGateway(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_12516 Lnet/minecraft/class_2881;method_12516(Lnet/minecraft/class_2338;)V
      official a Ldxb;a(Ljd;)V
    • generateEndPortal

      private void generateEndPortal(boolean previouslyKilled)
      Mappings:
      Namespace Name Mixin selector
      named generateEndPortal Lnet/minecraft/entity/boss/dragon/EnderDragonFight;generateEndPortal(Z)V
      intermediary method_12518 Lnet/minecraft/class_2881;method_12518(Z)V
      official a Ldxb;a(Z)V
    • createDragon

      @Nullable private @Nullable EnderDragonEntity createDragon()
      Mappings:
      Namespace Name Mixin selector
      named createDragon Lnet/minecraft/entity/boss/dragon/EnderDragonFight;createDragon()Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;
      intermediary method_12523 Lnet/minecraft/class_2881;method_12523()Lnet/minecraft/class_1510;
      official r Ldxb;r()Lcia;
    • updateFight

      public void updateFight(EnderDragonEntity dragon)
      Mappings:
      Namespace Name Mixin selector
      named updateFight Lnet/minecraft/entity/boss/dragon/EnderDragonFight;updateFight(Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;)V
      intermediary method_12532 Lnet/minecraft/class_2881;method_12532(Lnet/minecraft/class_1510;)V
      official b Ldxb;b(Lcia;)V
    • getAliveEndCrystals

      public int getAliveEndCrystals()
      Mappings:
      Namespace Name Mixin selector
      named getAliveEndCrystals Lnet/minecraft/entity/boss/dragon/EnderDragonFight;getAliveEndCrystals()I
      intermediary method_12517 Lnet/minecraft/class_2881;method_12517()I
      official e Ldxb;e()I
    • crystalDestroyed

      public void crystalDestroyed(EndCrystalEntity enderCrystal, DamageSource source)
      Mappings:
      Namespace Name Mixin selector
      named crystalDestroyed Lnet/minecraft/entity/boss/dragon/EnderDragonFight;crystalDestroyed(Lnet/minecraft/entity/decoration/EndCrystalEntity;Lnet/minecraft/entity/damage/DamageSource;)V
      intermediary method_12526 Lnet/minecraft/class_2881;method_12526(Lnet/minecraft/class_1511;Lnet/minecraft/class_1282;)V
      official a Ldxb;a(Lchz;Lbrk;)V
    • hasPreviouslyKilled

      public boolean hasPreviouslyKilled()
      Mappings:
      Namespace Name Mixin selector
      named hasPreviouslyKilled Lnet/minecraft/entity/boss/dragon/EnderDragonFight;hasPreviouslyKilled()Z
      intermediary method_12536 Lnet/minecraft/class_2881;method_12536()Z
      official f Ldxb;f()Z
    • respawnDragon

      public void respawnDragon()
      Mappings:
      Namespace Name Mixin selector
      named respawnDragon Lnet/minecraft/entity/boss/dragon/EnderDragonFight;respawnDragon()V
      intermediary method_12522 Lnet/minecraft/class_2881;method_12522()V
      official g Ldxb;g()V
    • respawnDragon

      private void respawnDragon(List<EndCrystalEntity> crystals)
      Mappings:
      Namespace Name Mixin selector
      named respawnDragon Lnet/minecraft/entity/boss/dragon/EnderDragonFight;respawnDragon(Ljava/util/List;)V
      intermediary method_12529 Lnet/minecraft/class_2881;method_12529(Ljava/util/List;)V
      official a Ldxb;a(Ljava/util/List;)V
    • resetEndCrystals

      public void resetEndCrystals()
      Mappings:
      Namespace Name Mixin selector
      named resetEndCrystals Lnet/minecraft/entity/boss/dragon/EnderDragonFight;resetEndCrystals()V
      intermediary method_12524 Lnet/minecraft/class_2881;method_12524()V
      official h Ldxb;h()V
    • getDragonUuid

      @Nullable public @Nullable UUID getDragonUuid()
      Mappings:
      Namespace Name Mixin selector
      named getDragonUuid Lnet/minecraft/entity/boss/dragon/EnderDragonFight;getDragonUuid()Ljava/util/UUID;
      intermediary method_52179 Lnet/minecraft/class_2881;method_52179()Ljava/util/UUID;
      official i Ldxb;i()Ljava/util/UUID;