Class GoToTargetLocation
java.lang.Object
net.minecraft.world.entity.ai.behavior.GoToTargetLocation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(MemoryModuleType<BlockPos> locationMemory, int closeEnoughDist, float speedModifier) private static BlockPosgetNearbyPos(Mob mob, BlockPos pos) private static intgetRandomOffset(RandomSource random)
-
Constructor Details
-
GoToTargetLocation
public GoToTargetLocation()
-
-
Method Details
-
getNearbyPos
-
getRandomOffset
-
create
public static <E extends Mob> OneShot<E> create(MemoryModuleType<BlockPos> locationMemory, int closeEnoughDist, float speedModifier)
-