net.minecraft.world.entity.ai.goal

public class RandomStrollGoal

extends Goal

bjl
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.class_1379
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.src.C_715_
net.minecraft.world.entity.ai.goal.PathfinderGoalRandomStroll

Field summary

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

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
a()
canUse()
method_6264()
canStart()
m_8036_()
protected Vec3
h()
getPosition()
method_6302()
getWanderTarget()
m_7037_()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
m_8045_()
public void
c()
start()
method_6269()
start()
m_8056_()
public void
d()
stop()
method_6270()
stop()
m_8041_()
public void
i()
trigger()
method_6304()
ignoreChanceOnce()
m_25751_()
public void
c(int arg0)
setInterval(int arg0)
method_6303(int arg0)
setChance(int chance)
m_25746_(int arg0)