LeviLamina
Loading...
Searching...
No Matches
ItemInstance.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/ItemStackBase.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class BlockLegacy;
12class CompoundTag;
13class Item;
14// clang-format on
15
17public:
18 // virtual functions
19 // NOLINTBEGIN
20 // vIndex: 2
21 virtual void reinit(::BlockLegacy const& block, int count) /*override*/;
22
23 // vIndex: 3
24 virtual void reinit(::Item const& item, int count, int auxValue) /*override*/;
25
26 // vIndex: 1
27 virtual void reinit(::std::string_view const name, int count, int auxValue) /*override*/;
28
29 // vIndex: 0
30 virtual ~ItemInstance() /*override*/;
31 // NOLINTEND
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI ItemInstance();
37
38 MCAPI explicit ItemInstance(::ItemStackBase const& rhs);
39
40 MCAPI ItemInstance(::ItemInstance const& rhs);
41
42 MCAPI ItemInstance(::BlockLegacy const& block, int count = 1);
43
44 MCAPI ItemInstance(::Block const& block, int count = 1, ::CompoundTag const* _userData = nullptr);
45
46 MCAPI ItemInstance(::Item const& item, int count = 1, int auxValue = 0, ::CompoundTag const* _userData = nullptr);
47
48 MCAPI
49 ItemInstance(::std::string_view name, int count = 1, int auxValue = 0, ::CompoundTag const* _userData = nullptr);
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCAPI static ::ItemInstance fromTag(::CompoundTag const& tag);
56 // NOLINTEND
57
58public:
59 // static variables
60 // NOLINTBEGIN
61 MCAPI static ::ItemInstance const& EMPTY_ITEM();
62 // NOLINTEND
63
64public:
65 // constructor thunks
66 // NOLINTBEGIN
67 MCAPI void* $ctor();
68
69 MCFOLD void* $ctor(::ItemStackBase const& rhs);
70
71 MCAPI void* $ctor(::ItemInstance const& rhs);
72
73 MCAPI void* $ctor(::BlockLegacy const& block, int count);
74
75 MCAPI void* $ctor(::Block const& block, int count, ::CompoundTag const* _userData);
76
77 MCAPI void* $ctor(::Item const& item, int count, int auxValue, ::CompoundTag const* _userData);
78
79 MCAPI void* $ctor(::std::string_view name, int count, int auxValue, ::CompoundTag const* _userData);
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85 MCFOLD void $dtor();
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCAPI void $reinit(::BlockLegacy const& block, int count);
92
93 MCAPI void $reinit(::Item const& item, int count, int auxValue);
94
95 MCAPI void $reinit(::std::string_view const name, int count, int auxValue);
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCAPI static void** $vftable();
102 // NOLINTEND
103};
Definition BlockLegacy.h:88
Definition Block.h:36
Definition CompoundTag.h:13
Definition ItemInstance.h:16
Definition ItemStackBase.h:35
Definition Item.h:65