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 Experiments;
16class Vec3;
17struct Brightness;
18namespace BlockEvents { class BlockPlayerInteractEvent; }
19// clang-format on
20
21class VaultBlock : public ::ActorBlock {
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ::Brightness getLightEmission(::Block const& block) const /*override*/;
26
27 virtual bool isInteractiveBlock() const /*override*/;
28
29 virtual ::Block const&
30 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
31 /*override*/;
32
33 virtual int getVariant(::Block const& block) const /*override*/;
34
35 virtual ::Block const& getRenderBlock() const /*override*/;
36
37 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
38
39 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
40
41 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
42
43 virtual ~VaultBlock() /*override*/ = default;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI ::Brightness $getLightEmission(::Block const& block) const;
56
57 MCFOLD bool $isInteractiveBlock() const;
58
59 MCAPI ::Block const& $getPlacementBlock(
60 ::Actor const& by,
61 ::BlockPos const& pos,
62 uchar face,
63 ::Vec3 const& clickPos,
64 int itemValue
65 ) const;
66
67 MCAPI int $getVariant(::Block const& block) const;
68
69 MCFOLD ::Block const& $getRenderBlock() const;
70
71 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
72
73 MCAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
74
75 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
76
77
78 // NOLINTEND
79
80public:
81 // vftables
82 // NOLINTBEGIN
83 MCNAPI static void** $vftable();
84 // NOLINTEND
85};
Definition Actor.h:105
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:19
Definition Block.h:43
Definition Experiments.h:14
Definition VaultBlock.h:21
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition Brightness.h:8