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) doublespeedModifier(package private) doublestopDistance(package private) WanderingTraderEntitytrader
-
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 booleancanUse()private booleanisTooFarAway(BlockPos p_220846_1_, double p_220846_2_)voidstop()voidtick()-
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_)
-
-