net.minecraft.world.entity.ai.behavior

public class GoToClosestVillage

extends Behavior<Villager>

asj
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_16_R3.BehaviorNearestVillage

Field summary

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

Constructor summary

ModifierConstructor
public (float speed, int completionRange)

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, bfj 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(aag arg0, bfj 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)