net.minecraft.world.entity.ai.behavior

public class GoToTargetLocation<E extends Mob>

extends Behavior<E>

bdl
net.minecraft.world.entity.ai.behavior.GoToTargetLocation
net.minecraft.class_4814
net.minecraft.entity.ai.brain.task.GoToCelebrateTask
net.minecraft.src.C_213013_
net.minecraft.world.entity.ai.behavior.GoToTargetLocation

Field summary

Modifier and TypeField
private final MemoryModuleType<BlockPos>
a
locationMemory
field_38101
memoryModuleType
f_217231_
private final int
d
closeEnoughDist
field_22304
completionRange
f_217232_
private final float
e
speedModifier
field_23130
speed
f_217233_

Constructor summary

ModifierConstructor
public (MemoryModuleType<BlockPos> memoryModuleType, int completionRange, float speed)

Method summary

Modifier and TypeMethod
protected void
a(afo arg0, bbh arg1, long arg2)
start(ServerLevel arg0, Mob arg1, long arg2)
method_24579(class_3218 arg0, class_1308 arg1, long arg2)
run(ServerWorld arg0, MobEntity arg1, long arg2)
m_6735_(C_12_ p_217244_, C_526_ p_217245_, long arg2)
private static BlockPos
a(bbh arg0, gt arg1)
getNearbyPos(Mob arg0, BlockPos arg1)
method_24577(class_1308 arg0, class_2338 arg1)
fuzz(MobEntity mob, BlockPos pos)
m_217250_(C_526_ p_217251_, C_4675_ p_217252_)
private static int
a(alu arg0)
getRandomOffset(RandomSource arg0)
method_24578(class_5819 arg0)
fuzz(Random random)
m_217246_(C_212974_ p_217247_)
private BlockPos
a(bbh arg0)
getTargetLocation(Mob arg0)
method_24576(class_1308 arg0)
getCelebrateLocation(MobEntity entity)
m_217248_(C_526_ arg0)