net.minecraft.world.entity

public abstract class PathfinderMob

extends Mob

All mapped superinterfaces:

SyncedDataHolder, Nameable, EntityAccess, ScoreHolder, Attackable, EquipmentUser, Leashable, Targeting

bwo
net.minecraft.world.entity.PathfinderMob
net.minecraft.class_1314
net.minecraft.entity.mob.PathAwareEntity
net.minecraft.src.C_533_
net.minecraft.world.entity.EntityCreature

Field summary

Modifier and TypeField
protected static final float
bY
DEFAULT_WALK_TARGET_VALUE
field_35670
DEFAULT_PATHFINDING_FAVOR
f_186010_

Constructor summary

ModifierConstructor
protected (EntityType<? extends PathfinderMob> p_21684_, Level arg1)

Method summary

Modifier and TypeMethod
public float
c(jh arg0)
getWalkTargetValue(BlockPos arg0)
method_6149(class_2338 arg0)
getPathfindingFavor(BlockPos pos)
m_21692_(C_4675_ arg0)
public float
a(jh arg0, dhl arg1)
getWalkTargetValue(BlockPos arg0, LevelReader arg1)
method_6144(class_2338 arg0, class_4538 arg1)
getPathfindingFavor(BlockPos pos, WorldView world)
m_5610_(C_4675_ p_21689_, C_1599_ arg1)
public boolean
a(dhj arg0, bvq arg1)
checkSpawnRules(LevelAccessor arg0, EntitySpawnReason arg1)
method_5979(class_1936 arg0, class_3730 arg1)
canSpawn(WorldAccess arg0, SpawnReason arg1)
m_5545_(C_1598_ p_368415_, C_345845_ arg1)
public boolean
gk()
isPathFinding()
method_6150()
isNavigating()
m_21691_()
public boolean
gl()
isPanicking()
method_52546()
isPanicking()
m_293628_()
protected boolean
gm()
shouldStayCloseToLeashHolder()
method_43689()
shouldFollowLeash()
m_213814_()
public void
a(bvk arg0)
closeRangeLeashBehaviour(Entity arg0)
method_60963(class_1297 arg0)
onShortLeashTick(Entity arg0)
m_338827_(C_507_ arg0)
public boolean
a(bvk arg0, float arg1)
handleLeashAtDistance(Entity arg0, float arg1)
method_60956(class_1297 arg0, float arg1)
beforeLeashTick(Entity arg0, float arg1)
m_338665_(C_507_ p_344226_, float arg1)
protected double
gn()
followLeashSpeed()
method_6148()
getFollowLeashSpeed()
m_5823_()