LeviLamina
Loading...
Searching...
No Matches
FillContainerFunction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ItemInstance
;
11
class
ItemStack
;
12
class
LootItemCondition
;
13
class
LootTableContext
;
14
class
Random
;
15
namespace
Json {
class
Value; }
16
// clang-format on
17
18
class
FillContainerFunction
:
public
::LootItemFunction
{
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::TypedStorage<8, 32, ::std::string> mLootTable;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
// vIndex: 0
29
virtual
~FillContainerFunction
()
/*override*/
=
default
;
30
31
// vIndex: 4
32
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
33
34
// vIndex: 2
35
virtual
void
apply(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
36
37
// vIndex: 5
38
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
39
// NOLINTEND
40
41
public
:
42
// static functions
43
// NOLINTBEGIN
44
MCNAPI static ::std::unique_ptr<::LootItemFunction>
45
deserialize
(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
46
// NOLINTEND
47
48
public
:
49
// virtual function thunks
50
// NOLINTBEGIN
51
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
52
53
MCNAPI
void
$apply
(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
);
54
55
MCNAPI ::LootItemFunction::FunctionType
$getFunctionType
()
const
;
56
// NOLINTEND
57
58
public
:
59
// vftables
60
// NOLINTBEGIN
61
MCNAPI
static
void
**
$vftable
();
62
// NOLINTEND
63
};
FillContainerFunction
Definition
FillContainerFunction.h:18
FillContainerFunction::deserialize
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
FillContainerFunction::$vftable
static MCAPI void ** $vftable()
FillContainerFunction::$getFunctionType
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
FillContainerFunction::$apply
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
FillContainerFunction::$apply
MCAPI void $apply(::ItemInstance &itemInstance, ::Random &random, ::LootTableContext &context)
ItemInstance
Definition
ItemInstance.h:15
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
context
Definition
context.h:5
src-server
mc
world
level
storage
loot
functions
FillContainerFunction.h
Generated on Tue Nov 25 2025 04:01:56 for LeviLamina by
1.12.0