net.minecraft.world.entity.ai.behavior

public class StrollAroundPoi

extends Behavior<PathfinderMob>

asm
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_R1.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

Constructor summary

ModifierConstructor
public (MemoryModuleType<GlobalPos> target, int maxDistance)

Method summary

Modifier and TypeMethod
protected boolean
a(zd arg0, apg 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(zd arg0, apg 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)