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 getCollisionShape(
31 ::Block const& block,
33 ::BlockPos const& pos,
35 ) const /*override*/;
36
37 // vIndex: 138
38 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
39
40 // vIndex: 22
41 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const /*override*/;
42
43 // vIndex: 56
44 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
45 /*override*/;
46
47 // vIndex: 79
48 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
49
50 // vIndex: 147
51 virtual float getYRotationInDegrees(::Block const& block) const /*override*/;
52
53 // vIndex: 149
54 virtual ::ItemInstance _getItemInstance() const /*override*/;
55
56 // vIndex: 0
57 virtual ~HangingSignBlock() /*override*/ = default;
58 // NOLINTEND
59
60public:
61 // member functions
62 // NOLINTBEGIN
63 MCAPI bool _canAttachTo(::BlockSource& region, ::BlockPos attachPos, uchar attachFace, uchar ourFace) const;
64 // NOLINTEND
65
66public:
67 // static functions
68 // NOLINTBEGIN
69 MCAPI static bool isSideAttachedHangingSign(::Block const& block);
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
76
77 MCAPI ::AABB $getCollisionShape(
78 ::Block const& block,
80 ::BlockPos const& pos,
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:18
Definition Actor.h:103
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Block.h:38
Definition GetCollisionShapeInterface.h:13
Definition HangingSignBlock.h:22
Definition IConstBlockSource.h:24
Definition ItemInstance.h:16
Definition SignBlock.h:32
Definition optional_ref.h:10