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 SummaryFieldsModifier and TypeFieldDescription(package private) final double(package private) final double(package private) final WanderingTraderEntity
- 
Constructor SummaryConstructorsConstructorDescriptionMoveToGoal(WanderingTraderEntity p_i50459_2_, double p_i50459_3_, double p_i50459_5_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleancanUse()private booleanisTooFarAway(BlockPos p_220846_1_, double p_220846_2_) voidstop()voidtick()Methods inherited from class net.minecraft.entity.ai.goal.GoalcanContinueToUse, getFlags, isInterruptable, setFlags, start, toString
- 
Field Details- 
trader
- 
stopDistancefinal double stopDistance
- 
speedModifierfinal double speedModifier
 
- 
- 
Constructor Details- 
MoveToGoalMoveToGoal(WanderingTraderEntity p_i50459_2_, double p_i50459_3_, double p_i50459_5_) 
 
- 
- 
Method Details