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/deps/core/string/HashedString.h"
7#include "mc/world/actor/ai/village/POIType.h"
8#include "mc/world/level/BlockPos.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class BlockSource;
14class CompoundTag;
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 // prevent constructor by default
41
42public:
43 // member functions
44 // NOLINTBEGIN
46 ::BlockPos const& pos,
47 bool useBoundingBox,
48 ::std::string name,
49 ::POIType type,
50 float radius,
51 uint64 maxCapacity,
52 uint64 weight,
53 ::std::string soundEvent,
54 ::std::string initEvent,
55 ::std::string endEvent
56 );
57
58 MCNAPI ::AABB getSecondBlockFullAABB(::BlockSource& region);
59
60 MCNAPI void save(::CompoundTag& tag) const;
61
62 MCNAPI void trySpawnParticles(::BlockSource& region, ::Random& random, int particleType) const;
63
64 MCNAPI ~POIInstance();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCNAPI void* $ctor(
71 ::BlockPos const& pos,
72 bool useBoundingBox,
73 ::std::string name,
74 ::POIType type,
75 float radius,
76 uint64 maxCapacity,
77 uint64 weight,
78 ::std::string soundEvent,
79 ::std::string initEvent,
80 ::std::string endEvent
81 );
82 // NOLINTEND
83
84public:
85 // destructor thunk
86 // NOLINTBEGIN
87 MCNAPI void $dtor();
88 // NOLINTEND
89};
Definition AABB.h:18
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition CompoundTag.h:13
Definition POIInstance.h:19
MCAPI POIInstance(::BlockPos const &pos, bool useBoundingBox, ::std::string name, ::POIType type, float radius, uint64 maxCapacity, uint64 weight, ::std::string soundEvent, ::std::string initEvent, ::std::string endEvent)
MCAPI void save(::CompoundTag &tag) const
MCAPI void trySpawnParticles(::BlockSource &region, ::Random &random, int particleType) const
MCAPI ~POIInstance()
MCAPI::AABB getSecondBlockFullAABB(::BlockSource &region)
MCAPI void $dtor()
MCAPI void * $ctor(::BlockPos const &pos, bool useBoundingBox, ::std::string name, ::POIType type, float radius, uint64 maxCapacity, uint64 weight, ::std::string soundEvent, ::std::string initEvent, ::std::string endEvent)
Definition Random.h:11
Definition Village.h:34