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