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 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCFOLD bool $isObstructingChests(::BlockSource& region, ::BlockPos const& pos, ::Block const& thisBlock) const;
54
55 MCAPI bool $canRenderSelectionOverlay(::BlockRenderLayer heldItemRenderLayer) const;
56
57 MCFOLD ::AABB $getCollisionShape(
58 ::Block const&,
60 ::BlockPos const&,
62 ) const;
63
64 MCFOLD bool $addCollisionShapes(
65 ::Block const& block,
66 ::IConstBlockSource const& region,
67 ::BlockPos const& pos,
68 ::AABB const* intersectTestBox,
69 ::std::vector<::AABB>& inoutBoxes,
71 ) const;
72
73 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
74
75
76 // NOLINTEND
77
78public:
79 // vftables
80 // NOLINTBEGIN
81 MCAPI static void** $vftable();
82 // NOLINTEND
83};
Definition AABB.h:18
Definition Actor.h:113
Definition BlockPos.h:17
Definition BlockSource.h:71
Definition Block.h:41
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:25
Definition StructureVoidBlock.h:21
Definition optional_ref.h:10