LeviLamina
Loading...
Searching...
No Matches
ItemLockHelper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/ItemLockMode.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class ItemStackBase;
12namespace Json { class Value; }
13// clang-format on
14
16public:
17 // static functions
18 // NOLINTBEGIN
19 MCAPI static bool _parseItemLockMode(::ItemStackBase& item, ::Json::Value const& data);
20
21 MCAPI static bool _parseKeepOnDeath(::ItemStackBase& item, ::Json::Value const& data);
22
23 MCAPI static bool canMoveItemSlots(::Actor const& actor, ::ItemStackBase const& item);
24
25 MCAPI static ::ItemLockMode getItemLockMode(::ItemStackBase const& item);
26
27 MCAPI static bool isItemLocked(::ItemStackBase const& item);
28
29 MCAPI static bool removeItemLockMode(::ItemStackBase& item);
30
31 MCAPI static bool removeKeepOnDeath(::ItemStackBase& item);
32
33 MCAPI static void setItemLockMode(::ItemStackBase& item, ::ItemLockMode lockMode);
34
35 MCAPI static bool shouldKeepOnDeath(::ItemStackBase const& item);
36
37 MCAPI static bool shouldKeepOnDeath(::Actor const& actor, ::ItemStackBase const& item);
38 // NOLINTEND
39};
Definition Actor.h:104
Definition ItemLockHelper.h:15
Definition ItemStackBase.h:35
Definition Value.h:16