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/BlockLegacy.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: 125
26 virtual ::Brightness getLightEmission(::Block const& block) const /*override*/;
27
28 // vIndex: 136
29 virtual bool isInteractiveBlock() const /*override*/;
30
31 // vIndex: 91
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: 117
37 virtual int getVariant(::Block const& block) const /*override*/;
38
39 // vIndex: 119
40 virtual ::Block const& getRenderBlock() const /*override*/;
41
42 // vIndex: 120
43 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
44
45 // vIndex: 121
46 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
47
48 // vIndex: 130
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 MCNAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCNAPI ::Brightness $getLightEmission(::Block const& block) const;
65
66 MCNAPI bool $isInteractiveBlock() const;
67
68 MCNAPI ::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 MCNAPI int $getVariant(::Block const& block) const;
77
78 MCNAPI ::Block const& $getRenderBlock() const;
79
80 MCNAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
81
82 MCNAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
83
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition ActorBlockBase.h:6
Definition Actor.h:103
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:18
Definition Block.h:38
Definition Experiments.h:14
Definition VaultBlock.h:21
static MCAPI void ** $vftable()
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI::Brightness $getLightEmission(::Block const &block) const
MCAPI int $getVariant(::Block const &block) const
MCAPI bool $isInteractiveBlock() const
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
MCAPI::Flip $getFaceFlip(uchar face, ::Block const &block) const
MCAPI void $_addHardCodedBlockComponents(::Experiments const &)
MCAPI uchar $getMappedFace(uchar face, ::Block const &block) const
MCAPI::Block const & $getRenderBlock() const
Definition Vec3.h:10
Definition Brightness.h:8