LeviLamina
Loading...
Searching...
No Matches
FaceDirectionalBlock.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/BlockLegacy.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class Vec3;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mHorizontalOnly;
22 ::ll::TypedStorage<4, 4, float> mYRotOffset;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 // vIndex: 119
29 virtual ::Block const& getRenderBlock() const /*override*/;
30
31 // vIndex: 120
32 virtual uchar getMappedFace(uchar face, ::Block const& block) const /*override*/;
33
34 // vIndex: 121
35 virtual ::Flip getFaceFlip(uchar face, ::Block const& block) const /*override*/;
36
37 // vIndex: 91
38 virtual ::Block const&
39 getPlacementBlock(::Actor const& by, ::BlockPos const& pos, uchar face, ::Vec3 const& clickPos, int itemValue) const
40 /*override*/;
41
42 // vIndex: 47
43 virtual bool isValidAuxValue(int auxValue) const /*override*/;
44
45 // vIndex: 0
46 virtual ~FaceDirectionalBlock() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCFOLD ::Block const& $getRenderBlock() const;
53
54 MCFOLD uchar $getMappedFace(uchar face, ::Block const& block) const;
55
56 MCFOLD ::Block const& $getPlacementBlock(
57 ::Actor const& by,
58 ::BlockPos const& pos,
59 uchar face,
60 ::Vec3 const& clickPos,
61 int itemValue
62 ) const;
63
64 MCAPI bool $isValidAuxValue(int auxValue) const;
65 // NOLINTEND
66};
Definition Actor.h:103
Definition BlockLegacy.h:88
Definition BlockPos.h:18
Definition Block.h:38
Definition FaceDirectionalBlock.h:17
Definition Vec3.h:10