Package net.minecraft.entity.boss.dragon
Class EnderDragonEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.boss.dragon.EnderDragonEntity
- All Implemented Interfaces:
Monster,CommandOutput,Nameable,EntityLike
public class EnderDragonEntity extends MobEntity implements Monster
- Mappings:
Namespace Name official bdiintermediary net/minecraft/class_1510named net/minecraft/entity/boss/dragon/EnderDragonEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, goalSelector, handDropChances, jumpControl, lookControl, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_6215, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, knockbackVelocity, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeedFields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_28629, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, movementMultiplier, netherPortalTime, noClip, onGround, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, world, yawFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY -
Constructor Summary
Constructors Constructor Description EnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world) -
Method Summary
Modifier and Type Method Description voidaddFlapEffects()Adds the effects of this entity flapping, usually to the world the entity is in.booleanaddStatusEffect(StatusEffectInstance effect)protected booleancanStartRiding(Entity entity)booleancanUsePortals()voidcheckDespawn()booleancollides()static DefaultAttributeContainer.BuildercreateEnderDragonAttributes()voidcrystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source)booleandamage(DamageSource source, float amount)private voiddamageLivingEntities(List<Entity> entities)booleandamagePart(EnderDragonPart part, DamageSource source, float amount)private booleandestroyBlocks(Box box)PathfindPath(int from, int to, PathNode pathNode)protected SoundEventgetAmbientSound()EnderDragonPart[]getBodyParts()EnderDragonFightgetFight()protected SoundEventgetHurtSound(DamageSource source)intgetNearestPathNodeIndex()intgetNearestPathNodeIndex(double x, double y, double z)private PathgetPathOfAllPredecessors(PathNode unused, PathNode node)PhaseManagergetPhaseManager()double[]getSegmentProperties(int segmentNumber, float tickDelta)SoundCategorygetSoundCategory()protected floatgetSoundVolume()booleanhasWings()protected voidinitDataTracker()voidkill()private voidlaunchLivingEntities(List<Entity> entities)voidmethod_33579(MobSpawnS2CPacket mobSpawnS2CPacket)private floatmethod_6820()floatmethod_6823(int segmentOffset, double[] segment1, double[] segment2)Vec3dmethod_6834(float tickDelta)private voidmovePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz)voidonTrackedDataSet(TrackedData<?> data)protected booleanparentDamage(DamageSource source, float amount)voidreadCustomDataFromNbt(CompoundTag tag)voidtickMovement()private voidtickWithEndCrystals()Things to do every tick related to end crystals.protected voidupdatePostDeath()private floatwrapYawChange(double yawDegrees)voidwriteCustomDataToNbt(CompoundTag tag)Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeControlledByRider, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canSpawn, canTarget, canTarget, canUseRangedWeapon, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getCurrentExperience, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, handleStatus, hasPositionTarget, initEquipment, initGoals, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29244, method_33191, mobTick, movesIndependently, onEatingGrass, onPlayerSpawnedChild, playAmbientSound, playHurtSound, playSpawnEffects, prefersNewDamageableItem, prefersNewEquipment, removeFromDimension, sendAiDebugData, setAiDisabled, setAttacking, setBaby, setCanPickUpLoot, setEquipmentDropChance, setForwardSpeed, setHoldingEntityId, setLeftHanded, setMovementSpeed, setPathfindingPenalty, setPersistent, setPositionTarget, setSidewaysSpeed, setTarget, setUpwardSpeed, spawnsTooManyForEachTry, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, canBeRiddenInWater, canBreatheInWater, canDropLootAndXp, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, damageArmor, damageShield, deserializeBrain, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getBaseMovementSpeedMultiplier, getBlockState, getBoundingBox, getBrain, getClimbingPos, getCommandItemSlot, getDamageTracker, getDeathSound, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSound, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isBaby, isBlocking, isClimbing, isDead, isFallFlying, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, knockback, knockDownwards, lookAt, markEffectsDirty, method_26317, method_26318, method_29500, method_31079, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canFly, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, dealDamage, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getGameEventHandler, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSplashSound, getStandingEyeHeight, getSwimSound, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getX, getY, getZ, handleAttack, hasCustomName, hashCode, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCustomNameVisible, isDescending, isFireImmune, isFreezing, isGlowing, isImmuneToExplosion, isInLava, isInRange, isInsideWaterOrBubbleColumn, isInSneakingPose, isInvisible, isInvisibleTo, isInvulnerable, isInvulnerableTo, isLiving, isOnFire, isOnGround, isPartOf, isPlayer, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_29241, method_29919, method_30951, method_33332, method_33574, method_33575, method_33724, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onPassengerLookAround, onPlayerCollision, onSpawnPacket, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playSound, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, resetPosition, saveSelfToTag, saveToTag, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, shouldBroadcastConsoleToOps, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredHorizontalLength, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, toListTag, toListTag, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official btLbdi;bt:Lorg/apache/logging/log4j/Logger;intermediary field_7021Lnet/minecraft/class_1510;field_7021:Lorg/apache/logging/log4j/Logger;named LOGGERLnet/minecraft/entity/boss/dragon/EnderDragonEntity;LOGGER:Lorg/apache/logging/log4j/Logger;
-
PHASE_TYPE
- Mappings:
Namespace Name Mixin selector official bLbdi;b:Lvk;intermediary field_7013Lnet/minecraft/class_1510;field_7013:Lnet/minecraft/class_2940;named PHASE_TYPELnet/minecraft/entity/boss/dragon/EnderDragonEntity;PHASE_TYPE:Lnet/minecraft/entity/data/TrackedData;
-
CLOSE_PLAYER_PREDICATE
- Mappings:
Namespace Name Mixin selector official buLbdi;bu:Lban;intermediary field_18120Lnet/minecraft/class_1510;field_18120:Lnet/minecraft/class_4051;named CLOSE_PLAYER_PREDICATELnet/minecraft/entity/boss/dragon/EnderDragonEntity;CLOSE_PLAYER_PREDICATE:Lnet/minecraft/entity/ai/TargetPredicate;
-
segmentCircularBuffer
public final double[][] segmentCircularBuffer(yaw, y, ?)- Mappings:
Namespace Name Mixin selector official cLbdi;c:[[Dintermediary field_7026Lnet/minecraft/class_1510;field_7026:[[Dnamed segmentCircularBufferLnet/minecraft/entity/boss/dragon/EnderDragonEntity;segmentCircularBuffer:[[D
-
latestSegment
public int latestSegment- Mappings:
Namespace Name Mixin selector official dLbdi;d:Iintermediary field_7010Lnet/minecraft/class_1510;field_7010:Inamed latestSegmentLnet/minecraft/entity/boss/dragon/EnderDragonEntity;latestSegment:I
-
parts
- Mappings:
Namespace Name Mixin selector official bvLbdi;bv:[Lbdg;intermediary field_7032Lnet/minecraft/class_1510;field_7032:[Lnet/minecraft/class_1508;named partsLnet/minecraft/entity/boss/dragon/EnderDragonEntity;parts:[Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partHead
- Mappings:
Namespace Name Mixin selector official bmLbdi;bm:Lbdg;intermediary field_7017Lnet/minecraft/class_1510;field_7017:Lnet/minecraft/class_1508;named partHeadLnet/minecraft/entity/boss/dragon/EnderDragonEntity;partHead:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partNeck
- Mappings:
Namespace Name Mixin selector official bwLbdi;bw:Lbdg;intermediary field_7011Lnet/minecraft/class_1510;field_7011:Lnet/minecraft/class_1508;named partNeckLnet/minecraft/entity/boss/dragon/EnderDragonEntity;partNeck:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partBody
- Mappings:
Namespace Name Mixin selector official bxLbdi;bx:Lbdg;intermediary field_7023Lnet/minecraft/class_1510;field_7023:Lnet/minecraft/class_1508;named partBodyLnet/minecraft/entity/boss/dragon/EnderDragonEntity;partBody:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partTail1
- Mappings:
Namespace Name Mixin selector official byLbdi;by:Lbdg;intermediary field_7020Lnet/minecraft/class_1510;field_7020:Lnet/minecraft/class_1508;named partTail1Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partTail1:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partTail2
- Mappings:
Namespace Name Mixin selector official bzLbdi;bz:Lbdg;intermediary field_7009Lnet/minecraft/class_1510;field_7009:Lnet/minecraft/class_1508;named partTail2Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partTail2:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partTail3
- Mappings:
Namespace Name Mixin selector official bALbdi;bA:Lbdg;intermediary field_7022Lnet/minecraft/class_1510;field_7022:Lnet/minecraft/class_1508;named partTail3Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partTail3:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partWingRight
- Mappings:
Namespace Name Mixin selector official bBLbdi;bB:Lbdg;intermediary field_7015Lnet/minecraft/class_1510;field_7015:Lnet/minecraft/class_1508;named partWingRightLnet/minecraft/entity/boss/dragon/EnderDragonEntity;partWingRight:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partWingLeft
- Mappings:
Namespace Name Mixin selector official bCLbdi;bC:Lbdg;intermediary field_7014Lnet/minecraft/class_1510;field_7014:Lnet/minecraft/class_1508;named partWingLeftLnet/minecraft/entity/boss/dragon/EnderDragonEntity;partWingLeft:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
prevWingPosition
public float prevWingPosition- Mappings:
Namespace Name Mixin selector official bnLbdi;bn:Fintermediary field_7019Lnet/minecraft/class_1510;field_7019:Fnamed prevWingPositionLnet/minecraft/entity/boss/dragon/EnderDragonEntity;prevWingPosition:F
-
wingPosition
public float wingPosition- Mappings:
Namespace Name Mixin selector official boLbdi;bo:Fintermediary field_7030Lnet/minecraft/class_1510;field_7030:Fnamed wingPositionLnet/minecraft/entity/boss/dragon/EnderDragonEntity;wingPosition:F
-
slowedDownByBlock
public boolean slowedDownByBlock- Mappings:
Namespace Name Mixin selector official bpLbdi;bp:Zintermediary field_7027Lnet/minecraft/class_1510;field_7027:Znamed slowedDownByBlockLnet/minecraft/entity/boss/dragon/EnderDragonEntity;slowedDownByBlock:Z
-
ticksSinceDeath
public int ticksSinceDeath- Mappings:
Namespace Name Mixin selector official bqLbdi;bq:Iintermediary field_7031Lnet/minecraft/class_1510;field_7031:Inamed ticksSinceDeathLnet/minecraft/entity/boss/dragon/EnderDragonEntity;ticksSinceDeath:I
-
field_20865
public float field_20865- Mappings:
Namespace Name Mixin selector official brLbdi;br:Fintermediary field_20865Lnet/minecraft/class_1510;field_20865:Fnamed field_20865Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;field_20865:F
-
connectedCrystal
- Mappings:
Namespace Name Mixin selector official bsLbdi;bs:Lbdh;intermediary field_7024Lnet/minecraft/class_1510;field_7024:Lnet/minecraft/class_1511;named connectedCrystalLnet/minecraft/entity/boss/dragon/EnderDragonEntity;connectedCrystal:Lnet/minecraft/entity/decoration/EndCrystalEntity;
-
fight
- Mappings:
Namespace Name Mixin selector official bDLbdi;bD:Lcky;intermediary field_7016Lnet/minecraft/class_1510;field_7016:Lnet/minecraft/class_2881;named fightLnet/minecraft/entity/boss/dragon/EnderDragonEntity;fight:Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
-
phaseManager
- Mappings:
Namespace Name Mixin selector official bELbdi;bE:Lbdz;intermediary field_7028Lnet/minecraft/class_1510;field_7028:Lnet/minecraft/class_1526;named phaseManagerLnet/minecraft/entity/boss/dragon/EnderDragonEntity;phaseManager:Lnet/minecraft/entity/boss/dragon/phase/PhaseManager;
-
ticksUntilNextGrowl
private int ticksUntilNextGrowl- Mappings:
Namespace Name Mixin selector official bFLbdi;bF:Iintermediary field_7018Lnet/minecraft/class_1510;field_7018:Inamed ticksUntilNextGrowlLnet/minecraft/entity/boss/dragon/EnderDragonEntity;ticksUntilNextGrowl:I
-
field_7029
private int field_7029- Mappings:
Namespace Name Mixin selector official bGLbdi;bG:Iintermediary field_7029Lnet/minecraft/class_1510;field_7029:Inamed field_7029Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;field_7029:I
-
pathNodes
The first 12 path nodes are used for end crystals; the others are not tied to them.- Mappings:
Namespace Name Mixin selector official bHLbdi;bH:[Ldcz;intermediary field_7012Lnet/minecraft/class_1510;field_7012:[Lnet/minecraft/class_9;named pathNodesLnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathNodes:[Lnet/minecraft/entity/ai/pathing/PathNode;
-
pathNodeConnections
private final int[] pathNodeConnectionsAn 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 bILbdi;bI:[Iintermediary field_7025Lnet/minecraft/class_1510;field_7025:[Inamed pathNodeConnectionsLnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathNodeConnections:[I
-
pathHeap
- Mappings:
Namespace Name Mixin selector official bJLbdi;bJ:Ldcw;intermediary field_7008Lnet/minecraft/class_1510;field_7008:Lnet/minecraft/class_5;named pathHeapLnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathHeap:Lnet/minecraft/entity/ai/pathing/PathMinHeap;
-
-
Constructor Details
-
EnderDragonEntity
- Mappings:
Namespace Name Mixin selector official <init>Laqx;<init>(Larb;Lbtx;)Vintermediary <init>Lnet/minecraft/class_1297;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_1937;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/world/World;)V
-
-
Method Details
-
createEnderDragonAttributes
- Mappings:
Namespace Name Mixin selector official mLbdi;m()Lasj$a;intermediary method_26903Lnet/minecraft/class_1510;method_26903()Lnet/minecraft/class_5132$class_5133;named createEnderDragonAttributesLnet/minecraft/entity/boss/dragon/EnderDragonEntity;createEnderDragonAttributes()Lnet/minecraft/entity/attribute/DefaultAttributeContainer$Builder;
-
hasWings
public boolean hasWings() -
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:
addFlapEffectsin classEntity- Mappings:
Namespace Name Mixin selector official aBLaqx;aB()Vintermediary method_5801Lnet/minecraft/class_1297;method_5801()Vnamed addFlapEffectsLnet/minecraft/entity/Entity;addFlapEffects()V
-
initDataTracker
protected void initDataTracker()- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official eLaqx;e()Vintermediary method_5693Lnet/minecraft/class_1297;method_5693()Vnamed initDataTrackerLnet/minecraft/entity/Entity;initDataTracker()V
-
getSegmentProperties
public double[] getSegmentProperties(int segmentNumber, float tickDelta)- Mappings:
Namespace Name Mixin selector official aLbdi;a(IF)[Dintermediary method_6817Lnet/minecraft/class_1510;method_6817(IF)[Dnamed getSegmentPropertiesLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getSegmentProperties(IF)[D
-
tickMovement
public void tickMovement()- Overrides:
tickMovementin classMobEntity- Mappings:
Namespace Name Mixin selector official kLark;k()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
movePart
- Mappings:
Namespace Name Mixin selector official aLbdi;a(Lbdg;DDD)Vintermediary method_22863Lnet/minecraft/class_1510;method_22863(Lnet/minecraft/class_1508;DDD)Vnamed movePartLnet/minecraft/entity/boss/dragon/EnderDragonEntity;movePart(Lnet/minecraft/entity/boss/dragon/EnderDragonPart;DDD)V
-
method_6820
private float method_6820()- Mappings:
Namespace Name Mixin selector official fmLbdi;fm()Fintermediary method_6820Lnet/minecraft/class_1510;method_6820()Fnamed method_6820Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;method_6820()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 fnLbdi;fn()Vintermediary method_6830Lnet/minecraft/class_1510;method_6830()Vnamed tickWithEndCrystalsLnet/minecraft/entity/boss/dragon/EnderDragonEntity;tickWithEndCrystals()V
-
launchLivingEntities
- Mappings:
Namespace Name Mixin selector official aLbdi;a(Ljava/util/List;)Vintermediary method_6825Lnet/minecraft/class_1510;method_6825(Ljava/util/List;)Vnamed launchLivingEntitiesLnet/minecraft/entity/boss/dragon/EnderDragonEntity;launchLivingEntities(Ljava/util/List;)V
-
damageLivingEntities
- Mappings:
Namespace Name Mixin selector official bLbdi;b(Ljava/util/List;)Vintermediary method_6827Lnet/minecraft/class_1510;method_6827(Ljava/util/List;)Vnamed damageLivingEntitiesLnet/minecraft/entity/boss/dragon/EnderDragonEntity;damageLivingEntities(Ljava/util/List;)V
-
wrapYawChange
private float wrapYawChange(double yawDegrees)- Mappings:
Namespace Name Mixin selector official iLbdi;i(D)Fintermediary method_6832Lnet/minecraft/class_1510;method_6832(D)Fnamed wrapYawChangeLnet/minecraft/entity/boss/dragon/EnderDragonEntity;wrapYawChange(D)F
-
destroyBlocks
- Mappings:
Namespace Name Mixin selector official bLbdi;b(Ldix;)Zintermediary method_6821Lnet/minecraft/class_1510;method_6821(Lnet/minecraft/class_238;)Znamed destroyBlocksLnet/minecraft/entity/boss/dragon/EnderDragonEntity;destroyBlocks(Lnet/minecraft/util/math/Box;)Z
-
damagePart
- Mappings:
Namespace Name Mixin selector official aLbdi;a(Lbdg;Laqh;F)Zintermediary method_6816Lnet/minecraft/class_1510;method_6816(Lnet/minecraft/class_1508;Lnet/minecraft/class_1282;F)Znamed damagePartLnet/minecraft/entity/boss/dragon/EnderDragonEntity;damagePart(Lnet/minecraft/entity/boss/dragon/EnderDragonPart;Lnet/minecraft/entity/damage/DamageSource;F)Z
-
damage
- Overrides:
damagein classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaqx;a(Laqh;F)Zintermediary method_5643Lnet/minecraft/class_1297;method_5643(Lnet/minecraft/class_1282;F)Znamed damageLnet/minecraft/entity/Entity;damage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
parentDamage
- Mappings:
Namespace Name Mixin selector official fLbdi;f(Laqh;F)Zintermediary method_6819Lnet/minecraft/class_1510;method_6819(Lnet/minecraft/class_1282;F)Znamed parentDamageLnet/minecraft/entity/boss/dragon/EnderDragonEntity;parentDamage(Lnet/minecraft/entity/damage/DamageSource;F)Z
-
kill
public void kill()- Overrides:
killin classLivingEntity- Mappings:
Namespace Name Mixin selector official abLaqx;ab()Vintermediary method_5768Lnet/minecraft/class_1297;method_5768()Vnamed killLnet/minecraft/entity/Entity;kill()V
-
updatePostDeath
protected void updatePostDeath()- Overrides:
updatePostDeathin classLivingEntity- Mappings:
Namespace Name Mixin selector official duLark;du()Vintermediary method_6108Lnet/minecraft/class_1309;method_6108()Vnamed updatePostDeathLnet/minecraft/entity/LivingEntity;updatePostDeath()V
-
getNearestPathNodeIndex
public int getNearestPathNodeIndex()- Mappings:
Namespace Name Mixin selector official oLbdi;o()Iintermediary method_6818Lnet/minecraft/class_1510;method_6818()Inamed getNearestPathNodeIndexLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getNearestPathNodeIndex()I
-
getNearestPathNodeIndex
public int getNearestPathNodeIndex(double x, double y, double z)- Mappings:
Namespace Name Mixin selector official pLbdi;p(DDD)Iintermediary method_6822Lnet/minecraft/class_1510;method_6822(DDD)Inamed getNearestPathNodeIndexLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getNearestPathNodeIndex(DDD)I
-
findPath
- Mappings:
Namespace Name Mixin selector official aLbdi;a(IILdcz;)Lddb;intermediary method_6833Lnet/minecraft/class_1510;method_6833(IILnet/minecraft/class_9;)Lnet/minecraft/class_11;named findPathLnet/minecraft/entity/boss/dragon/EnderDragonEntity;findPath(IILnet/minecraft/entity/ai/pathing/PathNode;)Lnet/minecraft/entity/ai/pathing/Path;
-
getPathOfAllPredecessors
- Mappings:
Namespace Name Mixin selector official aLbdi;a(Ldcz;Ldcz;)Lddb;intermediary method_6826Lnet/minecraft/class_1510;method_6826(Lnet/minecraft/class_9;Lnet/minecraft/class_9;)Lnet/minecraft/class_11;named getPathOfAllPredecessorsLnet/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
- Overrides:
writeCustomDataToNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official bLaqx;b(Lmq;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLaqx;a(Lmq;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/CompoundTag;)V
-
checkDespawn
public void checkDespawn()- Overrides:
checkDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official cZLaqx;cZ()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vnamed checkDespawnLnet/minecraft/entity/Entity;checkDespawn()V
-
getBodyParts
- Mappings:
Namespace Name Mixin selector official rLbdi;r()[Lbdg;intermediary method_5690Lnet/minecraft/class_1510;method_5690()[Lnet/minecraft/class_1508;named getBodyPartsLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getBodyParts()[Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
collides
public boolean collides()- Overrides:
collidesin classLivingEntity- Mappings:
Namespace Name Mixin selector official aZLaqx;aZ()Zintermediary method_5863Lnet/minecraft/class_1297;method_5863()Znamed collidesLnet/minecraft/entity/Entity;collides()Z
-
getSoundCategory
- Overrides:
getSoundCategoryin classEntity- Mappings:
Namespace Name Mixin selector official cFLaqx;cF()Laei;intermediary method_5634Lnet/minecraft/class_1297;method_5634()Lnet/minecraft/class_3419;named getSoundCategoryLnet/minecraft/entity/Entity;getSoundCategory()Lnet/minecraft/sound/SoundCategory;
-
getAmbientSound
- Overrides:
getAmbientSoundin classMobEntity- Mappings:
Namespace Name Mixin selector official pLarl;p()Laeg;intermediary method_5994Lnet/minecraft/class_1308;method_5994()Lnet/minecraft/class_3414;named getAmbientSoundLnet/minecraft/entity/mob/MobEntity;getAmbientSound()Lnet/minecraft/sound/SoundEvent;
-
getHurtSound
- Overrides:
getHurtSoundin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLark;c(Laqh;)Laeg;intermediary method_6011Lnet/minecraft/class_1309;method_6011(Lnet/minecraft/class_1282;)Lnet/minecraft/class_3414;named getHurtSoundLnet/minecraft/entity/LivingEntity;getHurtSound(Lnet/minecraft/entity/damage/DamageSource;)Lnet/minecraft/sound/SoundEvent;
-
getSoundVolume
protected float getSoundVolume()- Overrides:
getSoundVolumein classLivingEntity- Mappings:
Namespace Name Mixin selector official egLark;eg()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
method_6823
@Environment(CLIENT) public float method_6823(int segmentOffset, double[] segment1, double[] segment2)- Mappings:
Namespace Name Mixin selector official aLbdi;a(I[D[D)Fintermediary method_6823Lnet/minecraft/class_1510;method_6823(I[D[D)Fnamed method_6823Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;method_6823(I[D[D)F
-
method_6834
- Mappings:
Namespace Name Mixin selector official wLbdi;w(F)Ldjc;intermediary method_6834Lnet/minecraft/class_1510;method_6834(F)Lnet/minecraft/class_243;named method_6834Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;method_6834(F)Lnet/minecraft/util/math/Vec3d;
-
crystalDestroyed
- Mappings:
Namespace Name Mixin selector official aLbdi;a(Lbdh;Lfx;Laqh;)Vintermediary method_6828Lnet/minecraft/class_1510;method_6828(Lnet/minecraft/class_1511;Lnet/minecraft/class_2338;Lnet/minecraft/class_1282;)Vnamed crystalDestroyedLnet/minecraft/entity/boss/dragon/EnderDragonEntity;crystalDestroyed(Lnet/minecraft/entity/decoration/EndCrystalEntity;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/entity/damage/DamageSource;)V
-
onTrackedDataSet
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLaqx;a(Lvk;)Vintermediary method_5674Lnet/minecraft/class_1297;method_5674(Lnet/minecraft/class_2940;)Vnamed onTrackedDataSetLnet/minecraft/entity/Entity;onTrackedDataSet(Lnet/minecraft/entity/data/TrackedData;)V
-
getPhaseManager
- Mappings:
Namespace Name Mixin selector official fkLbdi;fk()Lbdz;intermediary method_6831Lnet/minecraft/class_1510;method_6831()Lnet/minecraft/class_1526;named getPhaseManagerLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getPhaseManager()Lnet/minecraft/entity/boss/dragon/phase/PhaseManager;
-
getFight
- Mappings:
Namespace Name Mixin selector official flLbdi;fl()Lcky;intermediary method_6829Lnet/minecraft/class_1510;method_6829()Lnet/minecraft/class_2881;named getFightLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getFight()Lnet/minecraft/entity/boss/dragon/EnderDragonFight;
-
addStatusEffect
- Overrides:
addStatusEffectin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLark;c(Laqr;)Zintermediary method_6092Lnet/minecraft/class_1309;method_6092(Lnet/minecraft/class_1293;)Znamed addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
-
canStartRiding
- Overrides:
canStartRidingin classEntity- Mappings:
Namespace Name Mixin selector official nLaqx;n(Laqx;)Zintermediary method_5860Lnet/minecraft/class_1297;method_5860(Lnet/minecraft/class_1297;)Znamed canStartRidingLnet/minecraft/entity/Entity;canStartRiding(Lnet/minecraft/entity/Entity;)Z
-
canUsePortals
public boolean canUsePortals()- Overrides:
canUsePortalsin classEntity- Mappings:
Namespace Name Mixin selector official bZLaqx;bZ()Zintermediary method_5822Lnet/minecraft/class_1297;method_5822()Znamed canUsePortalsLnet/minecraft/entity/Entity;canUsePortals()Z
-
method_33579
- Overrides:
method_33579in classLivingEntity- Mappings:
Namespace Name Mixin selector official aLark;a(Lpg;)Vintermediary method_33579Lnet/minecraft/class_1309;method_33579(Lnet/minecraft/class_2610;)Vnamed method_33579Lnet/minecraft/entity/LivingEntity;method_33579(Lnet/minecraft/network/packet/s2c/play/MobSpawnS2CPacket;)V
-