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/HandSlot.h"
8#include "mc/world/item/ItemUseMethod.h"
9
10// auto generated forward declare list
11// clang-format off
12class Actor;
13class BaseGameVersion;
14class Item;
15class ItemStack;
16class ItemStackBase;
17class Level;
18class Mob;
19class Player;
20// clang-format on
21
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 4, int> mMaxActiveTime;
27 // NOLINTEND
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ::ItemStack& use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const /*override*/;
33
34 virtual ::ItemUseMethod useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const
35 /*override*/;
36
37 virtual bool uniqueAuxValues() const /*override*/;
38
39 virtual bool inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const
40 /*override*/;
41
42 virtual ::Item& setMaxDamage(int maxDamage) /*override*/;
43
44 virtual void hurtActor(::ItemStack& instance, ::Actor& actor, ::Mob& attacker) const /*override*/;
45
46 virtual bool isValidRepairItem(
47 ::ItemStackBase const& source,
48 ::ItemStackBase const& repairItem,
49 ::BaseGameVersion const& baseGameVersion
50 ) const /*override*/;
51
52 virtual bool showsDurabilityInCreative() const /*override*/;
53
54 virtual void fixupCommon(::ItemStackBase& stack) const /*override*/;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI ::std::string _getColorName(int data) const;
61
62 MCAPI void _storeActivationTimestamp(::ItemStack& item, uint64 curTime, int desiredPercent) const;
63
64 MCAPI bool _tick(::ItemStack& item, uint64 curTime) const;
65 // NOLINTEND
66
67public:
68 // static functions
69 // NOLINTBEGIN
70 MCAPI static bool isChemistryStick(::ItemStackBase const& item);
71 // NOLINTEND
72
73public:
74 // static variables
75 // NOLINTBEGIN
76 MCAPI static ::std::string const& ACTIVATION_TIMESTAMP_TAG();
77 // NOLINTEND
78
79public:
80 // virtual function thunks
81 // NOLINTBEGIN
82 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const;
83
84 MCAPI ::ItemUseMethod $useTimeDepleted(::ItemStack& inoutInstance, ::Level* level, ::Player* player) const;
85
86 MCFOLD bool $uniqueAuxValues() const;
87
88 MCAPI bool $inventoryTick(::ItemStack& item, ::Level& level, ::Actor& owner, int slot, bool selected) const;
89
90 MCAPI ::Item& $setMaxDamage(int maxDamage);
91
92 MCFOLD void $hurtActor(::ItemStack& instance, ::Actor& actor, ::Mob& attacker) const;
93
94 MCFOLD bool $isValidRepairItem(
95 ::ItemStackBase const& source,
96 ::ItemStackBase const& repairItem,
97 ::BaseGameVersion const& baseGameVersion
98 ) const;
99
100 MCFOLD bool $showsDurabilityInCreative() const;
101
102 MCAPI void $fixupCommon(::ItemStackBase& stack) const;
103
104
105 // NOLINTEND
106};
Definition Actor.h:113
Definition BaseGameVersion.h:8
Definition ChemistryItem.h:13
Definition ChemistryStickItem.h:22
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Item.h:71
Definition Level.h:254
Definition Mob.h:56
Definition Player.h:129