net.minecraft.world.entity.ai.behavior

public class GoToClosestVillage

extends Behavior<Villager>

amk
net.minecraft.world.entity.ai.behavior.GoToClosestVillage
net.minecraft.class_4458
net.minecraft.entity.ai.brain.task.GoToPointOfInterestTask
net.minecraft.entity.ai.brain.task.WalkToPOITask
net.minecraft.server.v1_15_R1.BehaviorNearestVillage

Field summary

Modifier and TypeField
private final float
a
speed
field_20288
speed
field_225445_a
private final int
b
closeEnoughDistance
field_20289
completionRange
field_225446_b

Constructor summary

ModifierConstructor
public (float speed, int completionRange)

Method summary

Modifier and TypeMethod
protected boolean
a(xd arg0, axw arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_21636(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
func_212832_a_(ServerWorld arg0, VillagerEntity arg1)
protected void
a(xd arg0, axw arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_21637(class_3218 arg0, class_1646 arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, VillagerEntity arg1, long arg2)