LeviLamina
Loading...
Searching...
No Matches
GrindstoneBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/BlockLegacy.h"
7#include "mc/world/level/block/BlockSupportType.h"
8
9// auto generated forward declare list
10// clang-format off
11class AABB;
12class Actor;
13class Block;
14class BlockPos;
15class BlockSource;
16class Experiments;
17class Player;
18class Vec3;
19namespace BlockEvents { class BlockQueuedTickEvent; }
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 139
27 virtual bool use(::Player&, ::BlockPos const&, uchar) const /*override*/;
28
29 // vIndex: 11
30 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
31
32 // vIndex: 92
33 virtual ::Block const&
34 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
35 /*override*/;
36
37 // vIndex: 142
38 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
39
40 // vIndex: 87
41 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
42 /*override*/;
43
44 // vIndex: 138
45 virtual bool isInteractiveBlock() const /*override*/;
46
47 // vIndex: 23
48 virtual bool canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const /*override*/;
49
50 // vIndex: 131
51 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
52
53 // vIndex: 0
54 virtual ~GrindstoneBlock() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI ::Block const& _determineAttachment(::Actor const& by, ::BlockPos const& face, uchar pos) const;
61
62 MCFOLD void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
63 // NOLINTEND
64
65public:
66 // destructor thunk
67 // NOLINTBEGIN
68
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCFOLD bool $use(::Player&, ::BlockPos const&, uchar) const;
75
76 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
77
78 MCAPI ::Block const&
79 $getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue)
80 const;
81
82 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
83
84 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
85
86 MCFOLD bool $isInteractiveBlock() const;
87
88 MCAPI bool $canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const;
89
90 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCAPI static void** $vftable();
97 // NOLINTEND
98};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockQueuedTickEvent.h:15
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition Experiments.h:14
Definition GrindstoneBlock.h:22
Definition Player.h:119
Definition Vec3.h:10