net.minecraft.world.entity.ai.behavior

public class StrollAroundPoi

extends Behavior<PathfinderMob>

atx
net.minecraft.world.entity.ai.behavior.StrollAroundPoi
net.minecraft.class_4116
net.minecraft.entity.ai.brain.task.GoToIfNearbyTask
net.minecraft.entity.ai.brain.task.WorkTask
net.minecraft.server.v1_16_R2.BehaviorStrollPosition

Field summary

Modifier and TypeField
private final MemoryModuleType<GlobalPos>
b
memoryType
field_18372
target
field_220565_a
private long
c
nextOkStartTime
field_18373
nextUpdateTime
field_220566_b
private final int
d
maxDistanceFromPoi
field_18374
maxDistance
field_220567_c
private float
e
speedModifier
field_25752
field_25752
field_242305_e

Constructor summary

ModifierConstructor
public (MemoryModuleType<GlobalPos> target, float arg1, int arg2)

Method summary

Modifier and TypeMethod
protected boolean
a(aag arg0, aqr arg1)
checkExtraStartConditions(ServerLevel arg0, PathfinderMob arg1)
method_18993(class_3218 arg0, class_1314 arg1)
shouldRun(ServerWorld arg0, PathAwareEntity arg1)
func_212832_a_(ServerWorld arg0, CreatureEntity arg1)
protected void
a(aag arg0, aqr arg1, long arg2)
start(ServerLevel arg0, PathfinderMob arg1, long arg2)
method_18994(class_3218 arg0, class_1314 arg1, long arg2)
run(ServerWorld arg0, PathAwareEntity arg1, long arg2)
func_212831_a_(ServerWorld arg0, CreatureEntity arg1, long arg2)