net.minecraft.entity.mob

public abstract class PathAwareEntity

extends MobEntity

All mapped superinterfaces:

Nameable, EntityLike, UniquelyIdentifiable, ScoreHolder, DataTracked, ComponentsAccess, HeldItemContext, StackReferenceGetter, DebugTrackable, EntryConvertible, Attackable, ServerWaypoint, Waypoint, Targeter, EquipmentHolder, Leashable

net.minecraft.world.entity.PathfinderMob
net.minecraft.class_1314
net.minecraft.entity.mob.PathAwareEntity

Field summary

Modifier and TypeField
protected static final float
DEFAULT_WALK_TARGET_VALUE
field_35670
DEFAULT_PATHFINDING_FAVOR

Constructor summary

ModifierConstructor
protected (EntityType<? extends PathAwareEntity> type, World level)

Method summary

Modifier and TypeMethod
public float
getWalkTargetValue(BlockPos pos)
method_6149(class_2338 arg0)
getPathfindingFavor(BlockPos pos)
public float
getWalkTargetValue(BlockPos pos, LevelReader level)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos pos, WorldView world)
public boolean
checkSpawnRules(LevelAccessor level, EntitySpawnReason spawnReason)
method_5979(class_1936 arg0, class_3730 arg1)
canSpawn(WorldAccess arg0, SpawnReason arg1)
public boolean
isPathFinding()
method_6150()
isNavigating()
public boolean
isPanicking()
method_52546()
isPanicking()
protected boolean
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
public void
closeRangeLeashBehaviour(Entity leashHolder)
method_60963(class_1297 arg0)
onShortLeashTick(Entity arg0)
public void
whenLeashedTo(Entity leashHolder)
method_71005(class_1297 arg0)
beforeLeashTick(Entity arg0)
protected double
followLeashSpeed()
method_6148()
getFollowLeashSpeed()