Class EnderDragonEntity

All Implemented Interfaces:
Monster, CommandOutput, Nameable, EntityLike

public class EnderDragonEntity extends MobEntity implements Monster
Mappings:
Namespace Name
official bje
intermediary net/minecraft/class_1510
named net/minecraft/entity/boss/dragon/EnderDragonEntity
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official cb Lbje;cb:Lorg/apache/logging/log4j/Logger;
      intermediary field_7021 Lnet/minecraft/class_1510;field_7021:Lorg/apache/logging/log4j/Logger;
      named LOGGER Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
    • PHASE_TYPE

      public static final TrackedData<Integer> PHASE_TYPE
      Mappings:
      Namespace Name Mixin selector
      official b Lbje;b:Lxj;
      intermediary field_7013 Lnet/minecraft/class_1510;field_7013:Lnet/minecraft/class_2940;
      named PHASE_TYPE Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;PHASE_TYPE:Lnet/minecraft/entity/data/TrackedData;
    • CLOSE_PLAYER_PREDICATE

      private static final TargetPredicate CLOSE_PLAYER_PREDICATE
      Mappings:
      Namespace Name Mixin selector
      official cc Lbje;cc:Lbgg;
      intermediary field_18120 Lnet/minecraft/class_1510;field_18120:Lnet/minecraft/class_4051;
      named CLOSE_PLAYER_PREDICATE Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;CLOSE_PLAYER_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
    • MAX_HEALTH

      private static final int MAX_HEALTH
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cd Lbje;cd:I
      intermediary field_30428 Lnet/minecraft/class_1510;field_30428:I
      named MAX_HEALTH Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;MAX_HEALTH:I
    • field_30429

      private static final int field_30429
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ce Lbje;ce:I
      intermediary field_30429 Lnet/minecraft/class_1510;field_30429:I
      named field_30429 Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;field_30429:I
    • TAKEOFF_THRESHOLD

      private static final float TAKEOFF_THRESHOLD
      The damage the dragon can take before it takes off, represented as a ratio to the full health.
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cf Lbje;cf:F
      intermediary field_30430 Lnet/minecraft/class_1510;field_30430:F
      named TAKEOFF_THRESHOLD Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;TAKEOFF_THRESHOLD:F
    • DRAGON_DEATH_TIME_KEY

      private static final String DRAGON_DEATH_TIME_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official cg Lbje;cg:Ljava/lang/String;
      intermediary field_33910 Lnet/minecraft/class_1510;field_33910:Ljava/lang/String;
      named DRAGON_DEATH_TIME_KEY Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;DRAGON_DEATH_TIME_KEY:Ljava/lang/String;
    • DRAGON_PHASE_KEY

      private static final String DRAGON_PHASE_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official ch Lbje;ch:Ljava/lang/String;
      intermediary field_33911 Lnet/minecraft/class_1510;field_33911:Ljava/lang/String;
      named DRAGON_PHASE_KEY Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;DRAGON_PHASE_KEY:Ljava/lang/String;
    • segmentCircularBuffer

      public final double[][] segmentCircularBuffer
      (yaw, y, ?)
      Mappings:
      Namespace Name Mixin selector
      official c Lbje;c:[[D
      intermediary field_7026 Lnet/minecraft/class_1510;field_7026:[[D
      named segmentCircularBuffer Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;segmentCircularBuffer:[[D
    • latestSegment

      public int latestSegment
      Mappings:
      Namespace Name Mixin selector
      official d Lbje;d:I
      intermediary field_7010 Lnet/minecraft/class_1510;field_7010:I
      named latestSegment Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;latestSegment:I
    • parts

      private final EnderDragonPart[] parts
      Mappings:
      Namespace Name Mixin selector
      official ci Lbje;ci:[Lbjc;
      intermediary field_7032 Lnet/minecraft/class_1510;field_7032:[Lnet/minecraft/class_1508;
      named parts Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;parts:[Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • neck

      private final EnderDragonPart neck
      Mappings:
      Namespace Name Mixin selector
      official cj Lbje;cj:Lbjc;
      intermediary field_7011 Lnet/minecraft/class_1510;field_7011:Lnet/minecraft/class_1508;
      named neck Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;neck:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • body

      private final EnderDragonPart body
      Mappings:
      Namespace Name Mixin selector
      official ck Lbje;ck:Lbjc;
      intermediary field_7023 Lnet/minecraft/class_1510;field_7023:Lnet/minecraft/class_1508;
      named body Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;body:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • tail1

      private final EnderDragonPart tail1
      Mappings:
      Namespace Name Mixin selector
      official cl Lbje;cl:Lbjc;
      intermediary field_7020 Lnet/minecraft/class_1510;field_7020:Lnet/minecraft/class_1508;
      named tail1 Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tail1:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • tail2

      private final EnderDragonPart tail2
      Mappings:
      Namespace Name Mixin selector
      official cm Lbje;cm:Lbjc;
      intermediary field_7009 Lnet/minecraft/class_1510;field_7009:Lnet/minecraft/class_1508;
      named tail2 Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tail2:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • tail3

      private final EnderDragonPart tail3
      Mappings:
      Namespace Name Mixin selector
      official cn Lbje;cn:Lbjc;
      intermediary field_7022 Lnet/minecraft/class_1510;field_7022:Lnet/minecraft/class_1508;
      named tail3 Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tail3:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • rightWing

      private final EnderDragonPart rightWing
      Mappings:
      Namespace Name Mixin selector
      official co Lbje;co:Lbjc;
      intermediary field_7015 Lnet/minecraft/class_1510;field_7015:Lnet/minecraft/class_1508;
      named rightWing Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;rightWing:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • leftWing

      private final EnderDragonPart leftWing
      Mappings:
      Namespace Name Mixin selector
      official cp Lbje;cp:Lbjc;
      intermediary field_7014 Lnet/minecraft/class_1510;field_7014:Lnet/minecraft/class_1508;
      named leftWing Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;leftWing:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • prevWingPosition

      public float prevWingPosition
      Mappings:
      Namespace Name Mixin selector
      official bV Lbje;bV:F
      intermediary field_7019 Lnet/minecraft/class_1510;field_7019:F
      named prevWingPosition Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;prevWingPosition:F
    • wingPosition

      public float wingPosition
      Mappings:
      Namespace Name Mixin selector
      official bW Lbje;bW:F
      intermediary field_7030 Lnet/minecraft/class_1510;field_7030:F
      named wingPosition Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;wingPosition:F
    • slowedDownByBlock

      public boolean slowedDownByBlock
      Mappings:
      Namespace Name Mixin selector
      official bX Lbje;bX:Z
      intermediary field_7027 Lnet/minecraft/class_1510;field_7027:Z
      named slowedDownByBlock Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;slowedDownByBlock:Z
    • ticksSinceDeath

      public int ticksSinceDeath
      Mappings:
      Namespace Name Mixin selector
      official bY Lbje;bY:I
      intermediary field_7031 Lnet/minecraft/class_1510;field_7031:I
      named ticksSinceDeath Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;ticksSinceDeath:I
    • yawAcceleration

      public float yawAcceleration
      Mappings:
      Namespace Name Mixin selector
      official bZ Lbje;bZ:F
      intermediary field_20865 Lnet/minecraft/class_1510;field_20865:F
      named yawAcceleration Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;yawAcceleration:F
    • connectedCrystal

      @Nullable public @Nullable EndCrystalEntity connectedCrystal
      Mappings:
      Namespace Name Mixin selector
      official ca Lbje;ca:Lbjd;
      intermediary field_7024 Lnet/minecraft/class_1510;field_7024:Lnet/minecraft/class_1511;
      named connectedCrystal Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;connectedCrystal:Lnet/minecraft/entity/decoration/EndCrystalEntity;
    • fight

      @Nullable private final @Nullable EnderDragonFight fight
      Mappings:
      Namespace Name Mixin selector
      official cq Lbje;cq:Lcrb;
      intermediary field_7016 Lnet/minecraft/class_1510;field_7016:Lnet/minecraft/class_2881;
      named fight Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;fight:Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
    • phaseManager

      private final PhaseManager phaseManager
      Mappings:
      Namespace Name Mixin selector
      official cr Lbje;cr:Lbjv;
      intermediary field_7028 Lnet/minecraft/class_1510;field_7028:Lnet/minecraft/class_1526;
      named phaseManager Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;phaseManager:Lnet/minecraft/entity/boss/dragon/phase/PhaseManager;
    • ticksUntilNextGrowl

      private int ticksUntilNextGrowl
      Mappings:
      Namespace Name Mixin selector
      official cs Lbje;cs:I
      intermediary field_7018 Lnet/minecraft/class_1510;field_7018:I
      named ticksUntilNextGrowl Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;ticksUntilNextGrowl:I
    • damageDuringSitting

      private int damageDuringSitting
      Mappings:
      Namespace Name Mixin selector
      official ct Lbje;ct:I
      intermediary field_7029 Lnet/minecraft/class_1510;field_7029:I
      named damageDuringSitting Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;damageDuringSitting:I
    • pathNodes

      private final PathNode[] pathNodes
      The first 12 path nodes are used for end crystals; the others are not tied to them.
      Mappings:
      Namespace Name Mixin selector
      official cu Lbje;cu:[Ldhw;
      intermediary field_7012 Lnet/minecraft/class_1510;field_7012:[Lnet/minecraft/class_9;
      named pathNodes Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathNodes:[Lnet/minecraft/entity/ai/pathing/PathNode;
    • pathNodeConnections

      private final int[] pathNodeConnections
      An array of 24 bitflags, where node #i leads to #j if and only if (pathNodeConnections[i] & (1 << j)) != 0.
      Mappings:
      Namespace Name Mixin selector
      official cv Lbje;cv:[I
      intermediary field_7025 Lnet/minecraft/class_1510;field_7025:[I
      named pathNodeConnections Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathNodeConnections:[I
    • pathHeap

      private final PathMinHeap pathHeap
      Mappings:
      Namespace Name Mixin selector
      official cw Lbje;cw:Ldht;
      intermediary field_7008 Lnet/minecraft/class_1510;field_7008:Lnet/minecraft/class_5;
      named pathHeap Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathHeap:Lnet/minecraft/entity/ai/pathing/PathMinHeap;
  • Constructor Details

    • EnderDragonEntity

      public EnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lawm;<init>(Lawq;Lbzw;)V
      intermediary <init> Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)V
      named <init> Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
  • Method Details

    • createEnderDragonAttributes

      public static DefaultAttributeContainer.Builder createEnderDragonAttributes()
      Mappings:
      Namespace Name Mixin selector
      official n Lbje;n()Laya$a;
      intermediary method_26903 Lnet/minecraft/class_1510;method_26903()Lnet/minecraft/class_5132$class_5133;
      named createEnderDragonAttributes Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;createEnderDragonAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
    • hasWings

      public boolean hasWings()
      Overrides:
      hasWings in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aK Lawm;aK()Z
      intermediary method_5776 Lnet/minecraft/class_1297;method_5776()Z
      named hasWings Lnet/minecraft/entity/Entity;hasWings()Z
    • addFlapEffects

      public void addFlapEffects()
      Adds the effects of this entity flapping, usually to the world the entity is in.

      The actual flapping logic should be done in Entity.tick() instead.

      This is only called when the entity has wings and the entity has any move effect, from Entity.addAirTravelEffects().

      Overrides:
      addFlapEffects in class Entity
      Mappings:
      Namespace Name Mixin selector
      official aJ Lawm;aJ()V
      intermediary method_5801 Lnet/minecraft/class_1297;method_5801()V
      named addFlapEffects Lnet/minecraft/entity/Entity;addFlapEffects()V
    • initDataTracker

      protected void initDataTracker()
      Overrides:
      initDataTracker in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a_ Lawm;a_()V
      intermediary method_5693 Lnet/minecraft/class_1297;method_5693()V
      named initDataTracker Lnet/minecraft/entity/Entity;initDataTracker()V
    • getSegmentProperties

      public double[] getSegmentProperties(int segmentNumber, float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(IF)[D
      intermediary method_6817 Lnet/minecraft/class_1510;method_6817(IF)[D
      named getSegmentProperties Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getSegmentProperties(IF)[D
    • tickMovement

      public void tickMovement()
      Overrides:
      tickMovement in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official w_ Laxa;w_()V
      intermediary method_6007 Lnet/minecraft/class_1309;method_6007()V
      named tickMovement Lnet/minecraft/entity/LivingEntity;tickMovement()V
    • movePart

      private void movePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(Lbjc;DDD)V
      intermediary method_22863 Lnet/minecraft/class_1510;method_22863(Lnet/minecraft/class_1508;DDD)V
      named movePart Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;movePart(Lnet/minecraft/entity/boss/dragon/EnderDragonPart;DDD)V
    • getHeadVerticalMovement

      private float getHeadVerticalMovement()
      Mappings:
      Namespace Name Mixin selector
      official fx Lbje;fx()F
      intermediary method_6820 Lnet/minecraft/class_1510;method_6820()F
      named getHeadVerticalMovement Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getHeadVerticalMovement()F
    • tickWithEndCrystals

      private void tickWithEndCrystals()
      Things to do every tick related to end crystals. The Ender Dragon: * Disconnects from its crystal if it is removed * If it is connected to a crystal, then heals every 10 ticks * With a 1 in 10 chance each tick, searches for the nearest crystal and connects to it if present
      Mappings:
      Namespace Name Mixin selector
      official fy Lbje;fy()V
      intermediary method_6830 Lnet/minecraft/class_1510;method_6830()V
      named tickWithEndCrystals Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tickWithEndCrystals()V
    • launchLivingEntities

      private void launchLivingEntities(List<Entity> entities)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(Ljava/util/List;)V
      intermediary method_6825 Lnet/minecraft/class_1510;method_6825(Ljava/util/List;)V
      named launchLivingEntities Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;launchLivingEntities(Ljava/util/List;)V
    • damageLivingEntities

      private void damageLivingEntities(List<Entity> entities)
      Mappings:
      Namespace Name Mixin selector
      official b Lbje;b(Ljava/util/List;)V
      intermediary method_6827 Lnet/minecraft/class_1510;method_6827(Ljava/util/List;)V
      named damageLivingEntities Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;damageLivingEntities(Ljava/util/List;)V
    • wrapYawChange

      private float wrapYawChange(double yawDegrees)
      Mappings:
      Namespace Name Mixin selector
      official i Lbje;i(D)F
      intermediary method_6832 Lnet/minecraft/class_1510;method_6832(D)F
      named wrapYawChange Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;wrapYawChange(D)F
    • destroyBlocks

      private boolean destroyBlocks(Box box)
      Mappings:
      Namespace Name Mixin selector
      official b Lbje;b(Ldnu;)Z
      intermediary method_6821 Lnet/minecraft/class_1510;method_6821(Lnet/minecraft/class_238;)Z
      named destroyBlocks Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;destroyBlocks(Lnet/minecraft/util/math/Box;)Z
    • damagePart

      public boolean damagePart(EnderDragonPart part, DamageSource source, float amount)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(Lbjc;Lavw;F)Z
      intermediary method_6816 Lnet/minecraft/class_1510;method_6816(Lnet/minecraft/class_1508;Lnet/minecraft/class_1282;F)Z
      named damagePart Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;damagePart(Lnet/minecraft/entity/boss/dragon/EnderDragonPart;Lnet/minecraft/entity/damage/DamageSource;F)Z
    • damage

      public boolean damage(DamageSource source, float amount)
      Overrides:
      damage in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawm;a(Lavw;F)Z
      intermediary method_5643 Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Z
      named damage Lnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • parentDamage

      protected boolean parentDamage(DamageSource source, float amount)
      Mappings:
      Namespace Name Mixin selector
      official g Lbje;g(Lavw;F)Z
      intermediary method_6819 Lnet/minecraft/class_1510;method_6819(Lnet/minecraft/class_1282;F)Z
      named parentDamage Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;parentDamage(Lnet/minecraft/entity/damage/DamageSource;F)Z
    • kill

      public void kill()
      Overrides:
      kill in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official ag Lawm;ag()V
      intermediary method_5768 Lnet/minecraft/class_1297;method_5768()V
      named kill Lnet/minecraft/entity/Entity;kill()V
    • updatePostDeath

      protected void updatePostDeath()
      Overrides:
      updatePostDeath in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official dG Laxa;dG()V
      intermediary method_6108 Lnet/minecraft/class_1309;method_6108()V
      named updatePostDeath Lnet/minecraft/entity/LivingEntity;updatePostDeath()V
    • getNearestPathNodeIndex

      public int getNearestPathNodeIndex()
      Mappings:
      Namespace Name Mixin selector
      official q Lbje;q()I
      intermediary method_6818 Lnet/minecraft/class_1510;method_6818()I
      named getNearestPathNodeIndex Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getNearestPathNodeIndex()I
    • getNearestPathNodeIndex

      public int getNearestPathNodeIndex(double x, double y, double z)
      Mappings:
      Namespace Name Mixin selector
      official q Lbje;q(DDD)I
      intermediary method_6822 Lnet/minecraft/class_1510;method_6822(DDD)I
      named getNearestPathNodeIndex Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getNearestPathNodeIndex(DDD)I
    • findPath

      @Nullable public @Nullable Path findPath(int from, int to, @Nullable @Nullable PathNode pathNode)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(IILdhw;)Ldhy;
      intermediary method_6833 Lnet/minecraft/class_1510;method_6833(IILnet/minecraft/class_9;)Lnet/minecraft/class_11;
      named findPath Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;findPath(IILnet/minecraft/entity/ai/pathing/PathNode;)Lnet/minecraft/entity/ai/pathing/Path;
    • getPathOfAllPredecessors

      private Path getPathOfAllPredecessors(PathNode unused, PathNode node)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(Ldhw;Ldhw;)Ldhy;
      intermediary method_6826 Lnet/minecraft/class_1510;method_6826(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Lnet/minecraft/class_11;
      named getPathOfAllPredecessors Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getPathOfAllPredecessors(Lnet/minecraft/entity/ai/pathing/PathNode;Lnet/minecraft/entity/ai/pathing/PathNode;)Lnet/minecraft/entity/ai/pathing/Path;
    • writeCustomDataToNbt

      public void writeCustomDataToNbt(NbtCompound nbt)
      Overrides:
      writeCustomDataToNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official b Lawm;b(Lob;)V
      intermediary method_5652 Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)V
      named writeCustomDataToNbt Lnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • readCustomDataFromNbt

      public void readCustomDataFromNbt(NbtCompound nbt)
      Overrides:
      readCustomDataFromNbt in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawm;a(Lob;)V
      intermediary method_5749 Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)V
      named readCustomDataFromNbt Lnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
    • checkDespawn

      public void checkDespawn()
      Overrides:
      checkDespawn in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official dj Lawm;dj()V
      intermediary method_5982 Lnet/minecraft/class_1297;method_5982()V
      named checkDespawn Lnet/minecraft/entity/Entity;checkDespawn()V
    • getBodyParts

      public EnderDragonPart[] getBodyParts()
      Mappings:
      Namespace Name Mixin selector
      official t Lbje;t()[Lbjc;
      intermediary method_5690 Lnet/minecraft/class_1510;method_5690()[Lnet/minecraft/class_1508;
      named getBodyParts Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getBodyParts()[Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
    • collides

      public boolean collides()
      Overrides:
      collides in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official bh Lawm;bh()Z
      intermediary method_5863 Lnet/minecraft/class_1297;method_5863()Z
      named collides Lnet/minecraft/entity/Entity;collides()Z
    • getSoundCategory

      public SoundCategory getSoundCategory()
      Overrides:
      getSoundCategory in class Entity
      Mappings:
      Namespace Name Mixin selector
      official cO Lawm;cO()Lagq;
      intermediary method_5634 Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;
      named getSoundCategory Lnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
    • getAmbientSound

      protected SoundEvent getAmbientSound()
      Overrides:
      getAmbientSound in class MobEntity
      Mappings:
      Namespace Name Mixin selector
      official r Laxc;r()Lago;
      intermediary method_5994 Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;
      named getAmbientSound Lnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
    • getHurtSound

      protected SoundEvent getHurtSound(DamageSource source)
      Overrides:
      getHurtSound in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Laxa;c(Lavw;)Lago;
      intermediary method_6011 Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;
      named getHurtSound Lnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
    • getSoundVolume

      protected float getSoundVolume()
      Overrides:
      getSoundVolume in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official et Laxa;et()F
      intermediary method_6107 Lnet/minecraft/class_1309;method_6107()F
      named getSoundVolume Lnet/minecraft/entity/LivingEntity;getSoundVolume()F
    • getChangeInNeckPitch

      public float getChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(I[D[D)F
      intermediary method_6823 Lnet/minecraft/class_1510;method_6823(I[D[D)F
      named getChangeInNeckPitch Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getChangeInNeckPitch(I[D[D)F
    • getRotationVectorFromPhase

      public Vec3d getRotationVectorFromPhase(float tickDelta)
      Mappings:
      Namespace Name Mixin selector
      official y Lbje;y(F)Ldnz;
      intermediary method_6834 Lnet/minecraft/class_1510;method_6834(F)Lnet/minecraft/class_243;
      named getRotationVectorFromPhase Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getRotationVectorFromPhase(F)Lnet/minecraft/util/math/Vec3d;
    • crystalDestroyed

      public void crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source)
      Mappings:
      Namespace Name Mixin selector
      official a Lbje;a(Lbjd;Lgh;Lavw;)V
      intermediary method_6828 Lnet/minecraft/class_1510;method_6828(Lnet/minecraft/class_1511;Lnet/minecraft/class_2338;Lnet/minecraft/class_1282;)V
      named crystalDestroyed Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;crystalDestroyed(Lnet/minecraft/entity/decoration/EndCrystalEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/damage/DamageSource;)V
    • onTrackedDataSet

      public void onTrackedDataSet(TrackedData<?> data)
      Overrides:
      onTrackedDataSet in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Lawm;a(Lxj;)V
      intermediary method_5674 Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)V
      named onTrackedDataSet Lnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
    • getPhaseManager

      public PhaseManager getPhaseManager()
      Mappings:
      Namespace Name Mixin selector
      official fv Lbje;fv()Lbjv;
      intermediary method_6831 Lnet/minecraft/class_1510;method_6831()Lnet/minecraft/class_1526;
      named getPhaseManager Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getPhaseManager()Lnet/minecraft/entity/boss/dragon/phase/PhaseManager;
    • getFight

      Mappings:
      Namespace Name Mixin selector
      official fw Lbje;fw()Lcrb;
      intermediary method_6829 Lnet/minecraft/class_1510;method_6829()Lnet/minecraft/class_2881;
      named getFight Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;getFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
    • addStatusEffect

      public boolean addStatusEffect(StatusEffectInstance effect, @Nullable @Nullable Entity source)
      Adds a status effect to this entity.
      Overrides:
      addStatusEffect in class LivingEntity
      Parameters:
      effect - the effect to add
      source - the source entity or null for non-entity sources
      Returns:
      whether the active status effects of this entity has been modified
      Mappings:
      Namespace Name Mixin selector
      official b Laxa;b(Lawg;Lawm;)Z
      intermediary method_37222 Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Z
      named addStatusEffect Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Z
    • canStartRiding

      protected boolean canStartRiding(Entity entity)
      Overrides:
      canStartRiding in class Entity
      Mappings:
      Namespace Name Mixin selector
      official l Lawm;l(Lawm;)Z
      intermediary method_5860 Lnet/minecraft/class_1297;method_5860(Lnet/minecraft/class_1297;)Z
      named canStartRiding Lnet/minecraft/entity/Entity;canStartRiding(Lnet/minecraft/entity/Entity;)Z
    • canUsePortals

      public boolean canUsePortals()
      Overrides:
      canUsePortals in class Entity
      Mappings:
      Namespace Name Mixin selector
      official ci Lawm;ci()Z
      intermediary method_5822 Lnet/minecraft/class_1297;method_5822()Z
      named canUsePortals Lnet/minecraft/entity/Entity;canUsePortals()Z
    • readFromPacket

      public void readFromPacket(MobSpawnS2CPacket packet)
      Overrides:
      readFromPacket in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official a Laxa;a(Lqr;)V
      intermediary method_33579 Lnet/minecraft/class_1309;method_33579(Lnet/minecraft/class_2610;)V
      named readFromPacket Lnet/minecraft/entity/LivingEntity;readFromPacket(Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;)V
    • canTarget

      public boolean canTarget(LivingEntity target)
      Overrides:
      canTarget in class LivingEntity
      Mappings:
      Namespace Name Mixin selector
      official c Laxa;c(Laxa;)Z
      intermediary method_18395 Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Z
      named canTarget Lnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z