net.minecraft.world.entity.ai.goal

public class MoveThroughVillageGoal

extends Goal

ccs
net.minecraft.world.entity.ai.goal.MoveThroughVillageGoal
net.minecraft.class_1368
net.minecraft.entity.ai.goal.MoveThroughVillageGoal
net.minecraft.world.entity.ai.goal.PathfinderGoalMoveThroughVillage

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
public void
d()
start()
method_6269()
start()
public void
e()
stop()
method_6270()
stop()
private boolean
a(ji arg0)
hasNotVisited(BlockPos arg0)
method_19052(class_2338 arg0)
shouldVisit(BlockPos pos)
private void
h()
updateVisited()
method_6297()
forgetOldTarget()