net.minecraft.world.entity.ai.behavior

public class SetWalkTargetFromBlockMemory

extends Behavior<Villager>

bfv
net.minecraft.world.entity.ai.behavior.SetWalkTargetFromBlockMemory
net.minecraft.class_4122
net.minecraft.entity.ai.brain.task.VillagerWalkTowardsTask
net.minecraft.src.C_628_
net.minecraft.world.entity.ai.behavior.BehaviorWalkAwayBlock

Field summary

Modifier and TypeField
private final MemoryModuleType<GlobalPos>
a
memoryType
field_18382
destination
f_24040_
private final float
d
speedModifier
field_18383
speed
f_24041_
private final int
e
closeEnoughDist
field_18384
completionRange
f_24042_
private final int
f
tooFarDistance
field_18385
maxRange
f_24043_
private final int
g
tooLongUnreachableDuration
field_19292
maxRunTime
f_24044_

Constructor summary

ModifierConstructor
public (MemoryModuleType<GlobalPos> destination, float speed, int completionRange, int maxRange, int maxRunTime)

Method summary

Modifier and TypeMethod
private void
a(btp arg0, long arg1)
dropPOI(Villager arg0, long arg1)
method_21722(class_1646 arg0, long arg1)
giveUp(VillagerEntity villager, long time)
m_24075_(C_1118_ p_24077_, long arg1)
protected void
a(agg arg0, btp arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_19509(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_24060_, C_1118_ p_24061_, long arg2)
private boolean
a(agg arg0, btp arg1)
tiredOfTryingToFindTarget(ServerLevel arg0, Villager arg1)
method_20498(class_3218 arg0, class_1646 arg1)
shouldGiveUp(ServerWorld world, VillagerEntity villager)
m_24055_(C_12_ p_24057_, C_1118_ arg1)
private boolean
a(btp arg0, hb arg1)
tooFar(Villager arg0, GlobalPos arg1)
method_19597(class_1646 arg0, class_4208 arg1)
exceedsMaxRange(VillagerEntity villager, GlobalPos pos)
m_24078_(C_1118_ p_24080_, C_4697_ arg1)
private boolean
a(agg arg0, hb arg1)
wrongDimension(ServerLevel arg0, GlobalPos arg1)
method_30952(class_3218 arg0, class_4208 arg1)
dimensionMismatches(ServerWorld world, GlobalPos pos)
m_24072_(C_12_ p_24074_, C_4697_ arg1)
private boolean
a(agg arg0, btp arg1, hb arg2)
closeEnough(ServerLevel arg0, Villager arg1, GlobalPos arg2)
method_19988(class_3218 arg0, class_1646 arg1, class_4208 arg2)
reachedDestination(ServerWorld world, VillagerEntity villager, GlobalPos pos)
m_24068_(C_12_ p_24070_, C_1118_ p_24071_, C_4697_ arg2)