net.minecraft.world.entity.ai.behavior

public class StrollAroundPoi

extends Behavior<PathfinderMob>

ann
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_15_R1.BehaviorStrollPosition

Field summary

Modifier and TypeField
private final MemoryModuleType<GlobalPos>
a
memoryType
field_18372
target
field_220565_a
private long
b
nextOkStartTime
field_18373
nextUpdateTime
field_220566_b
private final int
c
maxDistanceFromPoi
field_18374
maxDistance
field_220567_c

Constructor summary

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

Method summary

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