LeviLamina
Loading...
Searching...
No Matches
CompoundBlockVolume.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/world/level/BlockPos.h"
8#include "mc/world/level/block/CompoundBlockVolumePositionRelativity.h"
9#include "mc/world/level/levelgen/structure/BoundingBox.h"
10
11// auto generated forward declare list
12// clang-format off
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::CompoundBlockVolumeItem>> mVolumeList;
22 ::ll::TypedStorage<4, 12, ::BlockPos> mOrigin;
23 ::ll::TypedStorage<4, 24, ::BoundingBox> mBounds;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 // vIndex: 0
35 virtual ~CompoundBlockVolume() /*override*/;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI void _recalculateBounds();
42
43 MCAPI ::CompoundBlockVolumeIterator begin() const;
44
45 MCAPI void forEachPosition(::std::function<bool(::BlockPos const&)> const& callback) const;
46
47 MCAPI ::std::vector<::CompoundBlockVolumeItem> getAbsoluteVolumeList() const;
48
49 MCAPI bool isInside(::BlockPos const& pos) const;
50
51 MCAPI ::CompoundBlockVolume& operator=(::CompoundBlockVolume const& other);
52
53 MCAPI bool operator==(::CompoundBlockVolume const& other) const;
54
55 MCAPI ::std::optional<::CompoundBlockVolumeItem>
56 peekLastVolume(::std::optional<::CompoundBlockVolumePositionRelativity> optRelativity) const;
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCAPI void $dtor();
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition EnableNonOwnerReferences.h:7
Definition BlockPos.h:17
Definition CompoundBlockVolumeItem.h:10
Definition CompoundBlockVolumeIterator.h:13
Definition CompoundBlockVolume.h:17
static MCAPI void ** $vftable()