LeviLamina
Loading...
Searching...
No Matches
Agent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/agent/agent_components/Direction.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
AABB
;
11
class
Actor
;
12
class
BlockSource
;
13
class
EntityContext
;
14
class
Vec3
;
15
namespace
Util::Agent {
struct
SimulatedMoveResult
; }
16
// clang-format on
17
18
namespace
Util::Agent {
19
// functions
20
// NOLINTBEGIN
21
MCAPI ::Vec3 getNextPosFromDirection(::Vec3
const
& startPosition,
float
bodyRotation, ::AgentComponents::Direction dir);
22
23
MCAPI ::Util::Agent::SimulatedMoveResult
24
simulateMove(::EntityContext& entity, ::AgentComponents::Direction dir, ::Vec3 destination);
25
26
MCAPI
void
testForCollidableMobs(
27
::Actor
const
& actor,
28
::BlockSource& region,
29
::AABB
const
& intersectTestBox,
30
::std::vector<::AABB>& collisionAABBs
31
);
32
// NOLINTEND
33
34
}
// namespace Util::Agent
AABB
Definition
AABB.h:18
Actor
Definition
Actor.h:106
BlockSource
Definition
BlockSource.h:71
EntityContext
Definition
EntityContext.h:16
Vec3
Definition
Vec3.h:10
Util::Agent::SimulatedMoveResult
Definition
SimulatedMoveResult.h:10
src
mc
world
actor
agent
utils
Agent.h
Generated on
for LeviLamina by
1.16.1