net.minecraft.world.entity.ai.goal

public class RandomStrollGoal

extends Goal

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

Field summary

Modifier and TypeField
public static final int
a
DEFAULT_INTERVAL
field_30226
DEFAULT_CHANCE
protected final PathfinderMob
b
mob
field_6566
mob
protected double
c
wantedX
field_6563
targetX
protected double
d
wantedY
field_6562
targetY
protected double
e
wantedZ
field_6561
targetZ
protected final double
f
speedModifier
field_6567
speed
protected int
g
interval
field_6564
chance
protected boolean
h
forceTrigger
field_6565
ignoringChance
private final boolean
i
checkNoActionTime
field_24463
canDespawn

Constructor summary

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

Method summary

Modifier and TypeMethod
public boolean
b()
canUse()
method_6264()
canStart()
protected Vec3
h()
getPosition()
method_6302()
getWanderTarget()
public boolean
c()
canContinueToUse()
method_6266()
shouldContinue()
public void
d()
start()
method_6269()
start()
public void
e()
stop()
method_6270()
stop()
public void
i()
trigger()
method_6304()
ignoreChanceOnce()
public void
c(int arg0)
setInterval(int arg0)
method_6303(int arg0)
setChance(int chance)