Skip to content
LeviMC
English
AutoLightDark
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 // virtual functions
21 // NOLINTBEGIN
22 virtual bool isInteractiveBlock() const /*override*/;
23
24 virtual bool isCraftingBlock() const /*override*/;
25
26 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
27 /*override*/;
28
29 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
36 // NOLINTEND
37
38public:
39 // virtual function thunks
40 // NOLINTBEGIN
41 MCNAPI bool $isInteractiveBlock() const;
42
43 MCNAPI bool $isCraftingBlock() const;
44
45 MCNAPI bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
46
47 MCNAPI bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType) const;
48
49
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition Actor.h:116
Definition BlockPlayerInteractEvent.h:18
Definition BlockPos.h:14
Definition Block.h:42
Definition EnchantingTableBlock.h:18
static MCAPI void ** $vftable()
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI bool $canProvideSupport(::Block const &, uchar face, ::BlockSupportType) const
MCAPI bool $checkIsPathable(::Actor &entity, ::BlockPos const &lastPathPos, ::BlockPos const &pathPos) const
MCAPI bool $isCraftingBlock() const
MCAPI bool $isInteractiveBlock() const