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 // vIndex: 126
26 virtual ::Brightness getLightEmission(::Block const& block) const /*override*/;
27
28 // vIndex: 136
29 virtual bool isInteractiveBlock() const /*override*/;
30
31 // vIndex: 92
32 virtual ::Block const&
33 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
34 /*override*/;
35
36 // vIndex: 118
37 virtual int getVariant(::Block const& block) const /*override*/;
38
39 // vIndex: 120
40 virtual ::Block const& getRenderBlock() const /*override*/;
41
42 // vIndex: 121
43 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
44
45 // vIndex: 122
46 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
47
48 // vIndex: 131
49 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
50
51 // vIndex: 0
52 virtual ~VaultBlock() /*override*/ = default;
53 // NOLINTEND
54
55public:
56 // member functions
57 // NOLINTBEGIN
58 MCAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI ::Brightness $getLightEmission(::Block const& block) const;
65
66 MCFOLD bool $isInteractiveBlock() const;
67
68 MCAPI ::Block const& $getPlacementBlock(
69 ::Actor const& by,
70 ::BlockPos const& pos,
71 uchar face,
72 ::Vec3 const& clickPos,
73 int itemValue
74 ) const;
75
76 MCAPI int $getVariant(::Block const& block) const;
77
78 MCFOLD ::Block const& $getRenderBlock() const;
79
80 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
81
82 MCAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
83
84 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ActorBlockBase.h:6
Definition Actor.h:102
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:17
Definition Block.h:37
Definition Experiments.h:14
Definition VaultBlock.h:21
static MCAPI void ** $vftable()
Definition Vec3.h:10
Definition Brightness.h:8