net.minecraft.entity.ai.goal

public class WanderAroundGoal

extends Goal

net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.class_1379
net.minecraft.entity.ai.goal.WanderAroundGoal

Field summary

Modifier and TypeField
public static final int
DEFAULT_INTERVAL
field_30226
DEFAULT_CHANCE
protected final PathAwareEntity
mob
field_6566
mob
protected double
wantedX
field_6563
targetX
protected double
wantedY
field_6562
targetY
protected double
wantedZ
field_6561
targetZ
protected final double
speedModifier
field_6567
speed
protected int
interval
field_6564
chance
protected boolean
forceTrigger
field_6565
ignoringChance
private final boolean
checkNoActionTime
field_24463
canDespawn

Constructor summary

ModifierConstructor
public (PathAwareEntity mob, double speed)
public (PathAwareEntity mob, double speed, int chance)
public (PathAwareEntity entity, double speed, int chance, boolean canDespawn)

Method summary

Modifier and TypeMethod
public boolean
canUse()
method_6264()
canStart()
protected Vec3d
getPosition()
method_6302()
getWanderTarget()
public boolean
canContinueToUse()
method_6266()
shouldContinue()
public void
start()
method_6269()
start()
public void
stop()
method_6270()
stop()
public void
trigger()
method_6304()
ignoreChanceOnce()
public void
setInterval(int interval)
method_6303(int arg0)
setChance(int chance)