LeviLamina
Loading...
Searching...
No Matches
EnchantingTableBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/ActorBlockBase.h"
7#include "mc/world/level/block/BlockSupportType.h"
8#include "mc/world/level/block/BlockType.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class Block;
14class BlockPos;
15class Experiments;
16namespace BlockEvents { class BlockPlayerInteractEvent; }
17// clang-format on
18
19class EnchantingTableBlock : public ::ActorBlock {
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual bool isInteractiveBlock() const /*override*/;
24
25 virtual bool isCraftingBlock() const /*override*/;
26
27 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
28 /*override*/;
29
30 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
31
32 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
33
34 virtual ~EnchantingTableBlock() /*override*/ = default;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCFOLD void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCFOLD bool $isInteractiveBlock() const;
47
48 MCFOLD bool $isCraftingBlock() const;
49
50 MCFOLD bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
51
52 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
53
54 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition Actor.h:105
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:19
Definition Block.h:43
Definition EnchantingTableBlock.h:19
static MCAPI void ** $vftable()
Definition Experiments.h:14