Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ActorPathingData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec2.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/legacy/ActorUniqueID.h"
9#include "mc/world/level/BlockPos.h"
10#include "mc/world/level/block/BlockDescriptor.h"
11#include "mc/world/phys/AABB.h"
12
13// auto generated forward declare list
14// clang-format off
15class Block;
16class BlockType;
20// clang-format on
21
23public:
24 // ActorPathingData inner types declare
25 // clang-format off
28 // clang-format on
29
30 // ActorPathingData inner types define
32 public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<4, 12, ::BlockPos> mHomePos;
36 ::ll::TypedStorage<4, 4, float> mRestrictionRadiusSqr;
37 // NOLINTEND
38 };
39
41 public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<4, 4, float> mHeightBelow;
45 ::ll::TypedStorage<4, 4, float> mHeightAbove;
46 // NOLINTEND
47 };
48
49public:
50 // member variables
51 // NOLINTBEGIN
52 ::ll::TypedStorage<4, 24, ::AABB> mAABB;
53 ::ll::TypedStorage<4, 8, ::Vec2> mAABBDim;
54 ::ll::TypedStorage<4, 12, ::Vec3> mPosition;
55 ::ll::TypedStorage<4, 4, float> mRadiusCeiling;
56 ::ll::TypedStorage<1, 1, bool> mCanUseFreeStartNodeCheck;
57 ::ll::TypedStorage<1, 1, bool> mIsInWater;
58 ::ll::TypedStorage<1, 1, bool> mIsInLava;
59 ::ll::TypedStorage<8, 8, ::BreakBlocksComponent const*> mBreakBlocks;
60 ::ll::TypedStorage<8, 8, ::BreakBlocksDescription const*> mBreakBlocksDescription;
61 ::ll::TypedStorage<8, 8, ::ActorUniqueID> mUniqueID;
62 ::ll::TypedStorage<8, 64, ::std::function<bool(::Block const&, ::BlockPos const&, ::BlockPos const&)>>
63 mCheckIsPathable;
64 ::ll::TypedStorage<8, 64, ::std::function<::std::optional<bool>(::Block const&, ::BlockPos const&)>>
65 mBlockCausesDamageToActor;
66 ::ll::TypedStorage<8, 64, ::std::function<bool(::BlockType const&, ::BlockPos const&)>> mCanBeAscendedByJumping;
67 ::ll::TypedStorage<8, 8, ::std::vector<::BlockDescriptor> const*> mBlocksToAvoid;
68 ::ll::TypedStorage<1, 1, bool> mEntityIsSwimmer;
69 ::ll::TypedStorage<1, 1, bool> mEntityIsFlyer;
70 ::ll::TypedStorage<1, 1, bool> mEntityIsFireImmune;
71 ::ll::TypedStorage<1, 1, bool> mEntityIsOnHotBlock;
72 ::ll::TypedStorage<1, 1, bool> mEntityIsWalker;
73 ::ll::TypedStorage<1, 1, bool> mEntityIsDoorOpener;
74 ::ll::TypedStorage<1, 1, bool> mEntityIsDoorBreaker;
75 ::ll::TypedStorage<1, 1, bool> mAllowBlockBreaking;
76 ::ll::TypedStorage<4, 4, float> mMaxJumpHeight;
77 ::ll::TypedStorage<8, 8, ::PreferredPathComponent const*> mPathPrefs;
78 ::ll::TypedStorage<8, 64, ::std::unordered_map<::BlockPos, ::ActorPathingData::MinMaxHeightCacheEntry>>
79 mMinMaxHeightBlockCache;
80 ::ll::TypedStorage<4, 20, ::std::optional<::ActorPathingData::HomeRestrictionInfo>> mHomeRestrictionInfo;
81 // NOLINTEND
82
83public:
84 // member functions
85 // NOLINTBEGIN
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCNAPI void $dtor();
93 // NOLINTEND
94};
Definition BlockPos.h:14
Definition BlockType.h:79
Definition Block.h:42
Definition BreakBlocksComponent.h:12
Definition ActorPathingData.h:31
Definition ActorPathingData.h:40
Definition ActorPathingData.h:22
MCAPI void $dtor()
MCAPI ~ActorPathingData()
Definition BreakBlocksDescription.h:14
Definition PreferredPathComponent.h:11