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