LeviLamina
Loading...
Searching...
No Matches
ChalkboardBlock.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/ActorBlockBase.h"
8#include "mc/world/level/block/actor/ChalkboardSize.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockActor;
16class BlockLegacy;
17class BlockPos;
18class BlockSource;
21class ItemInstance;
22class Player;
23// clang-format on
24
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 // vIndex: 10
30 virtual ::AABB const& getVisualShapeInWorld(
31 ::Block const& block,
32 ::IConstBlockSource const& region,
33 ::BlockPos const& pos,
34 ::AABB& bufferAABB
35 ) const /*override*/;
36
37 // vIndex: 9
38 virtual ::AABB const&
39 getOutline(::Block const& block, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue)
40 const /*override*/;
41
42 // vIndex: 5
43 virtual ::AABB
45 const /*override*/;
46
47 // vIndex: 57
48 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
49 /*override*/;
50
51 // vIndex: 90
52 virtual ::ItemInstance asItemInstance(::Block const&, ::BlockActor const* blockActor) const /*override*/;
53
54 // vIndex: 87
55 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
56 /*override*/;
57
58 // vIndex: 139
59 virtual bool use(::Player& player, ::BlockPos const& pos, uchar) const /*override*/;
60
61 // vIndex: 138
62 virtual bool isInteractiveBlock() const /*override*/;
63
64 // vIndex: 118
65 virtual int getVariant(::Block const& block) const /*override*/;
66
67 // vIndex: 86
68 virtual bool getIgnoresDestroyPermissions(::Actor& entity, ::BlockPos const& pos) const /*override*/;
69
70 // vIndex: 0
71 virtual ~ChalkboardBlock() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static void _getShape(::ChalkboardSize size, bool isOnGround, int dir, ::AABB& bufferValue);
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83
84 // NOLINTEND
85
86public:
87 // virtual function thunks
88 // NOLINTBEGIN
89 MCAPI ::AABB const& $getVisualShapeInWorld(
90 ::Block const& block,
91 ::IConstBlockSource const& region,
92 ::BlockPos const& pos,
93 ::AABB& bufferAABB
94 ) const;
95
96 MCAPI ::AABB const&
97 $getOutline(::Block const& block, ::IConstBlockSource const& region, ::BlockPos const& pos, ::AABB& bufferValue)
98 const;
99
100 MCFOLD ::AABB
102 const;
103
104 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
105
106 MCAPI ::ItemInstance $asItemInstance(::Block const&, ::BlockActor const* blockActor) const;
107
108 MCAPI void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
109
110 MCAPI bool $use(::Player& player, ::BlockPos const& pos, uchar) const;
111
112 MCFOLD bool $isInteractiveBlock() const;
113
114 MCFOLD int $getVariant(::Block const& block) const;
115
116 MCAPI bool $getIgnoresDestroyPermissions(::Actor& entity, ::BlockPos const& pos) const;
117 // NOLINTEND
118
119public:
120 // vftables
121 // NOLINTBEGIN
122 MCAPI static void** $vftable();
123 // NOLINTEND
124};
Definition AABB.h:16
Definition ActorBlockBase.h:6
Definition Actor.h:104
Definition BlockActor.h:32
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition ChalkboardBlock.h:25
Definition GetCollisionShapeInterface.h:13
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition Player.h:119
Definition optional_ref.h:10