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) double
(package private) double
(package private) 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
canContinueToUse, getFlags, isInterruptable, 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