3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/shared_types/legacy/EquipmentSlot.h"
16namespace ActorInventoryUtils {
19MCNAPI
void forEachItemOnActor(::Actor
const& actor, ::std::function<
void(::ItemStack
const&)> callback);
21MCNAPI
void forEachItemOnActor(
23 ::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
24 ::CommandIntegerRange
const& slot,
25 ::std::function<
void(::ItemStack
const&)> callback
28MCNAPI
void forEachItemOnActorHotbar(
30 ::CommandIntegerRange
const& slot,
31 ::std::function<
void(::ItemStack
const&)> callback
34MCNAPI
void forEachItemOnActorInventory(
36 ::CommandIntegerRange
const& slot,
37 ::std::function<
void(::ItemStack
const&)> callback
40MCAPI
float getArmorCoverPercentage(::SimpleContainer
const& armorContainer);
42MCNAPI ::ItemStack
const* getItem(::Actor
const& actor, ::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
int slotId);
Definition CommandIntegerRange.h:5
Definition ItemStack.h:26
Definition SimpleContainer.h:14