类 MoveThroughVillageGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.ai.goal.MoveThroughVillageGoal
-
嵌套类概要
-
字段概要
字段修饰符和类型字段说明private final BooleanSupplier
private final int
protected final PathfinderMob
private final boolean
private Path
private BlockPos
private final double
-
构造器概要
构造器构造器说明MoveThroughVillageGoal
(PathfinderMob p_25582_, double p_25583_, boolean p_25584_, int p_25585_, BooleanSupplier p_25586_) -
方法概要
修饰符和类型方法说明boolean
boolean
canUse()
private boolean
hasNotVisited
(BlockPos p_25593_) void
start()
void
stop()
private void
从类继承的方法 net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, getFlags, getServerLevel, getServerLevel, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, tick, toString
-
字段详细资料
-
mob
-
speedModifier
private final double speedModifier -
path
-
poiPos
-
onlyAtNight
private final boolean onlyAtNight -
visited
-
distanceToPoi
private final int distanceToPoi -
canDealWithDoors
-
-
构造器详细资料
-
MoveThroughVillageGoal
public MoveThroughVillageGoal(PathfinderMob p_25582_, double p_25583_, boolean p_25584_, int p_25585_, BooleanSupplier p_25586_)
-
-
方法详细资料