LeviLamina
Loading...
Searching...
No Matches
SetSpawnEggFunction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/actor/ActorDefinitionIdentifier.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
LootItemCondition
;
14
class
LootTableContext
;
15
class
Random
;
16
namespace
Json {
class
Value
; }
17
// clang-format on
18
19
class
SetSpawnEggFunction
:
public
::LootItemFunction
{
20
public
:
21
// member variables
22
// NOLINTBEGIN
23
::ll::TypedStorage<8, 176, ::ActorDefinitionIdentifier> mActor;
24
// NOLINTEND
25
26
public
:
27
// virtual functions
28
// NOLINTBEGIN
29
virtual
~SetSpawnEggFunction
()
/*override*/
=
default
;
30
31
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
32
33
virtual
void
apply(
::ItemInstance
& itemInstance,
::Random
&,
::LootTableContext
&
context
)
/*override*/
;
34
35
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// static functions
40
// NOLINTBEGIN
41
MCAPI 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
MCAPI
void
$apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
49
50
MCAPI
void
$apply(
::ItemInstance
& itemInstance,
::Random
&,
::LootTableContext
&
context
);
51
52
MCFOLD ::LootItemFunction::FunctionType $getFunctionType()
const
;
53
54
55
// NOLINTEND
56
57
public
:
58
// vftables
59
// NOLINTBEGIN
60
MCNAPI
static
void
**
$vftable
();
61
// NOLINTEND
62
};
ItemInstance
Definition
ItemInstance.h:15
ItemStack
Definition
ItemStack.h:26
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:10
SetSpawnEggFunction
Definition
SetSpawnEggFunction.h:19
SetSpawnEggFunction::$vftable
static MCAPI void ** $vftable()
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
SetSpawnEggFunction.h
Generated on
for LeviLamina by
1.16.1