17class FullPlayerInventoryWrapper {
21 ::ll::TypedStorage<8, 8, ::PlayerInventory&> mPlayerInventory;
22 ::ll::TypedStorage<8, 8, ::SimpleContainer&> mArmorInventory;
23 ::ll::TypedStorage<8, 8, ::SimpleContainer&> mHandInventory;
24 ::ll::TypedStorage<8, 8, ::InventoryTransactionManager*> mTransactionManager;
25 ::ll::TypedStorage<8, 8, ::Player*> mPlayer;
31 MCAPI
explicit FullPlayerInventoryWrapper(
::Player& player);
33 MCAPI
int _clearSimpleContainerItem(
::SimpleContainer& container, ::ContainerID containerId,
int slot);
35 MCAPI
int _removeCursorItem();
37 MCAPI
int _removeCursorItem(
::ItemStack const& item,
bool requireExactAux,
int maxCount);
39 MCAPI
int _removeSimpleContainerItem(
41 ::ContainerID containerId,
48 MCAPI
int clearAllItems();
50 MCAPI
int getItemCount(::std::function<
bool(
::ItemStack const&)> comparator);
52 MCAPI
int removeResource(
54 ::std::function<
bool(
::ItemStack const&)> comparator,