Class EnderDragon

All Implemented Interfaces:
CommandSource, Attackable, Enemy, Targeting, EntityAccess, Nameable, ScoreHolder, IAttachmentHolder, IEntityExtension, ILivingEntityExtension, INBTSerializable<CompoundTag>

public class EnderDragon extends Mob implements Enemy
  • Field Details

    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • DATA_PHASE

      public static final EntityDataAccessor<Integer> DATA_PHASE
    • CRYSTAL_DESTROY_TARGETING

      private static final TargetingConditions CRYSTAL_DESTROY_TARGETING
    • GROWL_INTERVAL_MIN

      private static final int GROWL_INTERVAL_MIN
      See Also:
    • GROWL_INTERVAL_MAX

      private static final int GROWL_INTERVAL_MAX
      See Also:
    • SITTING_ALLOWED_DAMAGE_PERCENTAGE

      private static final float SITTING_ALLOWED_DAMAGE_PERCENTAGE
      See Also:
    • DRAGON_DEATH_TIME_KEY

      private static final String DRAGON_DEATH_TIME_KEY
      See Also:
    • DRAGON_PHASE_KEY

      private static final String DRAGON_PHASE_KEY
      See Also:
    • positions

      public final double[][] positions
    • posPointer

      public int posPointer
    • subEntities

      private final EnderDragonPart[] subEntities
    • neck

      private final EnderDragonPart neck
    • body

      private final EnderDragonPart body
    • tail1

      private final EnderDragonPart tail1
    • tail2

      private final EnderDragonPart tail2
    • tail3

      private final EnderDragonPart tail3
    • wing1

      private final EnderDragonPart wing1
    • wing2

      private final EnderDragonPart wing2
    • oFlapTime

      public float oFlapTime
    • flapTime

      public float flapTime
    • inWall

      public boolean inWall
    • dragonDeathTime

      public int dragonDeathTime
    • yRotA

      public float yRotA
    • nearestCrystal

      @Nullable public EndCrystal nearestCrystal
    • dragonFight

      @Nullable private EndDragonFight dragonFight
    • fightOrigin

      private BlockPos fightOrigin
    • phaseManager

      private final EnderDragonPhaseManager phaseManager
    • growlTime

      private int growlTime
    • sittingDamageReceived

      private float sittingDamageReceived
    • nodes

      private final Node[] nodes
    • nodeAdjacency

      private final int[] nodeAdjacency
    • openSet

      private final BinaryHeap openSet
    • unlimitedLastHurtByPlayer

      @Nullable private @Nullable Player unlimitedLastHurtByPlayer
  • Constructor Details

  • Method Details