Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
WolfArmorItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/LevelSoundEvent.h"
7#include "mc/deps/shared_types/legacy/actor/ActorDamageCause.h"
8#include "mc/world/item/components/ComponentItem.h"
9
10// auto generated forward declare list
11// clang-format off
12class BaseGameVersion;
13class CompoundTag;
14class ItemDescriptor;
15class ItemStack;
16class ItemStackBase;
17class Level;
18class Mob;
21namespace Bedrock::Safety { class RedactableString; }
22// clang-format on
23
24class WolfArmorItem : public ::ComponentItem {
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual bool
29 isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const
30 /*override*/;
31
32 virtual ::ResolvedItemIconInfo
33 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
34
35 virtual int getAnimationFrameFor(::Mob*, bool, ::ItemStack const* item, bool) const /*override*/;
36
37 virtual void appendFormattedHovertext(
38 ::ItemStackBase const& item,
39 ::Level& level,
41 bool const showCategory
42 ) const /*override*/;
43
44 virtual ::std::string buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const /*override*/;
45
46 virtual bool isBodyArmor() const /*override*/;
47
48 virtual int getArmorValue() const /*override*/;
49
50 virtual ::SharedTypes::Legacy::LevelSoundEvent getBreakSound() const /*override*/;
51 // NOLINTEND
52
53public:
54 // static variables
55 // NOLINTBEGIN
56 MCNAPI static ::std::vector<::SharedTypes::Legacy::ActorDamageCause> const& ABSORBABLE_DAMAGE_CAUSES();
57
58 MCNAPI static ::std::vector<::DurabilityThreshold> const& DURABILITY_THRESHOLDS();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI bool
65 $isValidRepairItem(::ItemStackBase const&, ::ItemStackBase const& repairItem, ::BaseGameVersion const&) const;
66
67 MCNAPI ::ResolvedItemIconInfo
68 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
69
70 MCNAPI int $getAnimationFrameFor(::Mob*, bool, ::ItemStack const* item, bool) const;
71
73 ::ItemStackBase const& item,
74 ::Level& level,
76 bool const showCategory
77 ) const;
78
79 MCNAPI ::std::string $buildDescriptionId(::ItemDescriptor const&, ::CompoundTag const*) const;
80
81 MCNAPI bool $isBodyArmor() const;
82
83 MCNAPI int $getArmorValue() const;
84
85 MCNAPI ::SharedTypes::Legacy::LevelSoundEvent $getBreakSound() const;
86
87
88 // NOLINTEND
89};
Definition BaseGameVersion.h:8
Definition RedactableString.h:10
Definition CompoundTag.h:18
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition Level.h:255
Definition Mob.h:58
Definition WolfArmorItem.h:24
static MCAPI ::std::vector<::DurabilityThreshold > const & DURABILITY_THRESHOLDS()
MCAPI int $getArmorValue() const
MCAPI::std::string $buildDescriptionId(::ItemDescriptor const &, ::CompoundTag const *) const
MCAPI int $getAnimationFrameFor(::Mob *, bool, ::ItemStack const *item, bool) const
static MCAPI ::std::vector<::SharedTypes::Legacy::ActorDamageCause > const & ABSORBABLE_DAMAGE_CAUSES()
MCAPI::SharedTypes::Legacy::LevelSoundEvent $getBreakSound() const
MCAPI bool $isBodyArmor() const
MCAPI void $appendFormattedHovertext(::ItemStackBase const &item, ::Level &level, ::Bedrock::Safety::RedactableString &hovertext, bool const showCategory) const
MCAPI::ResolvedItemIconInfo $getIconInfo(::ItemStackBase const &item, int newAnimationFrame, bool inInventoryPane) const
Definition DurabilityThreshold.h:9
Definition ResolvedItemIconInfo.h:8