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
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockLegacy;
14class BlockPos;
15class Player;
16class Vec3;
17struct Brightness;
18// clang-format on
19
20class VaultBlock : public ::ActorBlock {
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 139
25 virtual bool use(::Player& player, ::BlockPos const& pos, uchar) const /*override*/;
26
27 // vIndex: 126
28 virtual ::Brightness getLightEmission(::Block const& block) const /*override*/;
29
30 // vIndex: 138
31 virtual bool isInteractiveBlock() const /*override*/;
32
33 // vIndex: 92
34 virtual ::Block const&
35 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
36 /*override*/;
37
38 // vIndex: 118
39 virtual int getVariant(::Block const& block) const /*override*/;
40
41 // vIndex: 120
42 virtual ::Block const& getRenderBlock() const /*override*/;
43
44 // vIndex: 121
45 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
46
47 // vIndex: 122
48 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
49
50 // vIndex: 0
51 virtual ~VaultBlock() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // destructor thunk
56 // NOLINTBEGIN
57
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCAPI bool $use(::Player& player, ::BlockPos const& pos, uchar) const;
64
65 MCAPI ::Brightness $getLightEmission(::Block const& block) const;
66
67 MCFOLD bool $isInteractiveBlock() const;
68
69 MCAPI ::Block const&
70 $getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue)
71 const;
72
73 MCAPI int $getVariant(::Block const& block) const;
74
75 MCFOLD ::Block const& $getRenderBlock() const;
76
77 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
78
79 MCAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCAPI static void** $vftable();
86 // NOLINTEND
87};
Definition ActorBlockBase.h:6
Definition Actor.h:104
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition Block.h:36
Definition Player.h:119
Definition VaultBlock.h:20
Definition Vec3.h:10
Definition Brightness.h:8