net.minecraft.world.entity.ai.behavior

public class GoToClosestVillage

extends Behavior<Villager>

baa
net.minecraft.world.entity.ai.behavior.GoToClosestVillage
net.minecraft.class_4458
net.minecraft.unmapped.C_aofhkhvj
net.minecraft.entity.ai.brain.task.GoToPointOfInterestTask
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
f_dgwtlntx
speed
speed
f_23074_
private final int
c
closeEnoughDistance
field_20289
f_tkmqdbuu
completionRange
completionRange
f_23075_

Constructor summary

ModifierConstructor
public (float speed, int completionRange)

Method summary

Modifier and TypeMethod
protected boolean
a(adw arg0, bnw arg1)
checkExtraStartConditions(ServerLevel arg0, Villager arg1)
method_21636(class_3218 arg0, class_1646 arg1)
m_wzpcdmrz(C_bdwnwhiu arg0, C_pdtkdbte arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
shouldRun(ServerWorld arg0, VillagerEntity arg1)
m_6114_(C_12_ p_23088_, C_1118_ arg1)
protected void
a(adw arg0, bnw arg1, long arg2)
start(ServerLevel arg0, Villager arg1, long arg2)
method_21637(class_3218 arg0, class_1646 arg1, long arg2)
m_jlqtixyt(C_bdwnwhiu arg0, C_pdtkdbte arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
run(ServerWorld arg0, VillagerEntity arg1, long arg2)
m_6735_(C_12_ p_23091_, C_1118_ p_23092_, long arg2)