LeviLamina
Loading...
Searching...
No Matches
FullPlayerInventoryWrapper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/ContainerID.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemStack;
11class SimpleContainer;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI int _clearSimpleContainerItem(::SimpleContainer& container, ::ContainerID containerId, int slot);
35
36 MCAPI int _getSimpleContainerItemCount(
37 ::SimpleContainer& container,
38 int slot,
39 ::std::function<bool(::ItemStack const&)> comparator
40 );
41
42 MCAPI int _removeCursorItem(::ItemStack const& item, bool requireExactAux, int maxCount);
43
44 MCAPI int _removeSimpleContainerItem(
45 ::SimpleContainer& container,
46 ::ContainerID containerId,
47 int slot,
48 ::ItemStack const& sourceItem,
49 bool requireExactAux,
50 int maxCount
51 );
52
53 MCAPI void _sendCursorSlotPacket() const;
54
55 MCAPI int clearAllItems();
56
57 MCAPI int getItemCount(::std::function<bool(::ItemStack const&)> comparator);
58
59 MCAPI int removeResource(
60 ::ItemStack const& sourceItem,
61 ::std::function<bool(::ItemStack const&)> comparator,
62 bool requireExactAux,
63 int maxCount
64 );
65 // NOLINTEND
66};
Definition FullPlayerInventoryWrapper.h:14
Definition ItemStack.h:25
Definition SimpleContainer.h:14
Definition Alias.h:14