LeviLamina
Loading...
Searching...
No Matches
EndPortalFrameBlock.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/BlockSupportType.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Block;
14class BlockPos;
15class BlockSource;
16class Experiments;
19namespace BlockEvents { class BlockPlayerInteractEvent; }
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 8
27 virtual void addAABBs(
28 ::Block const& block,
29 ::IConstBlockSource const& region,
30 ::BlockPos const& pos,
31 ::AABB const* intersectTestBox,
32 ::std::vector<::AABB>& inoutBoxes
33 ) const /*override*/;
34
35 // vIndex: 7
36 virtual bool addCollisionShapes(
37 ::Block const& block,
38 ::IConstBlockSource const& region,
39 ::BlockPos const& pos,
40 ::AABB const* intersectTestBox,
41 ::std::vector<::AABB>& inoutBoxes,
43 ) const /*override*/;
44
45 // vIndex: 136
46 virtual bool isInteractiveBlock() const /*override*/;
47
48 // vIndex: 104
49 virtual bool hasComparatorSignal() const /*override*/;
50
51 // vIndex: 105
52 virtual int getComparatorSignal(::BlockSource& region, ::BlockPos const& pos, ::Block const& block, uchar dir) const
53 /*override*/;
54
55 // vIndex: 131
56 virtual void onRemove(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
57
58 // vIndex: 22
59 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
60
61 // vIndex: 130
62 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
63
64 // vIndex: 0
65 virtual ~EndPortalFrameBlock() /*override*/ = default;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
71 MCAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static void createPortal(::BlockSource& region, ::BlockPos const& origin);
78
79 MCAPI static void removePortal(::BlockSource& region, ::BlockPos const& origin);
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI void $addAABBs(
86 ::Block const& block,
87 ::IConstBlockSource const& region,
88 ::BlockPos const& pos,
89 ::AABB const* intersectTestBox,
90 ::std::vector<::AABB>& inoutBoxes
91 ) const;
92
93 MCFOLD bool $addCollisionShapes(
94 ::Block const& block,
95 ::IConstBlockSource const& region,
96 ::BlockPos const& pos,
97 ::AABB const* intersectTestBox,
98 ::std::vector<::AABB>& inoutBoxes,
100 ) const;
101
102 MCFOLD bool $isInteractiveBlock() const;
103
104 MCFOLD bool $hasComparatorSignal() const;
105
106 MCAPI int $getComparatorSignal(::BlockSource& region, ::BlockPos const& pos, ::Block const& block, uchar dir) const;
107
108 MCAPI void $onRemove(::BlockSource& region, ::BlockPos const& pos) const;
109
110 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
111
112 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
113 // NOLINTEND
114
115public:
116 // vftables
117 // NOLINTBEGIN
118 MCNAPI static void** $vftable();
119 // NOLINTEND
120};
Definition AABB.h:18
Definition BlockPlayerInteractEvent.h:17
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition EndPortalFrameBlock.h:22
static MCAPI void ** $vftable()
Definition Experiments.h:14
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition optional_ref.h:10