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 bosintermediary 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 org.slf4j.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, knockbackVelocity, 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.protected booleancanStartRiding(Entity entity) booleancanTarget(LivingEntity target) booleanvoidbooleancollides()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) 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) protected floatbooleanhasWings()protected voidvoidkill()private voidlaunchLivingEntities(List<Entity> entities) private voidmovePart(EnderDragonPart enderDragonPart, double dx, double dy, double dz) voidonSpawnPacket(EntitySpawnS2CPacket packet) voidonTrackedDataSet(TrackedData<?> data) protected booleanparentDamage(DamageSource source, float amount) voidvoidprivate voidThings to do every tick related to end crystals.protected voidprivate floatwrapYawChange(double yawDegrees) voidMethods inherited from class net.minecraft.entity.mob.MobEntity
attachLeash, baseTick, canBeLeashedBy, canEquip, canGather, canImmediatelyDespawn, canJumpToNextPathNode, canMobSpawn, canMoveVoluntarily, cannotDespawn, canPickupItem, canPickUpLoot, canSpawn, canSpawn, canTarget, canUseRangedWeapon, clearGoalsAndTasks, clearPositionTarget, convertTo, createBodyControl, createMobAttributes, createNavigation, detachLeash, dropEquipment, dropLoot, enchantEquipment, enchantMainHandItem, equipLootStack, equipStack, getArmorItems, getDropChance, getEquipmentForSlot, getEquippedStack, getHoldingEntity, getItemPickUpRangeExpander, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLootContextBuilder, getLootTable, getLootTableId, getMainArm, getMaxHeadRotation, getMaxLookPitchChange, getMaxLookYawChange, getMinAmbientSoundDelay, getMoveControl, getNavigation, getPathfindingPenalty, getPickBlockStack, getPositionTarget, getPositionTargetRange, getPotentialEscapePositions, getSafeFallDistance, 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, attackLivingEntity, blockedByShield, canBeRiddenInWater, canBreatheInWater, canFreeze, canHaveStatusEffect, canSee, canTakeDamage, canWalkOnFluid, clearActiveItem, clearPotionSwirls, clearSleepingPosition, clearStatusEffects, computeFallDamage, consumeItem, containsOnlyAmbientEffects, createBrainProfile, createLivingAttributes, createSpawnPacket, 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, getAttributeBaseValue, getAttributeInstance, getAttributes, 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, 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, adjustMovementForCollisions, adjustMovementForPiston, adjustMovementForSneaking, applyDamageEffects, applyMirror, applyRotation, asMessageSender, attemptTickInVoid, bypassesLandingEffects, bypassesSteppingEffects, calculateBoundingBox, calculateBoundsForPose, calculateDimensions, calculateNextStepSoundDistance, canAddPassenger, canAvoidTraps, canBeSpectated, canExplosionDestroyBlock, canModifyAt, changeLookDirection, checkBlockCollision, collidesWith, collidesWithStateAtPos, copyFrom, copyPositionAndRotation, detach, discard, dismountVehicle, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropStack, dropStack, emitGameEvent, emitGameEvent, entityDataRequiresOperator, equals, extinguish, getAir, getBlockPos, getBlockStateAtPos, getBlockX, getBlockY, getBlockZ, getBodyY, getBoundingBox, getBrightnessAtEyes, getBurningDuration, getCameraPosVec, getChunkPos, getClientCameraPosVec, getCommandSource, getCustomName, getDataTracker, getDefaultName, getDefaultNetherPortalCooldown, getDisplayName, getEffectiveExplosionResistance, getEntityName, getEntityWorld, getEventSource, getEyeHeight, getEyePos, getEyeY, getFireTicks, getFirstPassenger, getFlag, getFluidHeight, getFreezingScale, getFrozenTicks, getHandPosOffset, getHeight, getHeightOffset, getHighSpeedSplashSound, getHorizontalFacing, getHoverEvent, getId, getItemsEquipped, getJumpVelocityMultiplier, getLandingBlockState, getLandingPos, 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, hasNetherPortalCooldown, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, hasPassengerType, hasPermissionLevel, hasPlayerRider, hasPrimaryPassenger, hasVehicle, interactAt, isAttackable, isCollidable, isConnectedThroughVehicle, 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, 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, remove, removeAllPassengers, removePassenger, removeScoreboardTag, requestTeleport, requestTeleportAndDismount, resetNetherPortalCooldown, 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, shouldLeaveSwimmingPose, shouldReceiveFeedback, shouldRender, shouldRender, shouldSave, shouldSetPositionOnLoad, shouldSpawnSprintingParticles, shouldTrackOutput, slowMovement, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, startRiding, streamPassengersAndSelf, streamSelfAndPassengers, teleport, tickNetherPortal, tickNetherPortalCooldown, 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
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official ccLbos;cc: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 bLbos;b:Lzr;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 cdLbos;cd:Lbli;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 ceLbos;ce: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 cfLbos;cf: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 cgLbos;cg: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 chLbos;ch: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 ciLbos;ci: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 cLbos;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 dLbos;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 cjLbos;cj:[Lboq;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 eLbos;e:Lboq;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 ckLbos;ck:Lboq;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 clLbos;cl:Lboq;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 cmLbos;cm:Lboq;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 cnLbos;cn:Lboq;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 coLbos;co:Lboq;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 cpLbos;cp:Lboq;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 cqLbos;cq:Lboq;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 bWLbos;bW: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 bXLbos;bX: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 bYLbos;bY: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 bZLbos;bZ: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 caLbos;ca:Fintermediary field_20865Lnet/minecraft/class_1510;field_20865:Fnamed yawAccelerationLnet/minecraft/entity/boss/dragon/EnderDragonEntity;yawAcceleration:F
-
connectedCrystal
- Mappings:
Namespace Name Mixin selector official cbLbos;cb:Lbor;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 crLbos;cr:Lcya;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 csLbos;cs:Lbpj;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 ctLbos;ct: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 cuLbos;cu: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 cvLbos;cv:[Ldpm;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 cwLbos;cw:[Iintermediary field_7025Lnet/minecraft/class_1510;field_7025:[Inamed pathNodeConnectionsLnet/minecraft/entity/boss/dragon/EnderDragonEntity;pathNodeConnections:[I
-
pathHeap
- Mappings:
Namespace Name Mixin selector official cxLbos;cx:Ldpj;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>Lbaq;<init>(Lbau;Lcga;)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 nLbos;n()Lbcf$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 aKLbaq;aK()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 a_Lbaq;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 aLbos;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 w_Lbbf;w_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
movePart
- Mappings:
Namespace Name Mixin selector official aLbos;a(Lboq;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 fJLbos;fJ()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 fKLbos;fK()Vintermediary method_6830Lnet/minecraft/class_1510;method_6830()Vnamed tickWithEndCrystalsLnet/minecraft/entity/boss/dragon/EnderDragonEntity;tickWithEndCrystals()V
-
launchLivingEntities
- Mappings:
Namespace Name Mixin selector official aLbos;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 bLbos;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 iLbos;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 bLbos;b(Ldvo;)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 aLbos;a(Lboq;Lazz;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 aLbaq;a(Lazz;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 gLbos;g(Lazz;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 agLbaq;ag()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 dMLbbf;dM()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 qLbos;q()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 qLbos;q(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 aLbos;a(IILdpm;)Ldpo;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 aLbos;a(Ldpm;Ldpm;)Ldpo;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 bLbaq;b(Lpj;)Vintermediary method_5652Lnet/minecraft/class_1297;method_5652(Lnet/minecraft/class_2487;)Vnamed writeCustomDataToNbtLnet/minecraft/entity/Entity;writeCustomDataToNbt(Lnet/minecraft/nbt/NbtCompound;)V
-
readCustomDataFromNbt
- Overrides:
readCustomDataFromNbtin classMobEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lpj;)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()- Overrides:
checkDespawnin classMobEntity- Mappings:
Namespace Name Mixin selector official dnLbaq;dn()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vnamed checkDespawnLnet/minecraft/entity/Entity;checkDespawn()V
-
getBodyParts
- Mappings:
Namespace Name Mixin selector official tLbos;t()[Lboq;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 blLbaq;bl()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 cSLbaq;cS()Lajf;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 rLbbh;r()Lajd;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 cLbbf;c(Lazz;)Lajd;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 eDLbbf;eD()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 aLbos;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 xLbos;x(F)Ldvt;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 aLbos;a(Lbor;Lgt;Lazz;)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 aLbaq;a(Lzr;)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 fHLbos;fH()Lbpj;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 fILbos;fI()Lcya;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 bLbbf;b(Lbaj;Lbaq;)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
- Overrides:
canStartRidingin classEntity- Mappings:
Namespace Name Mixin selector official lLbaq;l(Lbaq;)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 clLbaq;cl()Zintermediary method_5822Lnet/minecraft/class_1297;method_5822()Znamed canUsePortalsLnet/minecraft/entity/Entity;canUsePortals()Z
-
onSpawnPacket
- Overrides:
onSpawnPacketin classLivingEntity- Mappings:
Namespace Name Mixin selector official aLbaq;a(Lss;)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 cLbbf;c(Lbbf;)Zintermediary method_18395Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Znamed canTargetLnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
-