Package net.minecraft.world.entity.npc
Class WanderingTrader.WanderToPositionGoal
java.lang.Object
net.minecraft.world.entity.ai.goal.Goal
net.minecraft.world.entity.npc.WanderingTrader.WanderToPositionGoal
- Enclosing class:
- WanderingTrader
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final double
(package private) final double
(package private) final WanderingTrader
-
Constructor Summary
ConstructorDescriptionWanderToPositionGoal
(WanderingTrader p_35899_, double p_35900_, double p_35901_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse()
private boolean
isTooFarAway
(BlockPos p_35904_, double p_35905_) void
stop()
void
tick()
Methods inherited from class net.minecraft.world.entity.ai.goal.Goal
adjustedTickDelay, canContinueToUse, getFlags, isInterruptable, reducedTickDelay, requiresUpdateEveryTick, setFlags, start, toString
-
Field Details
-
trader
-
stopDistance
final double stopDistance -
speedModifier
final double speedModifier
-
-
Constructor Details
-
WanderToPositionGoal
WanderToPositionGoal(WanderingTrader p_35899_, double p_35900_, double p_35901_)
-
-
Method Details