Skip to content
LeviMC
English
AutoLightDark
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#include "mc/world/item/HandSlot.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12class ItemDescriptor;
13class ItemStack;
14class ItemStackBase;
15class Player;
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 virtual ::ItemStack& use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const /*override*/;
23
24 virtual bool requiresInteract() const /*override*/;
25
26 virtual ::std::string getInteractText(::Player const& player) const /*override*/;
27
28 virtual ::std::string buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const*) const
29 /*override*/;
30 // NOLINTEND
31
32public:
33 // static functions
34 // NOLINTBEGIN
35 MCNAPI static void addPlayerMarker(::ItemStackBase& map);
36
37 MCNAPI static bool isLocatorMap(::ItemStackBase const& map);
38 // NOLINTEND
39
40public:
41 // virtual function thunks
42 // NOLINTBEGIN
43 MCNAPI ::ItemStack& $use(::ItemStack& item, ::Player& player, ::HandSlot handSlot) const;
44
45 MCNAPI bool $requiresInteract() const;
46
47 MCNAPI ::std::string $getInteractText(::Player const& player) const;
48
49 MCNAPI ::std::string $buildDescriptionId(::ItemDescriptor const& itemDescriptor, ::CompoundTag const*) const;
50
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
Definition ComplexItem.h:16
Definition CompoundTag.h:18
Definition EmptyMapItem.h:18
MCAPI::ItemStack & $use(::ItemStack &item, ::Player &player, ::HandSlot handSlot) const
static MCAPI void addPlayerMarker(::ItemStackBase &map)
static MCAPI bool isLocatorMap(::ItemStackBase const &map)
MCAPI::std::string $buildDescriptionId(::ItemDescriptor const &itemDescriptor, ::CompoundTag const *) const
static MCAPI void ** $vftable()
MCAPI::std::string $getInteractText(::Player const &player) const
MCAPI bool $requiresInteract() const
Definition ItemDescriptor.h:24
Definition ItemStackBase.h:45
Definition ItemStack.h:26
Definition Player.h:131