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/BlockSupportType.h"
7#include "mc/world/level/block/BlockType.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 Vec3;
18namespace BlockEvents { class BlockPlayerInteractEvent; }
19namespace BlockEvents { class BlockQueuedTickEvent; }
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 11
27 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
28
29 // vIndex: 92
30 virtual ::Block const&
31 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
32 /*override*/;
33
34 // vIndex: 138
35 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
36
37 // vIndex: 87
38 virtual void neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const
39 /*override*/;
40
41 // vIndex: 136
42 virtual bool isInteractiveBlock() const /*override*/;
43
44 // vIndex: 22
45 virtual bool canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const /*override*/;
46
47 // vIndex: 131
48 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
49
50 // vIndex: 0
51 virtual ~GrindstoneBlock() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCFOLD void tick(::BlockEvents::BlockQueuedTickEvent& eventData) const;
58
59 MCFOLD void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
60 // NOLINTEND
61
62public:
63 // virtual function thunks
64 // NOLINTBEGIN
65 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
66
67 MCAPI ::Block const& $getPlacementBlock(
68 ::Actor const& by,
69 ::BlockPos const& pos,
70 uchar face,
71 ::Vec3 const& clickPos,
72 int itemValue
73 ) const;
74
75 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
76
77 MCFOLD void $neighborChanged(::BlockSource& region, ::BlockPos const& pos, ::BlockPos const& neighborPos) const;
78
79 MCFOLD bool $isInteractiveBlock() const;
80
81 MCAPI bool $canProvideSupport(::Block const& block, uchar face, ::BlockSupportType type) const;
82
83 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
84 // NOLINTEND
85
86public:
87 // vftables
88 // NOLINTBEGIN
89 MCNAPI static void** $vftable();
90 // NOLINTEND
91};
Definition AABB.h:18
Definition Actor.h:102
Definition BlockPlayerInteractEvent.h:17
Definition BlockQueuedTickEvent.h:16
Definition BlockPos.h:17
Definition BlockSource.h:66
Definition BlockType.h:84
Definition Block.h:37
Definition Experiments.h:14
Definition GrindstoneBlock.h:22
static MCAPI void ** $vftable()
Definition Vec3.h:10