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 bouintermediary 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 ccLbou;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 bLbou;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 cdLbou;cd:Lblk;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 ceLbou;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 cfLbou;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 cgLbou;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 chLbou;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 ciLbou;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 cLbou;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 dLbou;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 cjLbou;cj:[Lbos;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 eLbou;e:Lbos;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 ckLbou;ck:Lbos;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 clLbou;cl:Lbos;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 cmLbou;cm:Lbos;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 cnLbou;cn:Lbos;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 coLbou;co:Lbos;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 cpLbou;cp:Lbos;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 cqLbou;cq:Lbos;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 bWLbou;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 bXLbou;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 bYLbou;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 bZLbou;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 caLbou;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 cbLbou;cb:Lbot;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 crLbou;cr:Lcyc;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 csLbou;cs:Lbpl;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 ctLbou;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 cuLbou;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 cvLbou;cv:[Ldpo;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 cwLbou;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 cxLbou;cx:Ldpl;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>Lbas;<init>(Lbaw;Lcgc;)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 nLbou;n()Lbch$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 aKLbas;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_Lbas;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 aLbou;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_Lbbh;w_()Vintermediary method_6007Lnet/minecraft/class_1309;method_6007()Vnamed tickMovementLnet/minecraft/entity/LivingEntity;tickMovement()V
-
movePart
- Mappings:
Namespace Name Mixin selector official aLbou;a(Lbos;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 fJLbou;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 fKLbou;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 aLbou;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 bLbou;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 iLbou;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 bLbou;b(Ldvq;)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 aLbou;a(Lbos;Lbab;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 aLbas;a(Lbab;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 gLbou;g(Lbab;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 agLbas;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 dMLbbh;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 qLbou;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 qLbou;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 aLbou;a(IILdpo;)Ldpq;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 aLbou;a(Ldpo;Ldpo;)Ldpq;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 bLbas;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 aLbas;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 dnLbas;dn()Vintermediary method_5982Lnet/minecraft/class_1297;method_5982()Vnamed checkDespawnLnet/minecraft/entity/Entity;checkDespawn()V
-
getBodyParts
- Mappings:
Namespace Name Mixin selector official tLbou;t()[Lbos;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 blLbas;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 cSLbas;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 rLbbj;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 cLbbh;c(Lbab;)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 eDLbbh;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 aLbou;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 xLbou;x(F)Ldvv;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 aLbou;a(Lbot;Lgt;Lbab;)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 aLbas;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 fHLbou;fH()Lbpl;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 fILbou;fI()Lcyc;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 bLbbh;b(Lbal;Lbas;)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 lLbas;l(Lbas;)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 clLbas;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 aLbas;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 cLbbh;c(Lbbh;)Zintermediary method_18395Lnet/minecraft/class_1309;method_18395(Lnet/minecraft/class_1309;)Znamed canTargetLnet/minecraft/entity/LivingEntity;canTarget(Lnet/minecraft/entity/LivingEntity;)Z
-