LeviLamina
Loading...
Searching...
No Matches
EmptyMapItem.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/ComplexItem.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11class ItemDescriptor;
12class ItemStack;
13class ItemStackBase;
14class Player;
15// clang-format on
16
17class EmptyMapItem : public ::ComplexItem {
18public:
19 // prevent constructor by default
20 EmptyMapItem();
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ::ItemStack& use(::ItemStack& item, ::Player& player) const /*override*/;
26
27 virtual bool requiresInteract() const /*override*/;
28
29 virtual ::std::string getInteractText(::Player const& player) const /*override*/;
30
31 virtual ::std::string buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const*) const
32 /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI EmptyMapItem(::std::string const& itemName, short itemId);
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static void addPlayerMarker(::ItemStackBase& map);
45
46 MCAPI static bool isLocatorMap(::ItemStackBase const& map);
47 // NOLINTEND
48
49public:
50 // constructor thunks
51 // NOLINTBEGIN
52 MCAPI void* $ctor(::std::string const& itemName, short itemId);
53 // NOLINTEND
54
55public:
56 // virtual function thunks
57 // NOLINTBEGIN
58 MCAPI ::ItemStack& $use(::ItemStack& item, ::Player& player) const;
59
60 MCFOLD bool $requiresInteract() const;
61
62 MCAPI ::std::string $getInteractText(::Player const& player) const;
63
64 MCAPI ::std::string $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const*) const;
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCAPI static void** $vftable();
73 // NOLINTEND
74};
Definition CompoundTag.h:23
Definition ItemDescriptor.h:25
Definition ItemStackBase.h:52
Definition ItemStack.h:35
Definition Player.h:137