net.minecraft.world.entity.ai.goal

public class MoveThroughVillageGoal

extends Goal

bdn
net.minecraft.world.entity.ai.goal.MoveThroughVillageGoal
net.minecraft.class_1368
net.minecraft.entity.ai.goal.MoveThroughVillageGoal
net.minecraft.src.C_705_
net.minecraft.world.entity.ai.goal.PathfinderGoalMoveThroughVillage

Field summary

Modifier and TypeField
protected final PathfinderMob
a
mob
field_6525
mob
f_25573_
private final double
b
speedModifier
field_6520
speed
f_25574_
private Path
c
path
field_6523
targetPath
f_25575_
private BlockPos
d
poiPos
field_18412
target
f_25576_
private final boolean
e
onlyAtNight
field_6524
requiresNighttime
f_25577_
private final List<BlockPos>
f
visited
field_18413
visitedTargets
f_25578_
private final int
g
distanceToPoi
field_18414
distance
f_25579_
private final BooleanSupplier
h
canDealWithDoors
field_18415
doorPassingThroughGetter
f_25580_

Constructor summary

ModifierConstructor
public (PathfinderMob entity, double speed, boolean requiresNighttime, int distance, BooleanSupplier doorPassingThroughGetter)

Method summary

Modifier and TypeMethod
public boolean
a()
canUse()
method_6264()
canStart()
m_8036_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
private boolean
a(gh arg0)
hasNotVisited(BlockPos arg0)
method_19052(class_2338 arg0)
shouldVisit(BlockPos pos)
m_25592_(C_4675_ arg0)
private void
g()
updateVisited()
method_6297()
forgetOldTarget()
m_25597_()