Class WanderingTraderEntity.MoveToGoal
java.lang.Object
net.minecraft.entity.ai.goal.Goal
net.minecraft.entity.merchant.villager.WanderingTraderEntity.MoveToGoal
- Enclosing class:
- WanderingTraderEntity
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescription(package private) final double
(package private) final double
(package private) final WanderingTraderEntity
-
Constructor Summary
ConstructorDescriptionMoveToGoal
(WanderingTraderEntity p_i50459_2_, double p_i50459_3_, double p_i50459_5_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
canUse()
private boolean
isTooFarAway
(BlockPos p_220846_1_, double p_220846_2_) void
stop()
void
tick()
Methods inherited from class net.minecraft.entity.ai.goal.Goal
canContinueToUse, getFlags, isInterruptable, setFlags, start, toString
-
Field Details
-
trader
-
stopDistance
final double stopDistance -
speedModifier
final double speedModifier
-
-
Constructor Details
-
MoveToGoal
MoveToGoal(WanderingTraderEntity p_i50459_2_, double p_i50459_3_, double p_i50459_5_)
-
-
Method Details