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/HandSlot.h"
8#include "mc/world/item/ItemUseMethod.h"
9
10// auto generated forward declare list
11// clang-format off
12class CompoundTag;
13class Item;
14class ItemDescriptor;
15class ItemStack;
16class ItemStackBase;
17class Level;
18class Player;
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ::std::string
27 buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const /*override*/;
28
29 virtual ::ItemStack& use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const /*override*/;
30
31 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const
32 /*override*/;
33
34 virtual bool isValidAuxValue(int auxValue) const /*override*/;
35
36 virtual ::Item& setIconInfo(::std::string const& name, int id) /*override*/;
37
38 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const& item, int, bool) const /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI ::std::string
45 $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const* userData) const;
46
47 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const;
48
49 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
50
51 MCAPI bool $isValidAuxValue(int auxValue) const;
52
53 MCFOLD ::Item& $setIconInfo(::std::string const& name, int id);
54
55 MCFOLD ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const& item, int, bool) const;
56
57
58 // NOLINTEND
59
60public:
61 // vftables
62 // NOLINTBEGIN
63 MCAPI static void** $vftable();
64 // NOLINTEND
65};
Definition ChemistryItem.h:13
Definition CompoundTag.h:18
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Item.h:71
Definition Level.h:254
Definition MedicineItem.h:22
Definition Player.h:129
Definition ResolvedItemIconInfo.h:8