Class EnderDragonEntity
- All Implemented Interfaces:
Monster,CommandOutput,Nameable,EntityLike
- Mappings:
Namespace Name official bsqintermediary net/minecraft/class_1510named net/minecraft/entity/boss/dragon/EnderDragonEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.LivingEntity
LivingEntity.FallSoundsNested classes/interfaces inherited from class net.minecraft.entity.Entity
Entity.MoveEffect, Entity.PositionUpdater, Entity.RemovalReason -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final EnderDragonPartprivate static final TargetPredicateprivate floatprivate static final Stringprivate static final Stringprivate static final intprivate final @Nullable EnderDragonFightfinal EnderDragonPartintprivate final EnderDragonPartprivate static final Loggerprivate static final intprivate final EnderDragonPartprivate final EnderDragonPart[]private final PathMinHeapprivate final int[]An array of 24 bitflags, where node #i leads to #j if and only if(pathNodeConnections[i] & (1 << j)) != 0.private final PathNode[]The first 12 path nodes are used for end crystals; the others are not tied to them.static final TrackedData<Integer>private final PhaseManagerfloatprivate final EnderDragonPartfinal double[][](yaw, y, ?)booleanprivate final EnderDragonPartprivate final EnderDragonPartprivate final EnderDragonPartprivate static final floatThe damage the dragon can take before it takes off, represented as a ratio to the full health.intprivate intfloatfloatFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, BASE_ENCHANTED_ARMOR_CHANCE, BASE_ENCHANTED_MAIN_HAND_EQUIPMENT_CHANCE, BASE_SPAWN_EQUIPMENT_CHANCE, DEFAULT_CAN_PICKUP_LOOT_CHANCE, DEFAULT_DROP_CHANCE, experiencePoints, field_35039, field_38932, goalSelector, handDropChances, jumpControl, LEASH_KEY, lookControl, MINIMUM_DROPPED_XP_PER_EQUIPMENT, moveControl, navigation, targetSelectorFields inherited from class net.minecraft.entity.LivingEntity
activeItemStack, airStrafingSpeed, attackingPlayer, BABY_SCALE_FACTOR, bodyTrackingIncrements, bodyYaw, brain, dead, DEATH_TICKS, deathTime, defaultMaxHealth, despawnCounter, EQUIPMENT_SLOT_ID, field_30063, field_30067, field_30069, field_30070, field_30072, field_30074, field_30075, field_6215, forwardSpeed, GLOWING_FLAG, GRAVITY, handSwinging, handSwingProgress, handSwingTicks, headTrackingIncrements, headYaw, hurtTime, itemUseTimeLeft, jumping, lastAttackedTicks, lastDamageTaken, lastHandSwingProgress, lastLimbDistance, limbAngle, limbDistance, LIVING_FLAGS, lookDirection, maxHurtTime, OFF_HAND_ACTIVE_FLAG, playerHitTimer, preferredHand, prevBodyYaw, prevHeadYaw, prevLookDirection, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, riptideTicks, roll, scoreAmount, serverHeadYaw, serverPitch, serverX, serverY, serverYaw, serverZ, sidewaysSpeed, SLEEPING_DIMENSIONS, stepBobbingAmount, stuckArrowTimer, stuckStingerTimer, upwardSpeed, USING_ITEM_FLAG, USING_RIPTIDE_FLAGFields inherited from class net.minecraft.entity.Entity
age, collidedSoftly, dataTracker, DEFAULT_FRICTION, DEFAULT_MIN_FREEZE_DAMAGE_TICKS, DEFAULT_PORTAL_COOLDOWN, distanceTraveled, FALL_FLYING_FLAG_INDEX, fallDistance, field_29991, field_36331, firstUpdate, FLAGS, fluidHeight, FREEZING_DAMAGE_INTERVAL, GLOWING_FLAG_INDEX, horizontalCollision, horizontalSpeed, ID_KEY, ignoreCameraFrustum, inNetherPortal, inPowderSnow, intersectionChecked, lastNetherPortalPosition, lastRenderX, lastRenderY, lastRenderZ, MAX_RIDING_COOLDOWN, MAX_SCOREBOARD_TAGS, MIN_RISING_BUBBLE_COLUMN_SPEED, movementMultiplier, netherPortalTime, noClip, ON_FIRE_FLAG_INDEX, onGround, PASSENGERS_KEY, POSE, prevHorizontalSpeed, prevPitch, prevX, prevY, prevYaw, prevZ, random, ridingCooldown, speed, stepHeight, submergedInWater, timeUntilRegen, touchingWater, uuid, UUID_KEY, uuidString, VELOCITY_AFFECTING_POS_Y_OFFSET, velocityDirty, velocityModified, verticalCollision, wasInPowderSnow, wasOnFire, worldFields inherited from interface net.minecraft.server.command.CommandOutput
DUMMYFields inherited from interface net.minecraft.entity.mob.Monster
NORMAL_MONSTER_XP, SMALL_MONSTER_XP, STRONG_MONSTER_XP, STRONGER_MONSTER_XP, WITHER_XP, ZERO_XP -
Constructor Summary
ConstructorsConstructorDescriptionEnderDragonEntity(EntityType<? extends EnderDragonEntity> type, World world) -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the effects of this entity flapping, usually to the world the entity is in.booleanaddStatusEffect(StatusEffectInstance effect, @Nullable Entity source) Adds a status effect to this entity.booleancanHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.protected booleancanStartRiding(Entity entity) Returns whether this entity can rideentity.booleancanTarget(LivingEntity target) booleanReturns whether the entity can use nether portals and end portals.voidChecks whether the entity should be despawned.voidcrystalDestroyed(EndCrystalEntity crystal, BlockPos pos, DamageSource source) booleandamage(DamageSource source, float amount) Applies a damage to this entity.private voiddamageLivingEntities(List<Entity> entities) booleandamagePart(EnderDragonPart part, DamageSource source, float amount) private booleandestroyBlocks(Box box) protected SoundEventfloatgetChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2) getFight()private floatprotected SoundEventgetHurtSound(DamageSource source) intintgetNearestPathNodeIndex(double x, double y, double z) private PathgetPathOfAllPredecessors(PathNode unused, PathNode node) getRotationVectorFromPhase(float tickDelta) double[]getSegmentProperties(int segmentNumber, float tickDelta) Returns the sound category for sounds from this entity.protected floatprotected voidInitializes data tracker.booleanReturns whether the entity is flapping their wings.voidkill()Kills the entity.private voidlaunchLivingEntities(List<Entity> entities) private voidmovePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz) voidonSpawnPacket(EntitySpawnS2CPacket packet) Called on the client when the entity receives a spawn packet.voidonTrackedDataSet(TrackedData<?> data) Called on the client when the tracked data is set.protected booleanparentDamage(DamageSource source, float amount) voidReads custom data fromnbt.voidprivate voidThings to do every tick related to end crystals.protected voidprivate floatwrapYawChange(double yawDegrees) voidWrites custom data tonbt.Methods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canSpawn, canTarget, canUseRangedWeapon, clearGoals, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHandItems, getHoldingEntity, getItemPickUpRangeExpander, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getSafeFallDistance, getSquaredDistanceToAttackPosOf, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasPositionTarget, initEquipment, initGoals, initialize, interact, interactMob, isAffectedByDaylight, isAiDisabled, isAttacking, isDisallowedInPeaceful, isInAttackRange, isInWalkTargetRange, isInWalkTargetRange, isLeashed, isLeftHanded, isLogicalSideForUpdatingMovement, isPersistent, lookAtEntity, loot, 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, updateLeashMethods inherited from class net.minecraft.entity.LivingEntity
addPowderSnowSlowIfNeeded, addSoulSpeedBoostIfNeeded, addStatusEffect, animateDamage, applyArmorToDamage, applyDamage, applyFluidMovingSpeed, applyMovementEffects, applyMovementInput, areItemsDifferent, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, damageArmor, damageHelmet, damageShield, deserializeBrain, disableExperienceDropping, disablesShield, displaySoulSpeedEffects, drop, dropInventory, dropXp, eatFood, endCombat, enterCombat, fall, getAbsorptionAmount, getActiveEyeHeight, getActiveHand, getActiveItem, getActiveStatusEffects, getArmor, getArmorVisibility, getArrowType, getAttackDistanceScalingFactor, getAttacker, getAttacking, getAttackPos, getAttributeBaseValue, getAttributeBaseValue, getAttributeInstance, getAttributes, getAttributeValue, getAttributeValue, getBaseMovementSpeedMultiplier, getBodyYaw, getBoundingBox, getBrain, getClimbingPos, getDamageTracker, getDeathSound, getDespawnCounter, getDimensions, getDrinkSound, getEatSound, getEyeHeight, getFallSounds, getGroup, getHandSwingProgress, getHeadYaw, getHealth, getItemUseTime, getItemUseTimeLeft, getJumpBoostVelocityModifier, getJumpVelocity, getLastAttackedTime, getLastAttackTime, getLeaningPitch, getMainHandStack, getMaxHealth, getMovementSpeed, getNextAirOnLand, getNextAirUnderwater, getOffHandStack, getPoses, getPreferredEquipmentSlot, getPrimeAdversary, getRandom, getRecentDamageSource, getRoll, getScaleFactor, getSleepingDirection, getSleepingPosition, getSoundPitch, getStackInHand, getStackReference, getStatusEffect, getStatusEffects, getStingerCount, getStuckArrowCount, getVelocityMultiplier, getVisibilityBoundingBox, getYaw, handleFallDamage, hasNoDrag, hasStackEquipped, hasStatusEffect, heal, hurtByWater, isAffectedBySplashPotions, isAlive, isArmorSlot, isBaby, isBlocking, isClimbing, isDead, isExperienceDroppingDisabled, isFallFlying, isGlowing, isHolding, isHolding, isHoldingOntoLadder, isImmobile, isInsideWall, isInSwimmingPose, isMobOrPlayer, isOnSoulSpeedBlock, isPartOfGame, isPushable, isSleeping, isTarget, isUndead, isUsingItem, isUsingRiptide, jump, knockback, knockDownwards, lookAt, markEffectsDirty, method_48157, modifyAppliedDamage, onAttacking, onDeath, onEquipStack, onKilledBy, onStatusEffectApplied, onStatusEffectRemoved, onStatusEffectUpgraded, playBlockFallSound, playEquipSound, positionInPortal, positionInPortal, processEquippedStack, pushAway, pushAwayFrom, removePowderSnowSlow, removeSoulSpeedBoost, removeStatusEffect, removeStatusEffectInternal, sendEquipmentBreakStatus, sendPickup, sendToolBreakStatus, setAbsorptionAmount, setAttacker, setAttacking, setBodyYaw, setCurrentHand, setDespawnCounter, setHeadYaw, setHealth, setJumping, setLivingFlag, setNearbySongPlaying, setNoDrag, setOnGround, setSleepingPosition, setSprinting, setStackInHand, setStatusEffect, setStingerCount, setStuckArrowCount, shouldAlwaysDropXp, shouldDisplaySoulSpeedEffects, shouldDropLoot, shouldDropXp, shouldRemoveSoulSpeedBoost, shouldRenderName, shouldSwimInFluids, sleep, spawnConsumptionEffects, stopRiding, stopUsingItem, swingHand, swingHand, takeKnockback, takeShieldHit, teleport, tickCramming, tickHandSwing, tickInVoid, tickItemStackUsage, tickRiding, tickRiptide, tickStatusEffects, travel, triggerItemPickedUpByEntityCriteria, updateLimbs, updatePotionVisibility, updateTrackedHeadRotation, updateTrackedPositionAndAngles, wakeUpMethods inherited from class net.minecraft.entity.Entity
addAirTravelEffects, addPassenger, addScoreboardTag, addVelocity, addVelocity, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, createSpawnPacket, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, extinguishWithSound, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, getLeashOffset, getLeashOffset, getLeashPos, getLerpedPos, getMaxAir, getMaxNetherPortalTime, getMinFreezeDamageTicks, getMountedHeightOffset, getMoveEffect, getMovementDirection, getName, getOppositeRotationVector, getOppositeRotationVector, getParticleX, getParticleZ, getPassengerDismountOffset, getPassengerList, getPassengersDeep, getPermissionLevel, getPistonBehavior, getPitch, getPitch, getPortalRect, getPos, getPose, getPrimaryPassenger, getRandomBodyY, getRemovalReason, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVec, getRotationVecClient, getRotationVector, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getServer, getSplashSound, getStandingEyeHeight, getSteppingBlockState, getSteppingPos, getSwimHeight, getSwimSound, getSyncedPos, getTargetingMargin, getTeamColorValue, getTeleportTarget, getTrackedPosition, getType, getUuid, getUuidAsString, getVehicle, getVelocity, getVelocityAffectingPos, getWidth, getWorld, getX, getY, getYaw, getZ, handleAttack, hasCollidedSoftly, hasCustomName, hashCode, hasNoGravity, hasPassenger, hasPassenger, hasPassengerDeep, hasPassengers, hasPermissionLevel, hasPlayerRider, hasPortalCooldown, hasPrimaryPassenger, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, isCrawling, isCustomNameVisible, isDescending, isFireImmune, isFrozen, isGlowingLocal, isImmuneToExplosion, isInLava, isInPose, isInRange, 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, limitFallDistance, method_48105, method_48155, move, moveToWorld, occludeVibrationSignals, offsetX, offsetZ, onBlockCollision, onBubbleColumnCollision, onBubbleColumnSurfaceCollision, onKilledOther, onLanding, onPassengerLookAround, onPlayerCollision, onRemoved, onStartedTrackingBy, onStoppedTrackingBy, onStruckByLightning, onSwimmingStart, playExtinguishSound, playSound, playSoundIfNotSilent, playStepSound, playSwimSound, populateCrashReport, pushOutOfBlocks, raycast, readNbt, refreshPosition, refreshPositionAfterTeleport, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, reinitDimensions, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, requestTeleportOffset, resetPortalCooldown, resetPosition, saveNbt, saveSelfNbt, scheduleVelocityUpdate, sendMessage, setAir, setBoundingBox, setChangeListener, setCustomName, setCustomNameVisible, setFireTicks, setFlag, setFrozenTicks, setGlowing, setId, setInNetherPortal, setInPowderSnow, setInvisible, setInvulnerable, setNoGravity, setOnFire, setOnFireFor, setOnFireFromLava, setPitch, setPos, setPose, setPosition, setPosition, setRemoved, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setSwimming, setUuid, setVelocity, setVelocity, setVelocityClient, setYaw, shouldBroadcastConsoleToOps, shouldEscapePowderSnow, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickPortal, tickPortalCooldown, toNbtList, toNbtList, toString, tryCheckBlockCollision, unsetRemoved, updateEventHandler, updateKilledAdvancementCriterion, updateMovementInFluid, updatePassengerForDismount, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSwimming, updateTrackedPosition, updateVelocity, updateWaterState, wouldPoseNotCollide, writeNbtMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.minecraft.server.command.CommandOutput
cannotBeSilenced
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official cbLbsq;cb:Lorg/slf4j/Logger;intermediary field_7021Lnet/minecraft/class_1510;field_7021:Lorg/slf4j/Logger;named LOGGERLnet/minecraft/entity/boss/dragon/EnderDragonEntity;LOGGER:Lorg/slf4j/Logger;
-
PHASE_TYPE
- Mappings:
Namespace Name Mixin selector official bLbsq;b:Labu;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 ccLbsq;cc:Lbpd;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;
-
MAX_HEALTH
private static final int MAX_HEALTH- See Also:
- Mappings:
Namespace Name Mixin selector official cdLbsq;cd:Iintermediary field_30428Lnet/minecraft/class_1510;field_30428:Inamed MAX_HEALTHLnet/minecraft/entity/boss/dragon/EnderDragonEntity;MAX_HEALTH:I
-
field_30429
private static final int field_30429- See Also:
- Mappings:
Namespace Name Mixin selector official ceLbsq;ce:Iintermediary field_30429Lnet/minecraft/class_1510;field_30429:Inamed field_30429Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;field_30429:I
-
TAKEOFF_THRESHOLD
private static final float TAKEOFF_THRESHOLDThe 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 cfLbsq;cf:Fintermediary field_30430Lnet/minecraft/class_1510;field_30430:Fnamed TAKEOFF_THRESHOLDLnet/minecraft/entity/boss/dragon/EnderDragonEntity;TAKEOFF_THRESHOLD:F
-
DRAGON_DEATH_TIME_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official cgLbsq;cg:Ljava/lang/String;intermediary field_33910Lnet/minecraft/class_1510;field_33910:Ljava/lang/String;named DRAGON_DEATH_TIME_KEYLnet/minecraft/entity/boss/dragon/EnderDragonEntity;DRAGON_DEATH_TIME_KEY:Ljava/lang/String;
-
DRAGON_PHASE_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector official chLbsq;ch:Ljava/lang/String;intermediary field_33911Lnet/minecraft/class_1510;field_33911:Ljava/lang/String;named DRAGON_PHASE_KEYLnet/minecraft/entity/boss/dragon/EnderDragonEntity;DRAGON_PHASE_KEY:Ljava/lang/String;
-
segmentCircularBuffer
public final double[][] segmentCircularBuffer(yaw, y, ?)- Mappings:
Namespace Name Mixin selector official cLbsq;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 dLbsq;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 ciLbsq;ci:[Lbso;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;
-
head
- Mappings:
Namespace Name Mixin selector official eLbsq;e:Lbso;intermediary field_7017Lnet/minecraft/class_1510;field_7017:Lnet/minecraft/class_1508;named headLnet/minecraft/entity/boss/dragon/EnderDragonEntity;head:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
neck
- Mappings:
Namespace Name Mixin selector official cjLbsq;cj:Lbso;intermediary field_7011Lnet/minecraft/class_1510;field_7011:Lnet/minecraft/class_1508;named neckLnet/minecraft/entity/boss/dragon/EnderDragonEntity;neck:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
body
- Mappings:
Namespace Name Mixin selector official ckLbsq;ck:Lbso;intermediary field_7023Lnet/minecraft/class_1510;field_7023:Lnet/minecraft/class_1508;named bodyLnet/minecraft/entity/boss/dragon/EnderDragonEntity;body:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
tail1
- Mappings:
Namespace Name Mixin selector official clLbsq;cl:Lbso;intermediary field_7020Lnet/minecraft/class_1510;field_7020:Lnet/minecraft/class_1508;named tail1Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tail1:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
tail2
- Mappings:
Namespace Name Mixin selector official cmLbsq;cm:Lbso;intermediary field_7009Lnet/minecraft/class_1510;field_7009:Lnet/minecraft/class_1508;named tail2Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tail2:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
tail3
- Mappings:
Namespace Name Mixin selector official cnLbsq;cn:Lbso;intermediary field_7022Lnet/minecraft/class_1510;field_7022:Lnet/minecraft/class_1508;named tail3Lnet/minecraft/entity/boss/dragon/EnderDragonEntity;tail3:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
rightWing
- Mappings:
Namespace Name Mixin selector official coLbsq;co:Lbso;intermediary field_7015Lnet/minecraft/class_1510;field_7015:Lnet/minecraft/class_1508;named rightWingLnet/minecraft/entity/boss/dragon/EnderDragonEntity;rightWing:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
leftWing
- Mappings:
Namespace Name Mixin selector official cpLbsq;cp:Lbso;intermediary field_7014Lnet/minecraft/class_1510;field_7014:Lnet/minecraft/class_1508;named leftWingLnet/minecraft/entity/boss/dragon/EnderDragonEntity;leftWing:Lnet/minecraft/entity/boss/dragon/EnderDragonPart;
-
prevWingPosition
public float prevWingPosition- Mappings:
Namespace Name Mixin selector official bVLbsq;bV: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 bWLbsq;bW: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 bXLbsq;bX: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 bYLbsq;bY:Iintermediary field_7031Lnet/minecraft/class_1510;field_7031:Inamed ticksSinceDeathLnet/minecraft/entity/boss/dragon/EnderDragonEntity;ticksSinceDeath:I
-
yawAcceleration
public float yawAcceleration- Mappings:
Namespace Name Mixin selector official bZLbsq;bZ:Fintermediary field_20865Lnet/minecraft/class_1510;field_20865:Fnamed yawAccelerationLnet/minecraft/entity/boss/dragon/EnderDragonEntity;yawAcceleration:F
-
connectedCrystal
- Mappings:
Namespace Name Mixin selector official caLbsq;ca:Lbsp;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 cqLbsq;cq:Ldcs;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 crLbsq;cr:Lbth;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 csLbsq;cs:Iintermediary field_7018Lnet/minecraft/class_1510;field_7018:Inamed ticksUntilNextGrowlLnet/minecraft/entity/boss/dragon/EnderDragonEntity;ticksUntilNextGrowl:I
-
damageDuringSitting
private float damageDuringSitting- Mappings:
Namespace Name Mixin selector official ctLbsq;ct:Fintermediary field_7029Lnet/minecraft/class_1510;field_7029:Fnamed damageDuringSittingLnet/minecraft/entity/boss/dragon/EnderDragonEntity;damageDuringSitting:F
-
pathNodes
The first 12 path nodes are used for end crystals; the others are not tied to them.- Mappings:
Namespace Name Mixin selector official cuLbsq;cu:[Ldul;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 cvLbsq;cv:[Iintermediary field_7025Lnet/minecraft/class_1510;field_7025:[Inamed pathNodeConnectionsLnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathNodeConnections:[I
-
pathHeap
- Mappings:
Namespace Name Mixin selector official cwLbsq;cw:Ldui;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>Lbee;<init>(Lbei;Lckk;)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 mLbsq;m()Lbfw$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;
-
isFlappingWings
public boolean isFlappingWings()Returns whether the entity is flapping their wings.Entities flapping their wings will call
Entity.addFlapEffects()insideEntity.addAirTravelEffects().- Overrides:
isFlappingWingsin classEntity- Returns:
- whether the entity is flapping their wings
- Mappings:
Namespace Name Mixin selector official aPLbee;aP()Zintermediary method_5776Lnet/minecraft/class_1297;method_5776()Znamed isFlappingWingsLnet/minecraft/entity/Entity;isFlappingWings()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 is flapping wings and the entity has any move effect, from
Entity.addAirTravelEffects().- Overrides:
addFlapEffectsin classEntity- Mappings:
Namespace Name Mixin selector official aOLbee;aO()Vintermediary method_5801Lnet/minecraft/class_1297;method_5801()Vnamed addFlapEffectsLnet/minecraft/entity/Entity;addFlapEffects()V
-
initDataTracker
protected void initDataTracker()Initializes data tracker.- Overrides:
initDataTrackerin classMobEntity- Mappings:
Namespace Name Mixin selector official a_Lbee;a_()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 aLbsq;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 b_Lbet;b_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
movePart
- Mappings:
Namespace Name Mixin selector official aLbsq;a(Lbso;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
-
getHeadVerticalMovement
private float getHeadVerticalMovement()- Mappings:
Namespace Name Mixin selector official fMLbsq;fM()Fintermediary method_6820Lnet/minecraft/class_1510;method_6820()Fnamed getHeadVerticalMovementLnet/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 fNLbsq;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 aLbsq;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 bLbsq;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 iLbsq;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 bLbsq;b(Lean;)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 aLbsq;a(Lbso;Lbdm;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
Applies a damage to this entity. The exact implementation differs between subclasses.LivingEntityhas health value, and damaging the entity decreases it. This also handles shields, extra damage to helmets for falling blocks, setting the attacker, playing hurt sound, etc.Some entities like
ItemEntityalso have health value, which the overridden method decrements. There also exist several entities, likeEndCrystalEntity, where any damage discards the entity (perhaps with an explosion).If this is overridden, it must check the result of
Entity.isInvulnerableTo(net.minecraft.entity.damage.DamageSource)and return early.- Overrides:
damagein classLivingEntity- Returns:
- whether the entity was actually damaged
- See Also:
- Mappings:
Namespace Name Mixin selector official aLbee;a(Lbdm;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 gLbsq;g(Lbdm;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()Kills the entity.This drops loot when applicable, and emits the
GameEvent.ENTITY_DIEgame event.- Overrides:
killin classLivingEntity- Mappings:
Namespace Name Mixin selector official ajLbee;aj()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 dQLbet;dQ()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 pLbsq;p()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 rLbsq;r(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 aLbsq;a(IILdul;)Ldun;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 aLbsq;a(Ldul;Ldul;)Ldun;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
Writes custom data tonbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
- Overrides:
writeCustomDataToNbtin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official bLbee;b(Lqp;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
Reads custom data fromnbt. Subclasses has to implement this.NBT is a storage format; therefore, a data from NBT is loaded to an entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the entity.
nbtmight not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.- Overrides:
readCustomDataFromNbtin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official aLbee;a(Lqp;)Vintermediary method_5749Lnet/minecraft/class_1297;method_5749(Lnet/minecraft/class_2487;)Vnamed readCustomDataFromNbtLnet/minecraft/entity/Entity;readCustomDataFromNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
checkDespawn
public void checkDespawn()Checks whether the entity should be despawned.To despawn this entity, call
Entity.discard().- Overrides:
checkDespawnin classMobEntity- See Also:
- Mappings:
Namespace Name Mixin selector official dqLbee;dq()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vnamed checkDespawnLnet/minecraft/entity/Entity;checkDespawn()V
-
getBodyParts
- Mappings:
Namespace Name Mixin selector official tLbsq;t()[Lbso;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;
-
canHit
public boolean canHit()Returns whether the entity can be hit with a projectile or be targeted by the player crosshair.- Overrides:
canHitin classLivingEntity- Returns:
- whether the entity can be hit with a projectile or be targeted by the player crosshair
- Mappings:
Namespace Name Mixin selector official bnLbee;bn()Zintermediary method_5863Lnet/minecraft/class_1297;method_5863()Znamed canHitLnet/minecraft/entity/Entity;canHit()Z
-
getSoundCategory
Returns the sound category for sounds from this entity.This is used by
Entity.playSound(SoundEvent, float, float)and defaults toSoundCategory.NEUTRAL. Hostile entities should override this to returnSoundCategory.HOSTILE.- Overrides:
getSoundCategoryin classEntity- Returns:
- the sound category for sounds from this entity
- See Also:
- Mappings:
Namespace Name Mixin selector official cVLbee;cV()Lalz;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 rLbev;r()Lalx;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 cLbet;c(Lbdm;)Lalx;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 eJLbet;eJ()Fintermediary method_6107Lnet/minecraft/class_1309;method_6107()Fnamed getSoundVolumeLnet/minecraft/entity/LivingEntity;getSoundVolume()F
-
getChangeInNeckPitch
public float getChangeInNeckPitch(int segmentOffset, double[] segment1, double[] segment2) - Mappings:
Namespace Name Mixin selector official aLbsq;a(I[D[D)Fintermediary method_6823Lnet/minecraft/class_1510;method_6823(I[D[D)Fnamed getChangeInNeckPitchLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getChangeInNeckPitch(I[D[D)F
-
getRotationVectorFromPhase
- Mappings:
Namespace Name Mixin selector official zLbsq;z(F)Leas;intermediary method_6834Lnet/minecraft/class_1510;method_6834(F)Lnet/minecraft/class_243;named getRotationVectorFromPhaseLnet/minecraft/entity/boss/dragon/EnderDragonEntity;getRotationVectorFromPhase(F)Lnet/minecraft/util/math/Vec3d;
-
crystalDestroyed
- Mappings:
Namespace Name Mixin selector official aLbsq;a(Lbsp;Lgp;Lbdm;)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
Called on the client when the tracked data is set.This can be overridden to refresh other fields when the tracked data is set or changed.
- Overrides:
onTrackedDataSetin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbee;a(Labu;)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 fKLbsq;fK()Lbth;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 fLLbsq;fL()Ldcs;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
Adds a status effect to this entity.- Overrides:
addStatusEffectin classLivingEntity- Parameters:
effect- the effect to addsource- the source entity ornullfor non-entity sources- Returns:
- whether the active status effects of this entity has been modified
- Mappings:
Namespace Name Mixin selector official bLbet;b(Lbdx;Lbee;)Zintermediary method_37222Lnet/minecraft/class_1309;method_37222(Lnet/minecraft/class_1293;Lnet/minecraft/class_1297;)Znamed addStatusEffectLnet/minecraft/entity/LivingEntity;addStatusEffect(Lnet/minecraft/entity/effect/StatusEffectInstance;Lnet/minecraft/entity/Entity;)Z
-
canStartRiding
Returns whether this entity can rideentity.Returning
falsecauses the entity to be unable to ride other entities. For example,WitherEntityoverrides this to returnfalse, so withers cannot ride boats or minecarts. Note that this check can be bypassed by passingtruetoEntity.startRiding(Entity, boolean).This is the opposite of
Entity.canAddPassenger(net.minecraft.entity.Entity).- Overrides:
canStartRidingin classEntity- Returns:
- whether this entity can ride
entity - See Also:
- Mappings:
Namespace Name Mixin selector official lLbee;l(Lbee;)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()Returns whether the entity can use nether portals and end portals.EnderDragonEntity,WitherEntity, andFishingBobberEntitycannot use portals.- Overrides:
canUsePortalsin classLivingEntity- Returns:
- whether the entity can use nether portals and end portals
- Mappings:
Namespace Name Mixin selector official cnLbee;cn()Zintermediary method_5822Lnet/minecraft/class_1297;method_5822()Znamed canUsePortalsLnet/minecraft/entity/Entity;canUsePortals()Z
-
onSpawnPacket
Called on the client when the entity receives a spawn packet.This sets the entity's position, angles, ID, and UUID. Subclasses can override this to initialize additional fields.
- Overrides:
onSpawnPacketin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbee;a(Luq;)Vintermediary method_31471Lnet/minecraft/class_1297;method_31471(Lnet/minecraft/class_2604;)Vnamed onSpawnPacketLnet/minecraft/entity/Entity;onSpawnPacket(Lnet/minecraft/network/packet/s2c/play/EntitySpawnS2CPacket;)V
-
canTarget
- Overrides:
canTargetin classLivingEntity- Mappings:
Namespace Name Mixin selector official cLbet;c(Lbet;)Zintermediary method_18395Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Znamed canTargetLnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
-