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
10
class
Actor
;
11
class
ItemStackBase
;
12
namespace
Json {
class
Value; }
13
// clang-format on
14
15
class
ItemLockHelper
{
16
public
:
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
};
Actor
Definition
Actor.h:104
ItemLockHelper
Definition
ItemLockHelper.h:15
ItemStackBase
Definition
ItemStackBase.h:35
Json::Value
Definition
Value.h:16
src
mc
world
item
ItemLockHelper.h
Generated on Sat Apr 26 2025 05:56:15 for LeviLamina by
1.12.0