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 // prevent constructor by default
24 StructureVoidBlock();
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual bool isObstructingChests(::BlockSource&, ::BlockPos const&, ::Block const&) const /*override*/;
30
31 virtual bool canRenderSelectionOverlay(::BlockRenderLayer heldItemRenderLayer) const /*override*/;
32
33 virtual ::AABB getCollisionShape(
34 ::Block const&,
36 ::BlockPos const&,
38 ) const /*override*/;
39
40 virtual bool addCollisionShapes(
41 ::Block const& block,
42 ::IConstBlockSource const& region,
43 ::BlockPos const& pos,
44 ::AABB const* intersectTestBox,
45 ::std::vector<::AABB>& inoutBoxes,
47 ) const /*override*/;
48
49 virtual bool checkIsPathable(::Actor&, ::BlockPos const&, ::BlockPos const&) const /*override*/;
50 // NOLINTEND
51
52public:
53 // member functions
54 // NOLINTBEGIN
55 MCAPI StructureVoidBlock(::std::string const& nameId, int id);
56 // NOLINTEND
57
58public:
59 // constructor thunks
60 // NOLINTBEGIN
61 MCAPI void* $ctor(::std::string const& nameId, int id);
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCFOLD bool $isObstructingChests(::BlockSource&, ::BlockPos const&, ::Block const&) const;
68
69 MCAPI bool $canRenderSelectionOverlay(::BlockRenderLayer heldItemRenderLayer) const;
70
71 MCFOLD ::AABB $getCollisionShape(
72 ::Block const&,
74 ::BlockPos const&,
76 ) const;
77
78 MCFOLD bool $addCollisionShapes(
79 ::Block const& block,
80 ::IConstBlockSource const& region,
81 ::BlockPos const& pos,
82 ::AABB const* intersectTestBox,
83 ::std::vector<::AABB>& inoutBoxes,
85 ) const;
86
87 MCFOLD bool $checkIsPathable(::Actor&, ::BlockPos const&, ::BlockPos const&) const;
88
89
90 // NOLINTEND
91
92public:
93 // vftables
94 // NOLINTBEGIN
95 MCAPI static void** $vftable();
96 // NOLINTEND
97};
Definition AABB.h:18
Definition Actor.h:125
Definition BlockPos.h:21
Definition BlockSource.h:73
Definition Block.h:69
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition optional_ref.h:10