LeviLamina
Loading...
Searching...
No Matches
VaultBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/Flip.h"
7#include "mc/world/level/block/ActorBlockBase.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 Vec3;
16struct Brightness;
17namespace BlockEvents { class BlockPlayerInteractEvent; }
18// clang-format on
19
20class VaultBlock : public ::ActorBlock {
21public:
22 // prevent constructor by default
23 VaultBlock();
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ::Brightness getLightEmission(::Block const& block) const /*override*/;
29
30 virtual bool isInteractiveBlock() const /*override*/;
31
32 virtual ::Block const&
33 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
34 /*override*/;
35
36 virtual int getVariant(::Block const& block) const /*override*/;
37
38 virtual ::Block const& getRenderBlock() const /*override*/;
39
40 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
41
42 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI VaultBlock(::std::string const& nameId, int id);
49
50 MCAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
51 // NOLINTEND
52
53public:
54 // constructor thunks
55 // NOLINTBEGIN
56 MCAPI void* $ctor(::std::string const& nameId, int id);
57 // NOLINTEND
58
59public:
60 // virtual function thunks
61 // NOLINTBEGIN
62 MCAPI ::Brightness $getLightEmission(::Block const& block) const;
63
64 MCFOLD bool $isInteractiveBlock() const;
65
66 MCAPI ::Block const& $getPlacementBlock(
67 ::Actor const& by,
68 ::BlockPos const& pos,
69 uchar face,
70 ::Vec3 const& clickPos,
71 int itemValue
72 ) const;
73
74 MCAPI int $getVariant(::Block const& block) const;
75
76 MCAPI ::Block const& $getRenderBlock() const;
77
78 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
79
80 MCAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
81
82
83 // NOLINTEND
84
85public:
86 // vftables
87 // NOLINTBEGIN
88 MCAPI static void** $vftable();
89 // NOLINTEND
90};
Definition Actor.h:125
Definition BlockPlayerInteractEvent.h:20
Definition BlockPos.h:21
Definition Block.h:69
Definition Vec3.h:10
Definition Brightness.h:8