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 CompoundTag;
12class Item;
13// clang-format on
14
16public:
17 // virtual functions
18 // NOLINTBEGIN
19 // vIndex: 2
20 virtual void reinit(::Block const& block, int count) /*override*/;
21
22 // vIndex: 3
23 virtual void reinit(::Item const& item, int count, int auxValue) /*override*/;
24
25 // vIndex: 1
26 virtual void reinit(::std::string_view const name, int count, int auxValue) /*override*/;
27
28 // vIndex: 0
29 virtual ~ItemInstance() /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI ItemInstance();
36
37 MCAPI explicit ItemInstance(::ItemStackBase const& rhs);
38
39 MCAPI ItemInstance(::ItemInstance const&);
40
41 MCAPI ItemInstance(::Block const& block, int count = 1, ::CompoundTag const* _userData = nullptr);
42
43 MCAPI ItemInstance(::Item const& item, int count = 1, int auxValue = 0, ::CompoundTag const* _userData = nullptr);
44
45 MCAPI
46 ItemInstance(::std::string_view name, int count = 1, int auxValue = 0, ::CompoundTag const* _userData = nullptr);
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static ::ItemInstance fromTag(::CompoundTag const& tag);
53 // NOLINTEND
54
55public:
56 // static variables
57 // NOLINTBEGIN
58 MCAPI static ::ItemInstance const& EMPTY_ITEM();
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor();
65
66 MCFOLD void* $ctor(::ItemStackBase const& rhs);
67
68 MCAPI void* $ctor(::ItemInstance const&);
69
70 MCAPI void* $ctor(::Block const& block, int count, ::CompoundTag const* _userData);
71
72 MCAPI void* $ctor(::Item const& item, int count, int auxValue, ::CompoundTag const* _userData);
73
74 MCAPI void* $ctor(::std::string_view name, int count, int auxValue, ::CompoundTag const* _userData);
75 // NOLINTEND
76
77public:
78 // destructor thunk
79 // NOLINTBEGIN
80 MCFOLD void $dtor();
81 // NOLINTEND
82
83public:
84 // virtual function thunks
85 // NOLINTBEGIN
86 MCAPI void $reinit(::Block const& block, int count);
87
88 MCAPI void $reinit(::Item const& item, int count, int auxValue);
89
90 MCAPI void $reinit(::std::string_view const name, int count, int auxValue);
91 // NOLINTEND
92
93public:
94 // vftables
95 // NOLINTBEGIN
96 MCNAPI static void** $vftable();
97 // NOLINTEND
98};
Definition Block.h:37
Definition CompoundTag.h:13
Definition ItemInstance.h:15
static MCAPI void ** $vftable()
Definition ItemStackBase.h:34
Definition Item.h:66