LeviLamina
Loading...
Searching...
No Matches
ChemistryStickItem.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 Actor;
12class BaseGameVersion;
13class Item;
14class ItemStack;
15class ItemStackBase;
16class Level;
17class Mob;
18class Player;
19// clang-format on
20
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mMaxActiveTime;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 76
32 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
33
34 // vIndex: 79
35 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const
36 /*override*/;
37
38 // vIndex: 63
39 virtual bool uniqueAuxValues() const /*override*/;
40
41 // vIndex: 92
42 virtual bool inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const
43 /*override*/;
44
45 // vIndex: 25
46 virtual ::Item& setMaxDamage(int maxDamage) /*override*/;
47
48 // vIndex: 82
49 virtual void hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const /*override*/;
50
51 // vIndex: 53
52 virtual bool isValidRepairItem(
53 ::ItemStackBase const& source,
54 ::ItemStackBase const& repairItem,
55 ::BaseGameVersion const& baseGameVersion
56 ) const /*override*/;
57
58 // vIndex: 44
59 virtual bool showsDurabilityInCreative() const /*override*/;
60
61 // vIndex: 97
62 virtual void fixupCommon(::ItemStackBase& stack) const /*override*/;
63
64 // vIndex: 0
65 virtual ~ChemistryStickItem() /*override*/ = default;
66 // NOLINTEND
67
68public:
69 // member functions
70 // NOLINTBEGIN
71 MCAPI void _storeActivationTimestamp(::ItemStack& item, uint64 curTime, int desiredPercent) const;
72
73 MCAPI bool _tick(::ItemStack& item, uint64 curTime) const;
74 // NOLINTEND
75
76public:
77 // static functions
78 // NOLINTBEGIN
79 MCAPI static bool isChemistryStick(::ItemStackBase const& item);
80 // NOLINTEND
81
82public:
83 // static variables
84 // NOLINTBEGIN
85 MCAPI static ::std::string const& ACTIVATION_TIMESTAMP_TAG();
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91
92 // NOLINTEND
93
94public:
95 // virtual function thunks
96 // NOLINTBEGIN
97 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
98
99 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
100
101 MCFOLD bool $uniqueAuxValues() const;
102
103 MCAPI bool $inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const;
104
105 MCAPI ::Item& $setMaxDamage(int maxDamage);
106
107 MCFOLD void $hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const;
108
109 MCFOLD bool $isValidRepairItem(
110 ::ItemStackBase const& source,
111 ::ItemStackBase const& repairItem,
112 ::BaseGameVersion const& baseGameVersion
113 ) const;
114
115 MCFOLD bool $showsDurabilityInCreative() const;
116
117 MCAPI void $fixupCommon(::ItemStackBase& stack) const;
118 // NOLINTEND
119};
Definition Actor.h:104
Definition BaseGameVersion.h:13
Definition ChemistryItem.h:13
Definition ChemistryStickItem.h:21
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Level.h:234
Definition Mob.h:47
Definition Player.h:119