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
10class AABB;
11class Actor;
12class BlockSource;
13class EntityContext;
14class Vec3;
15namespace Util::Agent { struct SimulatedMoveResult; }
16// clang-format on
17
18namespace Util::Agent {
19// functions
20// NOLINTBEGIN
21MCAPI ::Vec3 getNextPosFromDirection(::Vec3 const& startPosition, float bodyRotation, ::AgentComponents::Direction dir);
22
23MCAPI ::Util::Agent::SimulatedMoveResult
24simulateMove(::EntityContext& entity, ::AgentComponents::Direction dir, ::Vec3 destination);
25
26MCAPI 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
Definition AABB.h:18
Definition Actor.h:106
Definition BlockSource.h:71
Definition EntityContext.h:16
Definition Vec3.h:10
Definition SimulatedMoveResult.h:10