LeviLamina
Loading...
Searching...
No Matches
HangingSignBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/optional_ref.h"
7#include "mc/world/level/block/BlockSupportType.h"
8#include "mc/world/level/block/SignBlock.h"
9
10// auto generated forward declare list
11// clang-format off
12class AABB;
13class Actor;
14class Block;
15class BlockPos;
16class BlockSource;
19class ItemInstance;
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 11
27 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
28
29 // vIndex: 5
30 virtual ::AABB
31 getCollisionShape(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::optional_ref<::GetCollisionShapeInterface const>)
32 const /*override*/;
33
34 // vIndex: 142
35 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
36
37 // vIndex: 23
38 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const /*override*/;
39
40 // vIndex: 57
41 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
42 /*override*/;
43
44 // vIndex: 80
45 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
46
47 // vIndex: 150
48 virtual float getYRotationInDegrees(::Block const& block) const /*override*/;
49
50 // vIndex: 152
51 virtual ::ItemInstance _getItemInstance() const /*override*/;
52
53 // vIndex: 0
54 virtual ~HangingSignBlock() /*override*/ = default;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI bool _canAttachTo(::BlockSource& region, ::BlockPos attachPos, uchar attachFace, uchar ourFace) const;
61 // NOLINTEND
62
63public:
64 // static functions
65 // NOLINTBEGIN
66 MCAPI static bool isSideAttachedHangingSign(::Block const& block);
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
79
80 MCAPI ::AABB
81 $getCollisionShape(::Block const& block, ::IConstBlockSource const&, ::BlockPos const& pos, ::optional_ref<::GetCollisionShapeInterface const>)
82 const;
83
84 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
85
86 MCAPI bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const;
87
88 MCAPI bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
89
90 MCAPI bool $mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const;
91
92 MCAPI float $getYRotationInDegrees(::Block const& block) const;
93
94 MCAPI ::ItemInstance $_getItemInstance() const;
95 // NOLINTEND
96
97public:
98 // vftables
99 // NOLINTBEGIN
100 MCAPI static void** $vftable();
101 // NOLINTEND
102};
Definition AABB.h:16
Definition Actor.h:104
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:36
Definition GetCollisionShapeInterface.h:13
Definition HangingSignBlock.h:22
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition SignBlock.h:31
Definition optional_ref.h:10