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/block/CompoundBlockVolumePositionRelativity.h"
8
9// auto generated forward declare list
10// clang-format off
11class BlockPos;
12class BoundingBox;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~CompoundBlockVolume() /*override*/;
37 // NOLINTEND
38
39public:
40 // member functions
41 // NOLINTBEGIN
42 MCAPI void _recalculateBounds();
43
44 MCAPI ::CompoundBlockVolumeIterator begin() const;
45
46 MCAPI ::BoundingBox calculateBoundsWithItem(::CompoundBlockVolumeItem const& item);
47
48 MCAPI void forEachPosition(::std::function<bool(::BlockPos const&)> const& callback) const;
49
50 MCAPI ::std::vector<::CompoundBlockVolumeItem> getAbsoluteVolumeList() const;
51
52 MCAPI bool isInside(::BlockPos const& pos) const;
53
54 MCAPI ::CompoundBlockVolume& operator=(::CompoundBlockVolume const& other);
55
56 MCAPI bool operator==(::CompoundBlockVolume const& other) const;
57
58 MCAPI ::std::optional<::CompoundBlockVolumeItem>
59 peekLastVolume(::std::optional<::CompoundBlockVolumePositionRelativity> optRelativity) const;
60 // NOLINTEND
61
62public:
63 // static functions
64 // NOLINTBEGIN
65 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73
74public:
75 // vftables
76 // NOLINTBEGIN
77 MCAPI static void** $vftable();
78 // NOLINTEND
79};
Definition EnableNonOwnerReferences.h:7
Definition BlockPos.h:18
Definition BoundingBox.h:18
Definition CompoundBlockVolumeItem.h:14
Definition CompoundBlockVolumeIterator.h:13
Definition CompoundBlockVolume.h:18
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14