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;
15namespace BlockEvents { class BlockPlayerInteractEvent; }
16// clang-format on
17
18class EnchantingTableBlock : public ::ActorBlock {
19public:
20 // prevent constructor by default
21 EnchantingTableBlock();
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual bool isInteractiveBlock() const /*override*/;
27
28 virtual bool isCraftingBlock() const /*override*/;
29
30 virtual bool checkIsPathable(::Actor&, ::BlockPos const&, ::BlockPos const&) const /*override*/;
31
32 virtual bool canProvideSupport(::Block const& face, uchar, ::BlockSupportType) const /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI EnchantingTableBlock(::std::string const& nameId, int id);
39
40 MCFOLD void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor(::std::string const& nameId, int id);
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCFOLD bool $isInteractiveBlock() const;
53
54 MCFOLD bool $isCraftingBlock() const;
55
56 MCFOLD bool $checkIsPathable(::Actor&, ::BlockPos const&, ::BlockPos const&) const;
57
58 MCFOLD bool $canProvideSupport(::Block const& face, uchar, ::BlockSupportType) const;
59
60
61 // NOLINTEND
62
63public:
64 // vftables
65 // NOLINTBEGIN
66 MCAPI static void** $vftable();
67 // NOLINTEND
68};
Definition Actor.h:125
Definition BlockPlayerInteractEvent.h:20
Definition BlockPos.h:21
Definition Block.h:69