3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/container/EnumSet.h"
7#include "mc/world/level/block/actor/BlockActorType.h"
8#include "mc/world/level/block/actor/ChestBlockActor.h"
17namespace TransportItemsUtils {
20MCNAPI
bool isValidTargetContainer(
22 ::BlockPos
const& targetPosition,
23 ::TransportItemsGoalSettings
const& settings
26MCNAPI ::std::weak_ptr<::ChestBlockActor::ChestCloser>
27openContainer(::Mob& mob, ::BlockPos
const& targetContainerPosition);
29MCNAPI
bool tryPutItem(
31 ::BlockPos
const& targetContainerPosition,
32 ::TransportItemsGoalSettings
const& settings,
36MCNAPI
bool tryTakeItem(
38 ::BlockPos
const& targetContainerPosition,
39 ::TransportItemsGoalSettings
const& settings,
46MCNAPI ::Bedrock::EnumSet<::BlockActorType, 61>
const& VALID_DESTINATION_BLOCKACTOR_TYPES();
48MCNAPI ::Bedrock::EnumSet<::BlockActorType, 61>
const& VALID_SOURCE_BLOCKACTOR_TYPES();
Definition TransportItemsGoalSettings.h:14