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 // prevent constructor by default
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 // vIndex: 108
31 virtual ::ResolvedItemIconInfo getIconInfo(::ItemStackBase const&, int newAnimationFrame, bool) const /*override*/;
32
33 // vIndex: 76
34 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
35
36 // vIndex: 38
37 virtual bool isHandEquipped() const /*override*/;
38
39 // vIndex: 50
40 virtual bool requiresInteract() const /*override*/;
41
42 // vIndex: 109
43 virtual ::std::string getInteractText(::Player const& player) const /*override*/;
44
45 // vIndex: 110
46 virtual int getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const /*override*/;
47
48 // vIndex: 54
49 virtual int getEnchantSlot() const /*override*/;
50
51 // vIndex: 55
52 virtual int getEnchantValue() const /*override*/;
53
54 // vIndex: 82
55 virtual void hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const /*override*/;
56
57 // vIndex: 103
58 virtual bool shouldSendInteractionGameEvents() const /*override*/;
59
60 // vIndex: 123
61 virtual bool shouldUseJsonForRenderMatrix() const /*override*/;
62
63 // vIndex: 107
64 virtual ::Item& setIconInfo(::std::string const& name, int index) /*override*/;
65
66 // vIndex: 87
67 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
68
69 // vIndex: 0
70 virtual ~FishingRodItem() /*override*/ = default;
71 // NOLINTEND
72
73public:
74 // member functions
75 // NOLINTBEGIN
76 MCAPI FishingRodItem(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
77 // NOLINTEND
78
79public:
80 // constructor thunks
81 // NOLINTBEGIN
82 MCAPI void* $ctor(::std::string const& name, int id, ::cereal::ReflectionCtx& ctx);
83 // NOLINTEND
84
85public:
86 // virtual function thunks
87 // NOLINTBEGIN
88 MCAPI ::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const&, int newAnimationFrame, bool) const;
89
90 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
91
92 MCFOLD bool $isHandEquipped() const;
93
94 MCFOLD bool $requiresInteract() const;
95
96 MCAPI ::std::string $getInteractText(::Player const& player) const;
97
98 MCAPI int $getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const;
99
100 MCFOLD int $getEnchantSlot() const;
101
102 MCFOLD int $getEnchantValue() const;
103
104 MCFOLD void $hurtActor(::ItemStack& item, ::Actor& actor, ::Mob& attacker) const;
105
106 MCFOLD bool $shouldSendInteractionGameEvents() const;
107
108 MCFOLD bool $shouldUseJsonForRenderMatrix() const;
109
110 MCFOLD ::Item& $setIconInfo(::std::string const& name, int index);
111
112 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
113 // NOLINTEND
114
115public:
116 // vftables
117 // NOLINTBEGIN
118 MCAPI static void** $vftable();
119 // NOLINTEND
120};
Definition Actor.h:103
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