LeviLamina
Loading...
Searching...
No Matches
EquipmentSlots.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/legacy/actor/ArmorSlot.h"
7#include "mc/deps/shared_types/legacy/actor/SlotWithDropChance.h"
8#include "mc/deps/shared_types/legacy/item/EquipmentSlot.h"
9
10// auto generated forward declare list
11// clang-format off
12class EntityContext;
13// clang-format on
14
15namespace EquipmentSlots {
16// functions
17// NOLINTBEGIN
18MCAPI char const* equipmentSlotToName(::SharedTypes::Legacy::EquipmentSlot slot);
19
20MCAPI ::SharedTypes::Legacy::ArmorSlot getArmorSlotForEntityArmorEquipmentSlot(::EntityContext const& entityContext);
21
22MCAPI ::SharedTypes::Legacy::EquipmentSlot hashedNameToEquipmentSlot(uint64 const& slotName);
23
24MCAPI ::SharedTypes::Legacy::EquipmentSlot nameToEquipmentSlot(::std::string const& slotName);
25
26MCAPI ::SharedTypes::Legacy::SlotWithDropChance nbtKeyToSlotWithDropChance(::std::string const& nbtKey);
27
28MCAPI ::std::string slotWithDropChanceToNbtKey(::SharedTypes::Legacy::SlotWithDropChance slot);
29// NOLINTEND
30
31} // namespace EquipmentSlots
Definition EntityContext.h:16