LeviLamina
Loading...
Searching...
No Matches
MedicineItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/ChemistryItem.h"
7#include "mc/world/item/ItemUseMethod.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12class Item;
13class ItemDescriptor;
14class ItemStack;
15class ItemStackBase;
16class Level;
17class Player;
19// clang-format on
20
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 // vIndex: 87
26 virtual ::std::string
27 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
28
29 // vIndex: 76
30 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
31
32 // vIndex: 79
33 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const
34 /*override*/;
35
36 // vIndex: 60
37 virtual bool isValidAuxValue(int auxValue) const /*override*/;
38
39 // vIndex: 107
40 virtual ::Item& setIconInfo(::std::string const& name, int index) /*override*/;
41
42 // vIndex: 108
43 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) const /*override*/;
44
45 // vIndex: 0
46 virtual ~MedicineItem() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI ::std::string
53 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
54
55 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
56
57 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
58
59 MCAPI bool $isValidAuxValue(int auxValue) const;
60
61 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
62
63 MCFOLD ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition ChemistryItem.h:13
Definition CompoundTag.h:13
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Level.h:238
Definition MedicineItem.h:21
static MCAPI void ** $vftable()
Definition Player.h:119
Definition ResolvedItemIconInfo.h:8