net.minecraft.world.entity.ai.behavior

public class GoToClosestVillage

extends Behavior<Villager>

beg
net.minecraft.world.entity.ai.behavior.GoToClosestVillage
net.minecraft.class_4458
net.minecraft.entity.ai.brain.task.GoToPointOfInterestTask
net.minecraft.src.C_592_
net.minecraft.world.entity.ai.behavior.BehaviorNearestVillage

Field summary

Modifier and TypeField
private final float
a
speedModifier
field_20288
speed
f_23074_
private final int
d
closeEnoughDistance
field_20289
completionRange
f_23075_

Constructor summary

ModifierConstructor
public (float speed, int completionRange)

Method summary

Modifier and TypeMethod
protected boolean
a(agg arg0, btp arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_21636(class_3218 arg0, class_1646 arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_6114_(C_12_ p_23088_, C_1118_ arg1)
protected void
a(agg arg0, btp 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)
m_6735_(C_12_ p_23091_, C_1118_ p_23092_, long arg2)