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 virtual ::AABB const& getVisualShape(::Block const& block, ::AABB& bufferAABB) const /*override*/;
27
28 virtual ::AABB getCollisionShape(
29 ::Block const& block,
31 ::BlockPos const& pos,
33 ) const /*override*/;
34
35 virtual bool canSurvive(::BlockSource& region, ::BlockPos const& pos) const /*override*/;
36
37 virtual bool canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const /*override*/;
38
39 virtual bool checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const
40 /*override*/;
41
42 virtual bool mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const /*override*/;
43
44 virtual float getYRotationInDegrees(::Block const& block) const /*override*/;
45
46 virtual ::ItemInstance _getItemInstance() const /*override*/;
47
48 virtual ~HangingSignBlock() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // member functions
53 // NOLINTBEGIN
54 MCAPI bool _canAttachTo(::BlockSource& region, ::BlockPos attachPos, uchar attachFace, uchar ourFace) const;
55 // NOLINTEND
56
57public:
58 // virtual function thunks
59 // NOLINTBEGIN
60 MCAPI ::AABB const& $getVisualShape(::Block const& block, ::AABB& bufferAABB) const;
61
62 MCAPI ::AABB $getCollisionShape(
63 ::Block const& block,
65 ::BlockPos const& pos,
67 ) const;
68
69 MCAPI bool $canSurvive(::BlockSource& region, ::BlockPos const& pos) const;
70
71 MCFOLD bool $canProvideSupport(::Block const&, uchar face, ::BlockSupportType type) const;
72
73 MCAPI bool $checkIsPathable(::Actor& entity, ::BlockPos const& lastPathPos, ::BlockPos const& pathPos) const;
74
75 MCAPI bool $mayPlace(::BlockSource& region, ::BlockPos const& pos, uchar face) const;
76
77 MCAPI float $getYRotationInDegrees(::Block const& block) const;
78
79 MCAPI ::ItemInstance $_getItemInstance() const;
80
81
82 // NOLINTEND
83
84public:
85 // vftables
86 // NOLINTBEGIN
87 MCAPI static void** $vftable();
88 // NOLINTEND
89};
Definition AABB.h:18
Definition Actor.h:105
Definition BlockPos.h:19
Definition BlockSource.h:68
static MCAPI void ** $vftable()
Definition Block.h:43
Definition GetCollisionShapeInterface.h:13
Definition HangingSignBlock.h:22
Definition IConstBlockSource.h:25
Definition ItemInstance.h:15
Definition SignBlock.h:32
Definition optional_ref.h:10