LeviLamina
Loading...
Searching...
No Matches
AbstractCompassItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/Item.h"
7
8// auto generated forward declare list
9// clang-format off
11class ItemStack;
12class ItemStackBase;
13class Mob;
15// clang-format on
16
17class AbstractCompassItem : public ::Item {
18public:
19 // AbstractCompassItem inner types define
20 using GetSpriteCalculatorFunction = ::CompassSpriteCalculator& (*)(::Mob&);
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<4, 4, int> mAtlasWidth;
26 ::ll::TypedStorage<4, 4, int> mAtlasHeight;
27 ::ll::TypedStorage<8, 8, ::CompassSpriteCalculator& (*)(::Mob&)> mGetSpriteCalculator;
28 // NOLINTEND
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::ResolvedItemIconInfo
34 getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const /*override*/;
35
36 virtual int getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const /*override*/;
37
38 virtual int getEnchantSlot() const /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI ::ResolvedItemIconInfo
45 $getIconInfo(::ItemStackBase const& item, int newAnimationFrame, bool inInventoryPane) const;
46
47 MCAPI int $getAnimationFrameFor(::Mob* holder, bool, ::ItemStack const*, bool) const;
48
49 MCAPI int $getEnchantSlot() const;
50
51
52 // NOLINTEND
53};
Definition AbstractCompassItem.h:17
Definition CompassSpriteCalculator.h:12
Definition ItemStackBase.h:44
Definition ItemStack.h:26
Definition Mob.h:56
Definition ResolvedItemIconInfo.h:8