Package net.minecraft.entity
Class PathAwareEntity
java.lang.Object
net.minecraft.entity.Entity
net.minecraft.entity.LivingEntity
net.minecraft.entity.mob.MobEntity
net.minecraft.entity.PathAwareEntity
- All Implemented Interfaces:
CommandSource
- Direct Known Subclasses:
GolemEntity,HostileEntity,PassiveEntity
- Mappings:
Namespace Name official smintermediary net/minecraft/class_877named net/minecraft/entity/PathAwareEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.entity.mob.MobEntity
MobEntity.Location -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatprivate booleanstatic final UUIDstatic final AttributeModifierprivate final Goalprivate BlockPosprivate floatFields inherited from class net.minecraft.entity.mob.MobEntity
ambientSoundChance, armorDropChances, attackGoals, entityMotionHelper, experiencePoints, field_14559, goals, jumpControl, navigationFields inherited from class net.minecraft.entity.LivingEntity
attackingPlayer, bodyTrackingIncrements, bodyYaw, dead, deathTime, defaultMaxHealth, despawnCounter, distanceTravelled, field_14542, field_14543, field_14546, field_14547, field_14548, field_6748, field_6749, field_6750, field_6752, field_6753, field_6771, field_6776, field_6777, field_6778, field_6782, flyingSpeed, forwardSpeed, handSwinging, handSwingProgress, handSwingTicks, headYaw, hurtTime, jumping, knockbackVelocity, lastHandSwingProgress, mainHand, maxHurtTime, playerHitTimer, prevBodyYaw, prevDistanceTravelled, prevHeadYaw, prevStepBobbingAmount, randomLargeSeed, randomSmallSeed, serverPitch, serverY, serverYaw, serverZ, serxerX, sidewaysSpeed, stepBobbingAmountFields inherited from class net.minecraft.entity.Entity
changingDimension, chunkX, chunkY, chunkZ, colliding, dataTracker, dimension, distanceTraveled, fallDistance, field_3223, fireResistance, firstUpdate, FLAGS, height, horizontalCollision, horizontalSpeed, ignoreCameraFrustum, inanimate, inLava, isFireImmune, isGlowing, lastPortalBlockPos, lastPortalVec3d, netherPortalCooldown, netherPortalTime, noClip, onGround, pitch, playerUuid, prevHorizontalSpeed, prevPitch, prevTickX, prevTickY, prevTickZ, prevX, prevY, prevYaw, prevZ, pushSpeedReduction, random, removed, ridingCooldown, stepHeight, teleportDirection, teleporting, ticksAlive, touchingWater, tracedX, tracedY, tracedZ, updateNeeded, uuidString, velocityDirty, velocityModified, velocityX, velocityY, velocityZ, verticalCollision, width, world, x, y, yaw, z -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanSpawn()floatfloatbooleanbooleanbooleanvoidprotected voidmethod_6175(float float2) voidsetPositionTarget(BlockPos posTraget, int range) booleanprotected voidMethods inherited from class net.minecraft.entity.mob.MobEntity
ambientSound, attachLeash, baseTick, canAttackEntity, canBeControlledByRider, canBeLeashedBy, canImmediatelyDespawn, canMoveVoluntarily, canPickupItem, canPickUpLoot, checkDespawn, createNavigation, detachLeash, dropLoot, equip, equipStack, getArmorItems, getDefaultDrop, getDurability, getItemsHand, getJumpControl, getLimitPerChunk, getLookControl, getLookPitchSpeed, getLootTableId, getMinAmbientSoundDelay, getMotionHelper, getNavigation, getSafeFallDistance, getTarget, getVisibilityCache, getXpToDrop, handleStatus, hasNoAi, initDataTracker, initEquipment, initGoals, initialize, initializeAttributes, isLeashed, isPersistent, lookAtEntity, loot, method_13043, method_13044, method_13051, method_13075, method_13076, method_13077, method_13078, method_13079, method_13080, method_13081, method_13082, method_13083, method_13084, method_13086, method_13088, method_13495, method_13496, method_2469, method_2638, method_4472, method_6100, method_6162, mobTick, onEatingGrass, playAmbientSound, playSpawnEffects, readCustomDataFromNbt, setAiDisabled, setCanPickUpLoot, setForwardSpeed, setMovementSpeed, setPersistent, setTarget, startRiding, tick, tickMovement, tickNewAi, turnHead, updateEnchantments, writeCustomDataToNbtMethods inherited from class net.minecraft.entity.LivingEntity
addStatusEffect, animateDamage, applyArmorDamage, applyDamage, applyEnchantmentsToDamage, canSee, clearStatusEffects, collides, damage, damageArmor, deathSound, destroy, dropXp, endCombat, enterCombat, fall, getAbsorption, getArmorProtectionValue, getAttacker, getAttacking, getAttributeContainer, getDamageTracker, getEffectInstance, getGroup, getHandSwingProgress, getHeadRotation, getHealth, getJumpVelocity, getLandSound, getLastAttackTime, getLastHurtTimestamp, getMaxHealth, getMovementSpeed, getNextAirUnderwater, getOpponent, getRandom, getRotation, getRotationVector, getSoundPitch, getSoundVolume, getStackInHand, getStatusEffectInstances, getStuckArrows, handleFallDamage, hasStatusEffect, heal, initializeAttribute, isAffectedBySmite, isAlive, isBaby, isClimbing, isPushable, isSleeping, jump, kill, markEffectsDirty, method_10979, method_10981, method_13038, method_13040, method_13041, method_13042, method_13045, method_13046, method_13048, method_13050, method_13052, method_13053, method_13054, method_13055, method_13056, method_13057, method_13058, method_13059, method_13061, method_13062, method_13063, method_13064, method_13065, method_13066, method_13067, method_13071, method_13072, method_13493, method_13494, method_2582, method_2607, method_2610, method_2634, method_2649, method_2658, method_3217, method_6108, method_6109, method_6111, method_6117, method_6150, method_6152, onKilled, onTrackedDataSet, pushAway, removeStatusEffect, scheduleVelocityUpdate, sendPickup, setAbsorption, setAttacker, setHeadYaw, setHealth, setJumping, setSprinting, setStuckArrows, setYaw, shouldAlwaysDropXp, shouldDropXp, shouldRenderName, stopRiding, tickCramming, tickHandSwing, tickRiding, tickStatusEffects, travel, tryAttack, updatePotionVisibility, updateTrackedPositionAndAnglesMethods inherited from class net.minecraft.entity.Entity
addPassenger, addScoreboardTag, addVelocity, afterSpawn, applyMirror, applyRotation, attemptSprintingParticles, burn, canAddPassenger, canAvoidTraps, canClimb, canExplosionDestroyBlock, canFly, canStartRiding, canUseCommand, canUsePortals, changeDimension, checkBlockCollision, copyPosition, dealDamage, distanceTo, distanceTo, doesNotCollide, doesRenderOnFire, dropItem, dropItem, dropItem, entityDataRequiresOperator, equals, extinguish, fromNbt, getAir, getBlastResistance, getBlockPos, getBoundingBox, getBox, getBrightnessAtEyes, getCameraPosVec, getCommandStats, getCustomName, getDataTracker, getDefaultNetherPortalCooldown, getEntity, getEntityId, getEntityName, getEyeHeight, getFlag, getHardCollisionBox, getHeightOffset, getHorizontalDirection, getHoverEvent, getItemsEquipped, getLastNetherPortalDirection, getLastNetherPortalDirectionVector, getLightmapCoordinates, getMaxNetherPortalTime, getMinecraftServer, getMountedHeightOffset, getMovementDirection, getParts, getPassengerList, getPassengersDeep, getPassengersDeep, getPistonBehavior, getPos, getPrimaryPassenger, getRenderDistanceMultiplier, getRootVehicle, getRotationClient, getRotationVecClient, getRotationVector, getSavedEntityId, getScoreboardTags, getScoreboardTeam, getSoundCategory, getTargetingMargin, getTranslationKey, getUuid, getVehicle, getVisibilityBoundingBox, getWorld, handleAttack, hasCustomName, hashCode, hasMount, hasNoGravity, hasPassenger, hasPassengerDeep, hasPassengers, increaseTransforms, isAttackable, isConnectedThroughVehicle, isCustomNameVisible, isFireImmune, isGlowing, isImmuneToExplosion, isInsideWall, isInvisible, isInvisibleTo, isInvulnerableTo, isOnFire, isOutsideWorldborder, isPartOf, isSilent, isSneaking, isSpectatedBy, isSprinting, isSubmergedIn, isTeammate, isTeamPlayer, isTouchingLava, isTouchingWater, method_10965, method_12976, method_12984, method_12985, method_12991, method_13003, method_6344, move, onKilledOther, onLightningStrike, onPassengerLookAround, onPlayerCollision, onStartedTrackingBy, onStoppedTrackingBy, onSwimmingStart, playSound, playStepSound, populateCrashReport, pushAwayFrom, pushOutOfBlocks, rayTrace, refreshPositionAfterTeleport, refreshPositionAndAngles, refreshPositionAndAngles, remove, removeAllPassengers, removePassenger, removeScoreboardTag, ride, saveSelfToNbt, saveToNbt, sendCommandFeedback, sendMessage, setAir, setBoundingBox, setBounds, setCustomName, setCustomNameVisible, setEntityId, setFlag, setGlowing, setInLava, setInNetherPortal, setInvisible, setInvulnerable, setNoGravity, setOnFireFor, setOnFireFromLava, setOutsideWorldborder, setRenderDistanceMultiplier, setRotation, setSilent, setSneaking, setStat, setUuid, setVelocityClient, setWorld, shouldRender, shouldRender, shouldSetPositionOnLoad, spawnSprintingParticles, squaredDistanceTo, squaredDistanceTo, squaredDistanceTo, squaredDistanceToCenter, teleportRequested, tickFire, tickNetherPortalCooldown, toListNbt, toListNbt, toNbt, toString, updateKilledAdvancementCriterion, updatePassengerPosition, updatePosition, updatePositionAndAngles, updateSubmergedInWaterState, updateVelocity, updateWaterState
-
Field Details
-
FLEEING_SPEED_BONUS_ID
- Mappings:
Namespace Name Mixin selector official bvLsm;bv:Ljava/util/UUID;intermediary field_6810Lnet/minecraft/class_877;field_6810:Ljava/util/UUID;named FLEEING_SPEED_BONUS_IDLnet/minecraft/entity/PathAwareEntity;FLEEING_SPEED_BONUS_ID:Ljava/util/UUID;
-
FLEEING_SPEED_MODIFIER
- Mappings:
Namespace Name Mixin selector official bwLsm;bw:Lst;intermediary field_6811Lnet/minecraft/class_877;field_6811:Lnet/minecraft/class_1704;named FLEEING_SPEED_MODIFIERLnet/minecraft/entity/PathAwareEntity;FLEEING_SPEED_MODIFIER:Lnet/minecraft/entity/attribute/AttributeModifier;
-
positionTarget
- Mappings:
Namespace Name Mixin selector official aLsm;a:Lcm;intermediary field_11924Lnet/minecraft/class_877;field_11924:Lnet/minecraft/class_2552;named positionTargetLnet/minecraft/entity/PathAwareEntity;positionTarget:Lnet/minecraft/util/math/BlockPos;
-
positionTargetRange
private float positionTargetRange- Mappings:
Namespace Name Mixin selector official bLsm;b:Fintermediary field_6807Lnet/minecraft/class_877;field_6807:Fnamed positionTargetRangeLnet/minecraft/entity/PathAwareEntity;positionTargetRange:F
-
goal
- Mappings:
Namespace Name Mixin selector official cLsm;c:Ltq;intermediary field_6808Lnet/minecraft/class_877;field_6808:Lnet/minecraft/class_896;named goalLnet/minecraft/entity/PathAwareEntity;goal:Lnet/minecraft/entity/ai/goal/Goal;
-
field_6809
private boolean field_6809- Mappings:
Namespace Name Mixin selector official bxLsm;bx:Zintermediary field_6809Lnet/minecraft/class_877;field_6809:Znamed field_6809Lnet/minecraft/entity/PathAwareEntity;field_6809:Z
-
field_14565
private float field_14565- Mappings:
Namespace Name Mixin selector official byLsm;by:Fintermediary field_14565Lnet/minecraft/class_877;field_14565:Fnamed field_14565Lnet/minecraft/entity/PathAwareEntity;field_14565:F
-
-
Constructor Details
-
PathAwareEntity
- Mappings:
Namespace Name Mixin selector official <init>Lrw;<init>(Laid;)Vintermediary <init>Lnet/minecraft/class_864;<init>(Lnet/minecraft/class_1150;)Vnamed <init>Lnet/minecraft/entity/Entity;<init>(Lnet/minecraft/world/World;)V
-
-
Method Details
-
getPathfindingFavor
- Mappings:
Namespace Name Mixin selector official aLsm;a(Lcm;)Fintermediary method_10989Lnet/minecraft/class_877;method_10989(Lnet/minecraft/class_2552;)Fnamed getPathfindingFavorLnet/minecraft/entity/PathAwareEntity;getPathfindingFavor(Lnet/minecraft/util/math/BlockPos;)F
-
canSpawn
public boolean canSpawn() -
shouldContinue
public boolean shouldContinue()- Mappings:
Namespace Name Mixin selector official cYLsm;cY()Zintermediary method_2690Lnet/minecraft/class_877;method_2690()Znamed shouldContinueLnet/minecraft/entity/PathAwareEntity;shouldContinue()Z
-
isInWalkTargetRange
public boolean isInWalkTargetRange()- Mappings:
Namespace Name Mixin selector official cZLsm;cZ()Zintermediary method_6170Lnet/minecraft/class_877;method_6170()Znamed isInWalkTargetRangeLnet/minecraft/entity/PathAwareEntity;isInWalkTargetRange()Z
-
isInWalkTargetRange
- Mappings:
Namespace Name Mixin selector official fLsm;f(Lcm;)Zintermediary method_10991Lnet/minecraft/class_877;method_10991(Lnet/minecraft/class_2552;)Znamed isInWalkTargetRangeLnet/minecraft/entity/PathAwareEntity;isInWalkTargetRange(Lnet/minecraft/util/math/BlockPos;)Z
-
setPositionTarget
- Mappings:
Namespace Name Mixin selector official aLsm;a(Lcm;I)Vintermediary method_10990Lnet/minecraft/class_877;method_10990(Lnet/minecraft/class_2552;I)Vnamed setPositionTargetLnet/minecraft/entity/PathAwareEntity;setPositionTarget(Lnet/minecraft/util/math/BlockPos;I)V
-
getPositionTarget
- Mappings:
Namespace Name Mixin selector official daLsm;da()Lcm;intermediary method_6171Lnet/minecraft/class_877;method_6171()Lnet/minecraft/class_2552;named getPositionTargetLnet/minecraft/entity/PathAwareEntity;getPositionTarget()Lnet/minecraft/util/math/BlockPos;
-
getPositionTargetRange
public float getPositionTargetRange()- Mappings:
Namespace Name Mixin selector official dbLsm;db()Fintermediary method_6172Lnet/minecraft/class_877;method_6172()Fnamed getPositionTargetRangeLnet/minecraft/entity/PathAwareEntity;getPositionTargetRange()F
-
method_6173
public void method_6173()- Mappings:
Namespace Name Mixin selector official dcLsm;dc()Vintermediary method_6173Lnet/minecraft/class_877;method_6173()Vnamed method_6173Lnet/minecraft/entity/PathAwareEntity;method_6173()V
-
hasPositionTarget
public boolean hasPositionTarget()- Mappings:
Namespace Name Mixin selector official ddLsm;dd()Zintermediary method_6174Lnet/minecraft/class_877;method_6174()Znamed hasPositionTargetLnet/minecraft/entity/PathAwareEntity;hasPositionTarget()Z
-
updateLeash
protected void updateLeash()- Overrides:
updateLeashin classMobEntity- Mappings:
Namespace Name Mixin selector official cTLsg;cT()Vintermediary method_6159Lnet/minecraft/class_871;method_6159()Vnamed updateLeashLnet/minecraft/entity/mob/MobEntity;updateLeash()V
-
method_6175
protected void method_6175(float float2) - Mappings:
Namespace Name Mixin selector official qLsm;q(F)Vintermediary method_6175Lnet/minecraft/class_877;method_6175(F)Vnamed method_6175Lnet/minecraft/entity/PathAwareEntity;method_6175(F)V
-