LeviLamina
Loading...
Searching...
No Matches
StructureVoidBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/level/block/BlockRenderLayer.h"
8#include "mc/world/level/block/BlockType.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockPos;
16class BlockSource;
19// clang-format on
20
21class StructureVoidBlock : public ::BlockType {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual bool isObstructingChests(::BlockSource& region, ::BlockPos const& pos, ::Block const& thisBlock) const
26 /*override*/;
27
28 virtual bool canRenderSelectionOverlay(::BlockRenderLayer heldItemRenderLayer) const /*override*/;
29
30 virtual ::AABB getCollisionShape(
31 ::Block const&,
33 ::BlockPos const&,
35 ) const /*override*/;
36
37 virtual bool addCollisionShapes(
38 ::Block const& block,
39 ::IConstBlockSource const& region,
40 ::BlockPos const& pos,
41 ::AABB const* intersectTestBox,
42 ::std::vector<::AABB>& inoutBoxes,
44 ) const /*override*/;
45
46 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
47 /*override*/;
48
49 virtual ~StructureVoidBlock() /*override*/ = default;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCFOLD bool $isObstructingChests(::BlockSource& region, ::BlockPos const& pos, ::Block const& thisBlock) const;
56
57 MCAPI bool $canRenderSelectionOverlay(::BlockRenderLayer heldItemRenderLayer) const;
58
59 MCFOLD ::AABB $getCollisionShape(
60 ::Block const&,
62 ::BlockPos const&,
64 ) const;
65
66 MCFOLD bool $addCollisionShapes(
67 ::Block const& block,
68 ::IConstBlockSource const& region,
69 ::BlockPos const& pos,
70 ::AABB const* intersectTestBox,
71 ::std::vector<::AABB>& inoutBoxes,
73 ) const;
74
75 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition AABB.h:18
Definition Actor.h:105
Definition BlockPos.h:19
Definition BlockSource.h:68
Definition Block.h:43
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition StructureVoidBlock.h:21
static MCAPI void ** $vftable()
Definition optional_ref.h:10