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/BlockLegacy.h"
8#include "mc/world/level/block/BlockRenderLayer.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
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 14
26 virtual bool isObstructingChests(::BlockSource& region, ::BlockPos const& pos, ::Block const& thisBlock) const
27 /*override*/;
28
29 // vIndex: 71
30 virtual bool canRenderSelectionOverlay(::BlockRenderLayer heldItemRenderLayer) const /*override*/;
31
32 // vIndex: 5
33 virtual ::AABB getCollisionShape(
34 ::Block const&,
36 ::BlockPos const&,
38 ) const /*override*/;
39
40 // vIndex: 7
41 virtual bool addCollisionShapes(
42 ::Block const& block,
43 ::IConstBlockSource const& region,
44 ::BlockPos const& pos,
45 ::AABB const* intersectTestBox,
46 ::std::vector<::AABB>& inoutBoxes,
48 ) const /*override*/;
49
50 // vIndex: 56
51 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
52 /*override*/;
53
54 // vIndex: 0
55 virtual ~StructureVoidBlock() /*override*/ = default;
56 // NOLINTEND
57
58public:
59 // virtual function thunks
60 // NOLINTBEGIN
61 MCFOLD bool $isObstructingChests(::BlockSource& region, ::BlockPos const& pos, ::Block const& thisBlock) const;
62
63 MCAPI bool $canRenderSelectionOverlay(::BlockRenderLayer heldItemRenderLayer) const;
64
65 MCFOLD ::AABB $getCollisionShape(
66 ::Block const&,
68 ::BlockPos const&,
70 ) const;
71
72 MCFOLD bool $addCollisionShapes(
73 ::Block const& block,
74 ::IConstBlockSource const& region,
75 ::BlockPos const& pos,
76 ::AABB const* intersectTestBox,
77 ::std::vector<::AABB>& inoutBoxes,
79 ) const;
80
81 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCNAPI static void** $vftable();
88 // NOLINTEND
89};
Definition AABB.h:18
Definition Actor.h:103
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition StructureVoidBlock.h:21
static MCAPI void ** $vftable()
Definition optional_ref.h:10