Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
LootItemStack.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 LootItemStack : public ::ItemStackBase {
16public:
17 // prevent constructor by default
18 LootItemStack();
19
20public:
21 // virtual functions
22 // NOLINTBEGIN
23 virtual void reinit(::Block const& block, int count) /*override*/;
24
25 virtual void reinit(::Item const& item, int count, int auxValue) /*override*/;
26
27 virtual void reinit(::std::string_view item, int count, int auxValue) /*override*/;
28
29 virtual void setNull(::std::optional<::std::string> reason) /*override*/;
30
31 virtual explicit operator bool() const /*override*/;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCNAPI LootItemStack(::Item const& item, int count, int auxValue, ::CompoundTag const* _userData);
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCNAPI void* $ctor(::Item const& item, int count, int auxValue, ::CompoundTag const* _userData);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCNAPI void $reinit(::Block const& block, int count);
50
51 MCNAPI void $reinit(::Item const& item, int count, int auxValue);
52
53 MCNAPI void $reinit(::std::string_view item, int count, int auxValue);
54
55 MCNAPI void $setNull(::std::optional<::std::string> reason);
56
57
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCNAPI static void** $vftable();
64 // NOLINTEND
65};
Definition Block.h:42
Definition CompoundTag.h:18
Definition Item.h:73
MCAPI LootItemStack(::Item const &item, int count, int auxValue, ::CompoundTag const *_userData)
MCAPI void * $ctor(::Item const &item, int count, int auxValue, ::CompoundTag const *_userData)
MCAPI void $setNull(::std::optional<::std::string > reason)
MCAPI void $reinit(::std::string_view item, int count, int auxValue)
MCAPI void $reinit(::Item const &item, int count, int auxValue)
MCAPI void $reinit(::Block const &block, int count)
static MCAPI void ** $vftable()