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
// NOLINTEND
37
38
public
:
39
// static functions
40
// NOLINTBEGIN
41
MCNAPI static ::std::unique_ptr<::LootItemFunction>
42
deserialize
(
::Json::Value
object
, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
43
// NOLINTEND
44
45
public
:
46
// virtual function thunks
47
// NOLINTBEGIN
48
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
49
50
MCNAPI
void
$apply
(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
);
51
// NOLINTEND
52
53
public
:
54
// vftables
55
// NOLINTBEGIN
56
MCNAPI
static
void
**
$vftable
();
57
// NOLINTEND
58
};
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::$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:16
ItemStack
Definition
ItemStack.h:25
Json::Value
Definition
Value.h:16
LootItemCondition
Definition
LootItemCondition.h:12
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:11
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
FillContainerFunction.h
Generated on Fri Jun 13 2025 05:05:24 for LeviLamina by
1.12.0