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 id) /*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 // destructor thunk
51 // NOLINTBEGIN
52
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::std::string
59 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
60
61 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
62
63 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
64
65 MCAPI bool $isValidAuxValue(int auxValue) const;
66
67 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
68
69 MCFOLD ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
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:234
Definition MedicineItem.h:21
Definition Player.h:119
Definition ResolvedItemIconInfo.h:8