LeviLamina
Loading...
Searching...
No Matches
SignItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Item.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;
15class ItemStack;
16class ItemStackBase;
17class Vec3;
18// clang-format on
19
20class SignItem : public ::Item {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<
25 8,
26 16,
27 ::std::map<::SignBlock::SignType, ::std::tuple<::Block const*, ::Block const*, ::Block const*>>>
28 mConvertMap;
29 ::ll::TypedStorage<4, 4, ::SignBlock::SignType> mType;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 SignItem();
35
36public:
37 // virtual functions
38 // NOLINTBEGIN
39 // vIndex: 123
40 virtual ::Block const* getBlockToPlace(uchar const face, ::Actor const& entity, ::BlockPos const pos) const;
41
42 // vIndex: 120
43 virtual bool _calculatePlacePos(::ItemStackBase&, ::Actor& entity, uchar& face, ::BlockPos& pos) const /*override*/;
44
45 // vIndex: 122
46 virtual ::InteractionResult
47 _useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const
48 /*override*/;
49
50 // vIndex: 0
51 virtual ~SignItem() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI SignItem(::std::string const& name, int id, ::SignBlock::SignType type);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::std::string const& name, int id, ::SignBlock::SignType type);
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCAPI void $dtor();
70 // NOLINTEND
71
72public:
73 // virtual function thunks
74 // NOLINTBEGIN
75 MCAPI ::Block const* $getBlockToPlace(uchar const face, ::Actor const& entity, ::BlockPos const pos) const;
76
77 MCFOLD bool $_calculatePlacePos(::ItemStackBase&, ::Actor& entity, uchar& face, ::BlockPos& pos) const;
78
79 MCAPI ::InteractionResult
80 $_useOn(::ItemStack& instance, ::Actor& entity, ::BlockPos pos, uchar face, ::Vec3 const& clickPos) const;
81 // NOLINTEND
82
83public:
84 // vftables
85 // NOLINTBEGIN
86 MCNAPI static void** $vftable();
87 // NOLINTEND
88};
Definition Actor.h:102
Definition BlockPos.h:17
Definition Block.h:37
Definition InteractionResult.h:5
Definition ItemStackBase.h:34
Definition ItemStack.h:23
Definition Item.h:66
Definition SignItem.h:20
static MCAPI void ** $vftable()
Definition Vec3.h:10