LeviLamina
Loading...
Searching...
No Matches
SetBannerDetailsFunction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/item/ItemColor.h"
7
#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
ItemInstance
;
12
class
ItemStack
;
13
class
ItemStackBase
;
14
class
LootItemCondition
;
15
class
LootTableContext
;
16
class
Random
;
17
namespace
Json {
class
Value; }
18
// clang-format on
19
20
class
SetBannerDetailsFunction
:
public
::LootItemFunction
{
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::UntypedStorage<4, 4>
mUnke809d9;
25
::ll::UntypedStorage<1, 1>
mUnkd8feda;
26
::ll::UntypedStorage<8, 24>
mUnkc9e1fc;
27
// NOLINTEND
28
29
public
:
30
// prevent constructor by default
31
SetBannerDetailsFunction
& operator=(
SetBannerDetailsFunction
const
&);
32
SetBannerDetailsFunction
(
SetBannerDetailsFunction
const
&);
33
SetBannerDetailsFunction
();
34
35
public
:
36
// virtual functions
37
// NOLINTBEGIN
38
// vIndex: 0
39
virtual
~SetBannerDetailsFunction
()
/*override*/
=
default
;
40
41
// vIndex: 4
42
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
43
44
// vIndex: 2
45
virtual
void
apply(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
46
47
// vIndex: 5
48
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
49
// NOLINTEND
50
51
public
:
52
// member functions
53
// NOLINTBEGIN
54
MCNAPI
void
_apply
(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&
context
)
const
;
55
// NOLINTEND
56
57
public
:
58
// static functions
59
// NOLINTBEGIN
60
MCNAPI
static
void
61
_parseBannerPattern
(::std::vector<::std::pair<uchar, ::ItemColor>>& patternVec,
::Json::Value
const
&
object
);
62
63
MCNAPI static ::std::unique_ptr<::LootItemFunction>
64
deserialize
(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
65
// NOLINTEND
66
67
public
:
68
// virtual function thunks
69
// NOLINTBEGIN
70
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
71
72
MCNAPI
void
$apply
(
::ItemInstance
& item,
::Random
& random,
::LootTableContext
&
context
);
73
74
MCNAPI ::LootItemFunction::FunctionType
$getFunctionType
()
const
;
75
// NOLINTEND
76
77
public
:
78
// vftables
79
// NOLINTBEGIN
80
MCNAPI
static
void
**
$vftable
();
81
// NOLINTEND
82
};
ItemInstance
Definition
ItemInstance.h:15
ItemStackBase
Definition
ItemStackBase.h:36
ItemStack
Definition
ItemStack.h:23
Json::Value
Definition
Value.h:16
LootItemCondition
Definition
LootItemCondition.h:12
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:19
Random
Definition
Random.h:10
SetBannerDetailsFunction
Definition
SetBannerDetailsFunction.h:20
SetBannerDetailsFunction::$apply
MCAPI void $apply(::ItemInstance &item, ::Random &random, ::LootTableContext &context)
SetBannerDetailsFunction::$vftable
static MCAPI void ** $vftable()
SetBannerDetailsFunction::$getFunctionType
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
SetBannerDetailsFunction::deserialize
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
SetBannerDetailsFunction::_apply
MCAPI void _apply(::ItemStackBase &item, ::Random &random, ::LootTableContext &context) const
SetBannerDetailsFunction::_parseBannerPattern
static MCAPI void _parseBannerPattern(::std::vector<::std::pair< uchar, ::ItemColor > > &patternVec, ::Json::Value const &object)
SetBannerDetailsFunction::$apply
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src-server
mc
world
level
storage
loot
functions
SetBannerDetailsFunction.h
Generated on Tue Nov 25 2025 04:01:56 for LeviLamina by
1.12.0