Class GoToTargetLocation<E extends Mob>
java.lang.Object
net.minecraft.world.entity.ai.behavior.Behavior<E>
net.minecraft.world.entity.ai.behavior.GoToTargetLocation<E>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.entity.ai.behavior.Behavior
Behavior.Status
-
Field Summary
Modifier and TypeFieldDescriptionprivate final int
private final MemoryModuleType<BlockPos>
private final float
Fields inherited from class net.minecraft.world.entity.ai.behavior.Behavior
DEFAULT_DURATION, entryCondition
-
Constructor Summary
ConstructorDescriptionGoToTargetLocation
(MemoryModuleType<BlockPos> p_217235_, int p_217236_, float p_217237_) -
Method Summary
Modifier and TypeMethodDescriptionprivate static BlockPos
getNearbyPos
(Mob p_217251_, BlockPos p_217252_) private static int
getRandomOffset
(RandomSource p_217247_) private BlockPos
getTargetLocation
(Mob p_217249_) protected void
start
(ServerLevel p_217243_, Mob p_217244_, long p_217245_) Methods inherited from class net.minecraft.world.entity.ai.behavior.Behavior
canStillUse, checkExtraStartConditions, doStop, getStatus, stop, tick, tickOrStop, timedOut, toString, tryStart