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 JigsawBlockInfo;
15class Vec3;
16namespace BlockEvents { class BlockPlayerInteractEvent; }
17// clang-format on
18
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual bool isInteractiveBlock() const /*override*/;
24
25 virtual ::Block const& getRenderBlock() const /*override*/;
26
27 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
28
29 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
30
31 virtual ::Block const&
32 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
33 /*override*/;
34 // NOLINTEND
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCFOLD void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static bool canAttach(::JigsawBlockInfo const& block1, ::JigsawBlockInfo const& block2);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCFOLD bool $isInteractiveBlock() const;
52
53 MCAPI ::Block const& $getRenderBlock() const;
54
55 MCAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
56
57 MCAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) 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
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCAPI static void** $vftable();
74 // NOLINTEND
75};
Definition Actor.h:114
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:21
Definition Block.h:41
Definition FaceDirectionalActorBlock.h:18
Definition JigsawBlockInfo.h:14
Definition JigsawBlock.h:19
Definition Vec3.h:10