class WanderingTraderEntity.WanderToTargetGoal extends Goal
Goal.Control
Modifier and Type | Field and Description |
---|---|
(package private) double |
proximityDistance |
(package private) double |
speed |
(package private) WanderingTraderEntity |
trader |
Constructor and Description |
---|
WanderToTargetGoal(WanderingTraderEntity trader,
double proximityDistance,
double speed) |
Modifier and Type | Method and Description |
---|---|
boolean |
canStart() |
private boolean |
isTooFarFrom(BlockPos pos,
double proximityDistance) |
void |
stop() |
void |
tick() |
canStop, getControls, setControls, shouldContinue, start, toString
final WanderingTraderEntity trader
final double proximityDistance
final double speed
WanderToTargetGoal(WanderingTraderEntity trader, double proximityDistance, double speed)