LeviLamina
Loading...
Searching...
No Matches
DispensableItemUtils.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/item/EquipmentSlot.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class BlockPos;
12class BlockSource;
13class Container;
14class Level;
15// clang-format on
16
17namespace DispensableItemUtils {
18// functions
19// NOLINTBEGIN
20MCAPI void spawnLoot(::Level& level, ::Actor& actor, ::std::string const& lootTable);
21
22MCAPI bool tryDispenseEquipment(
23 ::BlockSource& region,
24 ::Container& container,
25 int slot,
26 ::BlockPos pos,
27 ::SharedTypes::Legacy::EquipmentSlot equipmentSlot,
28 bool dispenseToPlayers
29);
30// NOLINTEND
31
32} // namespace DispensableItemUtils
Definition Actor.h:104
Definition BlockPos.h:18
Definition BlockSource.h:67
Definition Container.h:30
Definition Level.h:234