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: 119
28 virtual ::Block const& getRenderBlock() const /*override*/;
29
30 // vIndex: 120
31 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
32
33 // vIndex: 121
34 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
35
36 // vIndex: 91
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: 130
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 MCNAPI void use(::BlockEvents::BlockPlayerInteractEvent& eventData) const;
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCNAPI static bool canAttach(::JigsawBlockInfo const& block1, ::JigsawBlockInfo const& block2);
58 // NOLINTEND
59
60public:
61 // virtual function thunks
62 // NOLINTBEGIN
63 MCNAPI bool $isInteractiveBlock() const;
64
65 MCNAPI ::Block const& $getRenderBlock() const;
66
67 MCNAPI uchar $getMappedFace(uchar face, ::Block const& block) const;
68
69 MCNAPI ::Flip $getFaceFlip(uchar face, ::Block const& block) const;
70
71 MCNAPI ::Block const& $getPlacementBlock(
72 ::Actor const& by,
73 ::BlockPos const& pos,
74 uchar face,
75 ::Vec3 const& clickPos,
76 int itemValue
77 ) const;
78
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition Actor.h:103
Definition BlockPlayerInteractEvent.h:17
Definition BlockPos.h:18
Definition Block.h:38
Definition Experiments.h:14
Definition FaceDirectionalActorBlock.h:18
Definition JigsawBlockInfo.h:12
Definition JigsawBlock.h:20
MCAPI void use(::BlockEvents::BlockPlayerInteractEvent &eventData) const
MCAPI::Block const & $getPlacementBlock(::Actor const &by, ::BlockPos const &pos, uchar face, ::Vec3 const &clickPos, int itemValue) const
static MCAPI bool canAttach(::JigsawBlockInfo const &block1, ::JigsawBlockInfo const &block2)
MCAPI bool $isInteractiveBlock() const
MCAPI::Block const & $getRenderBlock() const
MCAPI uchar $getMappedFace(uchar face, ::Block const &block) const
MCAPI::Flip $getFaceFlip(uchar face, ::Block const &block) const
MCAPI void $_addHardCodedBlockComponents(::Experiments const &)
static MCAPI void ** $vftable()
Definition Vec3.h:10