LeviLamina
Loading...
Searching...
No Matches
POIInstance.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/actor/ai/village/POIType.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
11class BlockPos;
12class BlockSource;
13class CompoundTag;
14class HashedString;
15class Random;
16class Village;
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 48, ::HashedString> mName;
24 ::ll::TypedStorage<8, 48, ::HashedString> mInitEvent;
25 ::ll::TypedStorage<8, 48, ::HashedString> mEndEvent;
26 ::ll::TypedStorage<8, 8, ::Village*> mVillage;
27 ::ll::TypedStorage<4, 12, ::BlockPos> mPosition;
28 ::ll::TypedStorage<8, 8, uint64> mOwnerCount;
29 ::ll::TypedStorage<8, 8, uint64> mOwnerCapacity;
30 ::ll::TypedStorage<8, 8, uint64> mWeight;
31 ::ll::TypedStorage<4, 4, float> mRadius;
32 ::ll::TypedStorage<4, 4, ::POIType> mType;
33 ::ll::TypedStorage<8, 48, ::HashedString> mSoundEvent;
34 ::ll::TypedStorage<2, 2, short> mArrivalFailuresCount;
35 ::ll::TypedStorage<1, 1, bool> mUseBoundingBox;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI POIInstance(
42 ::BlockPos const& pos,
43 bool useBoundingBox,
44 ::std::string name,
45 ::POIType type,
46 float radius,
47 uint64 maxCapacity,
48 uint64 weight,
49 ::std::string soundEvent,
50 ::std::string initEvent,
51 ::std::string endEvent
52 );
53
54 MCAPI ::AABB getSecondBlockFullAABB(::BlockSource& region);
55
56 MCAPI void save(::CompoundTag& tag) const;
57
58 MCAPI void trySpawnParticles(::BlockSource& region, ::Random& random, int particleType) const;
59
60 MCAPI ~POIInstance();
61 // NOLINTEND
62
63public:
64 // constructor thunks
65 // NOLINTBEGIN
66 MCAPI void* $ctor(
67 ::BlockPos const& pos,
68 bool useBoundingBox,
69 ::std::string name,
70 ::POIType type,
71 float radius,
72 uint64 maxCapacity,
73 uint64 weight,
74 ::std::string soundEvent,
75 ::std::string initEvent,
76 ::std::string endEvent
77 );
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCAPI void $dtor();
84 // NOLINTEND
85};
Definition AABB.h:16
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition HashedString.h:5
Definition POIInstance.h:19
Definition Random.h:16
Definition Village.h:34