net.minecraft.world.entity.ai.behavior

public class SetWalkTargetFromBlockMemory

extends Behavior<Villager>

anl
net.minecraft.world.entity.ai.behavior.SetWalkTargetFromBlockMemory
net.minecraft.class_4122
net.minecraft.entity.ai.brain.task.VillagerWalkTowardsTask
net.minecraft.entity.ai.brain.task.StayNearPointTask
net.minecraft.server.v1_15_R1.BehaviorWalkAwayBlock

Field summary

Modifier and TypeField
private final MemoryModuleType<GlobalPos>
a
memoryType
field_18382
destination
field_220548_a
private final float
b
speed
field_18383
speed
field_220549_b
private final int
c
closeEnoughDist
field_18384
completionRange
field_220550_c
private final int
d
tooFarDistance
field_18385
maxRange
field_220551_d
private final int
e
tooLongUnreachableDuration
field_19292
maxRunTime
field_223018_e

Constructor summary

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

Method summary

Modifier and TypeMethod
private void
a(axw arg0, long arg1)
dropPOI(Villager arg0, long arg1)
method_21722(class_1646 arg0, long arg1)
giveUp(VillagerEntity villager, long time)
func_225457_a(VillagerEntity arg0, long arg1)
protected void
a(xd arg0, axw 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)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)
private boolean
a(xd arg0, axw arg1)
tiredOfTryingToFindTarget(ServerLevel arg0, Villager arg1)
method_20498(class_3218 arg0, class_1646 arg1)
shouldGiveUp(ServerWorld world, VillagerEntity villager)
func_223017_a(ServerWorld arg0, VillagerEntity arg1)
private boolean
a(xd arg0, axw arg1, fr arg2)
tooFar(ServerLevel arg0, Villager arg1, GlobalPos arg2)
method_19597(class_3218 arg0, class_1646 arg1, class_4208 arg2)
exceedsMaxRange(ServerWorld world, VillagerEntity villager, GlobalPos pos)
func_220546_a(ServerWorld arg0, VillagerEntity arg1, GlobalPos arg2)
private boolean
b(xd arg0, axw arg1, fr 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)
func_220547_b(ServerWorld arg0, VillagerEntity arg1, GlobalPos arg2)