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
- Mappings:
Namespace Name official bff
intermediary net/minecraft/class_1510
named 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
FieldsModifier and TypeFieldDescriptionprivate static TargetPredicate
private int
private static int
private static int
private static float
private @Nullable EnderDragonFight
int
private static Logger
private EnderDragonPart
private EnderDragonPart
private EnderDragonPart[]
private EnderDragonPart
private EnderDragonPart
private EnderDragonPart
private EnderDragonPart
private EnderDragonPart
private PathMinHeap
private int[]
An array of 24 bitflags, where node #i leads to #j if and only if(pathNodeConnections[i] & (1 << j)) != 0
.private PathNode[]
The first 12 path nodes are used for end crystals; the others are not tied to them.static TrackedData<Integer>
private PhaseManager
float
double[][]
(yaw, y, ?)boolean
int
private int
float
float
Fields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, experiencePoints, field_30083, field_30084, field_30085, field_30091, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, moveControl, navigation, targetSelector
Fields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, attackingPlayer, bodyTrackingIncrements, bodyYaw, brain, dead, deathTime, defaultMaxHealth, despawnCounter, field_30063, field_30064, field_30065, field_30066, field_30067, field_30068, field_30069, field_30070, field_30071, field_30072, field_30073, field_30074, field_30075, field_30076, field_30077, 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, upwardSpeed
Fields inherited from class net.minecraft.entity.Entity
age, dataTracker, distanceTraveled, fallDistance, field_28627, field_29973, field_29974, field_29979, field_29980, field_29981, field_29987, field_29988, field_29989, field_29990, field_29991, field_29992, field_29993, firstUpdate, FLAGS, fluidHeight, glowing, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inanimate, inNetherPortal, inPowderSnow, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, movementMultiplier, netherPortalTime, noClip, onGround, PASSENGERS_KEY, pitch, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, stepHeight, submergedFluidTag, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, world, yaw
Fields inherited from interface net.minecraft.server.command.CommandOutput
DUMMY
Fields inherited from interface net.minecraft.entity.mob.Monster
field_30464, field_30465, field_30466, field_30467, field_30468, field_30469
-
Constructor Summary
ConstructorsConstructorDescriptionEnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the effects of this entity flapping, usually to the world the entity is in.boolean
addStatusEffect(StatusEffectInstance effect)
protected boolean
canStartRiding(Entity entity)
boolean
void
boolean
collides()
void
crystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source)
boolean
damage(DamageSource source, float amount)
private void
damageLivingEntities(List<Entity> entities)
boolean
damagePart(EnderDragonPart part, DamageSource source, float amount)
private boolean
destroyBlocks(Box box)
protected SoundEvent
float
getChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2)
getFight()
private float
protected SoundEvent
getHurtSound(DamageSource source)
int
int
getNearestPathNodeIndex(double x, double y, double z)
private Path
getPathOfAllPredecessors(PathNode unused, PathNode node)
getRotationVectorFromPhase(float tickDelta)
double[]
getSegmentProperties(int segmentNumber, float tickDelta)
protected float
boolean
hasWings()
protected void
void
kill()
private void
launchLivingEntities(List<Entity> entities)
private void
movePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz)
void
onTrackedDataSet(TrackedData<?> data)
protected boolean
parentDamage(DamageSource source, float amount)
void
void
readFromPacket(MobSpawnS2CPacket packet)
void
private void
Things to do every tick related to end crystals.protected void
private float
wrapYawChange(double yawDegrees)
void
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, clearGoalsAndTasks, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getBodyYawSpeed, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLookYawSpeed, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasPositionTarget, initEquipment, initGoals, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, method_29244, method_35055, 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, squaredAttackRange, startRiding, swimUpward, tick, tickNewAi, tryAttack, tryEquip, turnHead, updateDropChances, updateEnchantments, updateGoalControls, updateLeash
Methods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, animateDamage, applyArmorToDamage, applyDamage, applyEnchantmentsToDamage, applyMovementEffects, applyStatusEffect, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, 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, hasNoDrag, 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, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, positionInPortal, positionInPortal, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, scheduleVelocityUpdate, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setRiptideTicks, setSleepingPosition, setSprinting, setStackInHand, setStingerCount, setStuckArrowCount, setYaw, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUp
Methods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addPassenger, addScoreboardTag, addVelocity, adjustMovementForCollisions, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, adjustSingleAxisMovementForCollisions, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, 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, getCameraBlockPos, 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, getLeashOffset, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSplashSound, getStandingEyeHeight, getSwimHeight, 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, isPushedByFluids, isRegionUnloaded, isRemoved, isSilent, isSneaking, isSneaky, isSpectator, isSprinting, isSubmergedIn, isSubmergedInWater, isSwimming, isTeammate, isTeamPlayer, isTouchingWater, isTouchingWaterOrRain, isWet, method_30951, method_36209, 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, saveNbt, saveSelfNbt, sendSystemMessage, setAir, setBoundingBox, setCustomName, setCustomNameVisible, setEntityId, setFireTicks, setFlag, setFrozenTicks, setGlowing, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setListener, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPos, setPose, setPosition, 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, toNbtList, toNbtList, toString, unsetRemoved, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbt
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.minecraft.server.command.CommandOutput
method_36320
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official cb
Lbff;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
- Mappings:
Namespace Name Mixin selector official b
Lbff;b:Lvy;
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
- Mappings:
Namespace Name Mixin selector official cc
Lbff;cc:Lbch;
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;
-
field_30428
private static final int field_30428- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cd
Lbff;cd:I
intermediary field_30428
Lnet/minecraft/class_1510;field_30428:I
named field_30428
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;field_30428:I
-
field_30429
private static final int field_30429- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official ce
Lbff;ce:I
intermediary field_30429
Lnet/minecraft/class_1510;field_30429:I
named field_30429
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;field_30429:I
-
field_30430
private static final float field_30430- See Also:
- Constant Field Values
- Mappings:
Namespace Name Mixin selector official cf
Lbff;cf:F
intermediary field_30430
Lnet/minecraft/class_1510;field_30430:F
named field_30430
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;field_30430:F
-
segmentCircularBuffer
public final double[][] segmentCircularBuffer(yaw, y, ?)- Mappings:
Namespace Name Mixin selector official c
Lbff;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
Lbff;d:I
intermediary field_7010
Lnet/minecraft/class_1510;field_7010:I
named latestSegment
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;latestSegment:I
-
parts
- Mappings:
Namespace Name Mixin selector official cg
Lbff;cg:[Lbfd;
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;
-
partHead
- Mappings:
Namespace Name Mixin selector official e
Lbff;e:Lbfd;
intermediary field_7017
Lnet/minecraft/class_1510;field_7017:Lnet/minecraft/class_1508;
named partHead
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partHead:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partNeck
- Mappings:
Namespace Name Mixin selector official ch
Lbff;ch:Lbfd;
intermediary field_7011
Lnet/minecraft/class_1510;field_7011:Lnet/minecraft/class_1508;
named partNeck
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partNeck:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partBody
- Mappings:
Namespace Name Mixin selector official ci
Lbff;ci:Lbfd;
intermediary field_7023
Lnet/minecraft/class_1510;field_7023:Lnet/minecraft/class_1508;
named partBody
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partBody:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partTail1
- Mappings:
Namespace Name Mixin selector official cj
Lbff;cj:Lbfd;
intermediary field_7020
Lnet/minecraft/class_1510;field_7020:Lnet/minecraft/class_1508;
named partTail1
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partTail1:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partTail2
- Mappings:
Namespace Name Mixin selector official ck
Lbff;ck:Lbfd;
intermediary field_7009
Lnet/minecraft/class_1510;field_7009:Lnet/minecraft/class_1508;
named partTail2
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partTail2:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partTail3
- Mappings:
Namespace Name Mixin selector official cl
Lbff;cl:Lbfd;
intermediary field_7022
Lnet/minecraft/class_1510;field_7022:Lnet/minecraft/class_1508;
named partTail3
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partTail3:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partWingRight
- Mappings:
Namespace Name Mixin selector official cm
Lbff;cm:Lbfd;
intermediary field_7015
Lnet/minecraft/class_1510;field_7015:Lnet/minecraft/class_1508;
named partWingRight
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partWingRight:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
partWingLeft
- Mappings:
Namespace Name Mixin selector official cn
Lbff;cn:Lbfd;
intermediary field_7014
Lnet/minecraft/class_1510;field_7014:Lnet/minecraft/class_1508;
named partWingLeft
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;partWingLeft:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
prevWingPosition
public float prevWingPosition- Mappings:
Namespace Name Mixin selector official bV
Lbff;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
Lbff;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
Lbff;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
Lbff;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
Lbff;bZ:F
intermediary field_20865
Lnet/minecraft/class_1510;field_20865:F
named yawAcceleration
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;yawAcceleration:F
-
connectedCrystal
- Mappings:
Namespace Name Mixin selector official ca
Lbff;ca:Lbfe;
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
- Mappings:
Namespace Name Mixin selector official co
Lbff;co:Lcnc;
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
- Mappings:
Namespace Name Mixin selector official cp
Lbff;cp:Lbfw;
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 cq
Lbff;cq: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 cr
Lbff;cr:I
intermediary field_7029
Lnet/minecraft/class_1510;field_7029:I
named damageDuringSitting
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;damageDuringSitting: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 cs
Lbff;cs:[Ldfz;
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[] 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 ct
Lbff;ct:[I
intermediary field_7025
Lnet/minecraft/class_1510;field_7025:[I
named pathNodeConnections
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathNodeConnections:[I
-
pathHeap
- Mappings:
Namespace Name Mixin selector official cu
Lbff;cu:Ldfw;
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
- Mappings:
Namespace Name Mixin selector official <init>
Laso;<init>(Lass;Lbvx;)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
- Mappings:
Namespace Name Mixin selector official n
Lbff;n()Laub$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() -
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 classEntity
- Mappings:
Namespace Name Mixin selector official aC
Laso;aC()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 classMobEntity
- Mappings:
Namespace Name Mixin selector official f
Laso;f()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
Lbff;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 classMobEntity
- Mappings:
Namespace Name Mixin selector official l
Latb;l()V
intermediary method_6007
Lnet/minecraft/class_1309;method_6007()V
named tickMovement
Lnet/minecraft/entity/LivingEntity;tickMovement()V
-
movePart
- Mappings:
Namespace Name Mixin selector official a
Lbff;a(Lbfd;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 fp
Lbff;fp()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 fq
Lbff;fq()V
intermediary method_6830
Lnet/minecraft/class_1510;method_6830()V
named tickWithEndCrystals
Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tickWithEndCrystals()V
-
launchLivingEntities
- Mappings:
Namespace Name Mixin selector official a
Lbff;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
- Mappings:
Namespace Name Mixin selector official b
Lbff;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
Lbff;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
- Mappings:
Namespace Name Mixin selector official b
Lbff;b(Ldlw;)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
- Mappings:
Namespace Name Mixin selector official a
Lbff;a(Lbfd;Lary;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
- Overrides:
damage
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Laso;a(Lary;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
- Mappings:
Namespace Name Mixin selector official f
Lbff;f(Lary;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 classLivingEntity
- Mappings:
Namespace Name Mixin selector official ab
Laso;ab()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 classLivingEntity
- Mappings:
Namespace Name Mixin selector official dv
Latb;dv()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 p
Lbff;p()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 p
Lbff;p(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
- Mappings:
Namespace Name Mixin selector official a
Lbff;a(IILdfz;)Ldgb;
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
- Mappings:
Namespace Name Mixin selector official a
Lbff;a(Ldfz;Ldfz;)Ldgb;
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
- Overrides:
writeCustomDataToNbt
in classMobEntity
- Mappings:
Namespace Name Mixin selector official b
Laso;b(Lmv;)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
- Overrides:
readCustomDataFromNbt
in classMobEntity
- Mappings:
Namespace Name Mixin selector official a
Laso;a(Lmv;)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 classMobEntity
- Mappings:
Namespace Name Mixin selector official da
Laso;da()V
intermediary method_5982
Lnet/minecraft/class_1297;method_5982()V
named checkDespawn
Lnet/minecraft/entity/Entity;checkDespawn()V
-
getBodyParts
- Mappings:
Namespace Name Mixin selector official t
Lbff;t()[Lbfd;
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 classLivingEntity
- Mappings:
Namespace Name Mixin selector official ba
Laso;ba()Z
intermediary method_5863
Lnet/minecraft/class_1297;method_5863()Z
named collides
Lnet/minecraft/entity/Entity;collides()Z
-
getSoundCategory
- Overrides:
getSoundCategory
in classEntity
- Mappings:
Namespace Name Mixin selector official cG
Laso;cG()Laex;
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
- Overrides:
getAmbientSound
in classMobEntity
- Mappings:
Namespace Name Mixin selector official q
Latd;q()Laev;
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
- Overrides:
getHurtSound
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Latb;c(Lary;)Laev;
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 classLivingEntity
- Mappings:
Namespace Name Mixin selector official ei
Latb;ei()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
Lbff;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
- Mappings:
Namespace Name Mixin selector official w
Lbff;w(F)Ldmb;
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
- Mappings:
Namespace Name Mixin selector official a
Lbff;a(Lbfe;Lgb;Lary;)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
- Overrides:
onTrackedDataSet
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Laso;a(Lvy;)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
- Mappings:
Namespace Name Mixin selector official fn
Lbff;fn()Lbfw;
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 fo
Lbff;fo()Lcnc;
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
- Overrides:
addStatusEffect
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official c
Latb;c(Lasi;)Z
intermediary method_6092
Lnet/minecraft/class_1309;method_6092(Lnet/minecraft/class_1293;)Z
named addStatusEffect
Lnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;)Z
-
canStartRiding
- Overrides:
canStartRiding
in classEntity
- Mappings:
Namespace Name Mixin selector official n
Laso;n(Laso;)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 classEntity
- Mappings:
Namespace Name Mixin selector official ca
Laso;ca()Z
intermediary method_5822
Lnet/minecraft/class_1297;method_5822()Z
named canUsePortals
Lnet/minecraft/entity/Entity;canUsePortals()Z
-
readFromPacket
- Overrides:
readFromPacket
in classLivingEntity
- Mappings:
Namespace Name Mixin selector official a
Latb;a(Lpl;)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
-