LeviLamina
Loading...
Searching...
No Matches
SmeltItemFunction.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
LootTableContext
;
13
class
Random
;
14
// clang-format on
15
16
class
SmeltItemFunction
:
public
::LootItemFunction
{
17
public
:
18
// virtual functions
19
// NOLINTBEGIN
20
// vIndex: 0
21
virtual
~SmeltItemFunction
()
/*override*/
=
default
;
22
23
// vIndex: 4
24
virtual
void
apply(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
25
26
// vIndex: 2
27
virtual
void
apply(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
28
29
// vIndex: 5
30
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
31
// NOLINTEND
32
33
public
:
34
// virtual function thunks
35
// NOLINTBEGIN
36
MCNAPI
void
$apply
(
::ItemStack
& item,
::Random
& random,
::LootTableContext
&
context
);
37
38
MCNAPI
void
$apply
(
::ItemInstance
& itemInstance,
::Random
& random,
::LootTableContext
&
context
);
39
40
MCNAPI ::LootItemFunction::FunctionType
$getFunctionType
()
const
;
41
// NOLINTEND
42
43
public
:
44
// vftables
45
// NOLINTBEGIN
46
MCNAPI
static
void
**
$vftable
();
47
// NOLINTEND
48
};
ItemInstance
Definition
ItemInstance.h:15
ItemStack
Definition
ItemStack.h:23
LootItemFunction
Definition
LootItemFunction.h:17
LootTableContext
Definition
LootTableContext.h:19
Random
Definition
Random.h:10
SmeltItemFunction
Definition
SmeltItemFunction.h:16
SmeltItemFunction::$vftable
static MCAPI void ** $vftable()
SmeltItemFunction::$getFunctionType
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
SmeltItemFunction::$apply
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
SmeltItemFunction::$apply
MCAPI void $apply(::ItemInstance &itemInstance, ::Random &random, ::LootTableContext &context)
context
Definition
context.h:5
src-server
mc
world
level
storage
loot
functions
SmeltItemFunction.h
Generated on Tue Nov 25 2025 04:01:56 for LeviLamina by
1.12.0