Class WanderingTraderEntity.MoveToGoal
- java.lang.Object
-
- net.minecraft.entity.ai.goal.Goal
-
- net.minecraft.entity.merchant.villager.WanderingTraderEntity.MoveToGoal
-
- Enclosing class:
- WanderingTraderEntity
class WanderingTraderEntity.MoveToGoal extends Goal
-
-
Field Summary
Fields Modifier and Type Field Description (package private) double
speedModifier
(package private) double
stopDistance
(package private) WanderingTraderEntity
trader
-
Constructor Summary
Constructors Constructor Description MoveToGoal(WanderingTraderEntity p_i50459_2_, double p_i50459_3_, double p_i50459_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
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 Detail
-
trader
final WanderingTraderEntity trader
-
stopDistance
final double stopDistance
-
speedModifier
final double speedModifier
-
-
Constructor Detail
-
MoveToGoal
MoveToGoal(WanderingTraderEntity p_i50459_2_, double p_i50459_3_, double p_i50459_5_)
-
-