LeviLamina
Loading...
Searching...
No Matches
FishingRodItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/components/ComponentItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class CompoundTag;
12class Item;
13class ItemDescriptor;
14class ItemStack;
15class ItemStackBase;
16class Mob;
17class Player;
19namespace cereal { struct ReflectionCtx; }
20// clang-format on
21
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 // vIndex: 108
27 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int newAnimationFrame, bool) const /*override*/;
28
29 // vIndex: 76
30 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
31
32 // vIndex: 38
33 virtual bool isHandEquipped() const /*override*/;
34
35 // vIndex: 50
36 virtual bool requiresInteract() const /*override*/;
37
38 // vIndex: 109
39 virtual ::std::string getInteractText(::Player const& player) const /*override*/;
40
41 // vIndex: 110
42 virtual int getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const /*override*/;
43
44 // vIndex: 54
45 virtual int getEnchantSlot() const /*override*/;
46
47 // vIndex: 55
48 virtual int getEnchantValue() const /*override*/;
49
50 // vIndex: 82
51 virtual void hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const /*override*/;
52
53 // vIndex: 103
54 virtual bool shouldSendInteractionGameEvents() const /*override*/;
55
56 // vIndex: 123
57 virtual bool shouldUseJsonForRenderMatrix() const /*override*/;
58
59 // vIndex: 107
60 virtual ::Item& setIconInfo(::std::string const& name, int index) /*override*/;
61
62 // vIndex: 87
63 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
64
65 // vIndex: 0
66 virtual ~FishingRodItem() /*override*/ = default;
67 // NOLINTEND
68
69public:
70 // member functions
71 // NOLINTBEGIN
72 MCAPI FishingRodItem(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
73 // NOLINTEND
74
75public:
76 // constructor thunks
77 // NOLINTBEGIN
78 MCAPI void* $ctor(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
79 // NOLINTEND
80
81public:
82 // destructor thunk
83 // NOLINTBEGIN
84
85 // NOLINTEND
86
87public:
88 // virtual function thunks
89 // NOLINTBEGIN
90 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int newAnimationFrame, bool) const;
91
92 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
93
94 MCFOLD bool $isHandEquipped() const;
95
96 MCFOLD bool $requiresInteract() const;
97
98 MCAPI ::std::string $getInteractText(::Player const& player) const;
99
100 MCAPI int $getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const;
101
102 MCFOLD int $getEnchantSlot() const;
103
104 MCFOLD int $getEnchantValue() const;
105
106 MCFOLD void $hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const;
107
108 MCFOLD bool $shouldSendInteractionGameEvents() const;
109
110 MCFOLD bool $shouldUseJsonForRenderMatrix() const;
111
112 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
113
114 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
115 // NOLINTEND
116
117public:
118 // vftables
119 // NOLINTBEGIN
120 MCAPI static void** $vftable();
121 // NOLINTEND
122};
Definition Actor.h:104
Definition ComponentItem.h:53
Definition CompoundTag.h:13
Definition FishingRodItem.h:22
Definition ItemDescriptor.h:22
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Item.h:65
Definition Mob.h:47
Definition Player.h:119
Definition ResolvedItemIconInfo.h:8
Definition ReflectionCtx.h:11
Definition ctx.h:5