net.minecraft.world.entity.ai.goal

public class RandomStrollGoal

extends Goal

awt
net.minecraft.world.entity.ai.goal.RandomStrollGoal
net.minecraft.class_1379
net.minecraft.entity.ai.goal.WanderAroundGoal
net.minecraft.entity.ai.goal.RandomWalkingGoal
net.minecraft.server.v1_16_R3.PathfinderGoalRandomStroll

字段概要

修饰符与类型字段
protected final PathfinderMob
a
mob
field_6566
mob
field_75457_a
protected double
b
wantedX
field_6563
targetX
field_75455_b
protected double
c
wantedY
field_6562
targetY
field_75456_c
protected double
d
wantedZ
field_6561
targetZ
field_75453_d
protected final double
e
speedModifier
field_6567
speed
field_75454_e
protected int
f
interval
field_6564
chance
field_179481_f
protected boolean
g
forceTrigger
field_6565
ignoringChance
field_179482_g
private boolean
h
checkNoActionTime
field_24463
field_24463
field_234053_h_

构造函数概要

修饰符构造函数
public (PathfinderMob mob, double speed)
public (PathfinderMob mob, double speed, int chance)
public (PathfinderMob arg0, double arg1, int arg2, boolean arg3)

方法概要

修饰符与类型方法
public boolean
a()
canUse()
method_6264()
canStart()
func_75250_a()
protected Vec3
g()
getPosition()
method_6302()
getWanderTarget()
func_190864_f()
public boolean
b()
canContinueToUse()
method_6266()
shouldContinue()
func_75253_b()
public void
c()
start()
method_6269()
start()
func_75249_e()
public void
d()
stop()
method_6270()
stop()
func_75251_c()
public void
h()
trigger()
method_6304()
ignoreChanceOnce()
func_179480_f()
public void
a(int arg0)
setInterval(int arg0)
method_6303(int arg0)
setChance(int chance)
func_179479_b(int arg0)
setTimeBetweenMovement(int arg0)