LeviLamina
Loading...
Searching...
No Matches
TargetRelativeMovementGoalUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class AABB;
8class Actor;
9class IBlockSource;
10class Vec3;
11// clang-format on
12
13namespace TargetRelativeMovementGoalUtils {
14// functions
15// NOLINTBEGIN
16MCAPI ::std::optional<::Vec3> calculateJumpVectorForElevationAngle(
17 ::IBlockSource& region,
18 ::AABB const& actorAABB,
19 ::Vec3 const& actorPos,
20 ::Vec3 const& jumpAimBlockPos,
21 float angle,
22 float maxJumpVelocity,
23 float scaleFactor,
24 bool checkCollision
25);
26
27MCAPI ::Vec3 getRandomPointBehindTarget(
28 ::Actor const& owner,
29 ::Actor const& target,
30 float spreadDegrees,
31 float minLandingDistance,
32 float maxLandingDistance
33);
34
35MCAPI bool validTransition(
36 ::AABB const& mobAABB,
37 ::IBlockSource& region,
38 ::Vec3 const& oldPos,
39 ::Vec3 const& newPos,
40 float scaleFactor
41);
42// NOLINTEND
43
44} // namespace TargetRelativeMovementGoalUtils
Definition AABB.h:16
Definition Actor.h:104
Definition IBlockSource.h:35
Definition Vec3.h:10