LeviLamina
Loading...
Searching...
No Matches
JigsawBlock.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/FaceDirectionalActorBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class Experiments;
15class JigsawBlockInfo;
16class Vec3;
17namespace BlockEvents { class BlockPlayerInteractEvent; }
18// clang-format on
19
21public:
22 // virtual functions
23 // NOLINTBEGIN
24 // vIndex: 136
25 virtual bool isInteractiveBlock() const /*override*/;
26
27 // vIndex: 120
28 virtual ::Block const& getRenderBlock() const /*override*/;
29
30 // vIndex: 121
31 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
32
33 // vIndex: 122
34 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
35
36 // vIndex: 92
37 virtual ::Block const&
38 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
39 /*override*/;
40
41 // vIndex: 131
42 virtual void _addHardCodedBlockComponents(::Experiments const&) /*override*/;
43
44 // vIndex: 0
45 virtual ~JigsawBlock() /*override*/ = default;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCFOLD void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static bool canAttach(::JigsawBlockInfo const& block1, ::JigsawBlockInfo const& block2);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCFOLD bool $isInteractiveBlock() const;
64
65 MCAPI ::Block const& $getRenderBlock() const;
66
67 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
68
69 MCAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
70
71 MCAPI ::Block const& $getPlacementBlock(
72 ::Actor const& by,
73 ::BlockPos const& pos,
74 uchar face,
75 ::Vec3 const& clickPos,
76 int itemValue
77 ) const;
78
79 MCAPI void $_addHardCodedBlockComponents(::Experiments const&);
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition Actor.h:102
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:17
Definition Block.h:37
Definition Experiments.h:14
Definition FaceDirectionalActorBlock.h:18
Definition JigsawBlockInfo.h:14
Definition JigsawBlock.h:20
static MCAPI void ** $vftable()
Definition Vec3.h:10