LeviLamina
Loading...
Searching...
No Matches
HangingSignItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/SignItem.h"
7#include "mc/world/level/block/SignBlock.h"
8
9// auto generated forward declare list
10// clang-format off
11class Actor;
12class Block;
13class BlockPos;
14class ItemStackBase;
15// clang-format on
16
17class HangingSignItem : public ::SignItem {
18public:
19 // prevent constructor by default
20 HangingSignItem();
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ::Block const* getBlockToPlace(uchar const face, ::Actor const& entity, ::BlockPos const pos) const
26 /*override*/;
27
28 virtual bool _calculatePlacePos(::ItemStackBase& entity, ::Actor& face, uchar& pos, ::BlockPos&) const /*override*/;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI HangingSignItem(::std::string const& name, int id, ::SignBlock::SignType type);
35
36 MCAPI ::Block const*
37 _getCeilingHangingSignBlock(::Actor const& entity, uchar const& face, ::BlockPos const& pos) const;
38
39 MCAPI ::Block const*
40 _getWallHangingSignBlock(::Actor const& entity, uchar const& face, ::BlockPos const& pos) const;
41 // NOLINTEND
42
43public:
44 // constructor thunks
45 // NOLINTBEGIN
46 MCAPI void* $ctor(::std::string const& name, int id, ::SignBlock::SignType type);
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI ::Block const* $getBlockToPlace(uchar const face, ::Actor const& entity, ::BlockPos const pos) const;
53
54 MCAPI bool $_calculatePlacePos(::ItemStackBase& entity, ::Actor& face, uchar& pos, ::BlockPos&) const;
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCAPI static void** $vftable();
63 // NOLINTEND
64};
Definition Actor.h:125
Definition BlockPos.h:21
Definition Block.h:69
Definition ItemStackBase.h:52