Skip to content
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
English
English
简体中文
繁體中文
Auto
Light
Dark
Auto
Light
Dark
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Resources
LeviLamina on GitHub
LeviMC
Home
Projects
Docs
6
LeviLamina
Mod loader for Minecraft Bedrock Edition
LegacyScriptEngine
Runs LLSE script plugins on LeviLamina
lip
General package installer
LeviLauncher
Bedrock launcher for Windows and Android
Be.D.D.
Scripted client input for mod tests
bedboo
Bedrock bots with a mineflayer-compatible API
All repositories on GitHub
Mods
Blog
Community
About
API Reference
On this page
LeviLamina
User Guides
Developer Guides
API Guides
API Reference
Maintainer Guides
Search
Ctrl
K
Loading...
Searching...
No Matches
SetDataFromColorIndexFunction.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
Actor
;
11
class
Item
;
12
class
ItemStackBase
;
13
class
LootTableContext
;
14
class
Random
;
15
// clang-format on
16
17
class
SetDataFromColorIndexFunction
:
public
::LootItemFunction
{
18
public
:
19
// virtual functions
20
// NOLINTBEGIN
21
virtual ::LootItemFunction::FunctionType getFunctionType()
const
/*override*/
;
22
23
virtual
void
applyPreVersion(
::ItemStackBase
& item,
::Random
&,
::LootTableContext
&
context
)
/*override*/
;
24
25
virtual
void
apply26U6(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&
context
)
/*override*/
;
26
// NOLINTEND
27
28
public
:
29
// static functions
30
// NOLINTBEGIN
31
MCNAPI
static
bool
_applyImpl
(
32
::Item
const
*& inOutItemDef,
33
::Actor
const
* thisEntity,
34
::std::string
const
& originalItemName,
35
int
& outResultAux
36
);
37
// NOLINTEND
38
39
public
:
40
// virtual function thunks
41
// NOLINTBEGIN
42
MCNAPI ::LootItemFunction::FunctionType
$getFunctionType
()
const
;
43
44
MCNAPI
void
$applyPreVersion
(
::ItemStackBase
& item,
::Random
&,
::LootTableContext
&
context
);
45
46
MCNAPI
void
$apply26U6
(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&
context
);
47
48
49
// NOLINTEND
50
51
public
:
52
// vftables
53
// NOLINTBEGIN
54
MCNAPI
static
void
**
$vftable
();
55
// NOLINTEND
56
};
Actor
Definition
Actor.h:116
ItemStackBase
Definition
ItemStackBase.h:45
Item
Definition
Item.h:73
LootItemFunction
Definition
LootItemFunction.h:20
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:10
SetDataFromColorIndexFunction
Definition
SetDataFromColorIndexFunction.h:17
SetDataFromColorIndexFunction::$applyPreVersion
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &, ::LootTableContext &context)
SetDataFromColorIndexFunction::$getFunctionType
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
SetDataFromColorIndexFunction::$vftable
static MCAPI void ** $vftable()
SetDataFromColorIndexFunction::$apply26U6
MCAPI void $apply26U6(::ItemStackBase &item, ::Random &random, ::LootTableContext &context)
SetDataFromColorIndexFunction::_applyImpl
static MCAPI bool _applyImpl(::Item const *&inOutItemDef, ::Actor const *thisEntity, ::std::string const &originalItemName, int &outResultAux)
context
Definition
context.h:5
src
mc
world
level
storage
loot
functions
SetDataFromColorIndexFunction.h
Generated on
for LeviLamina by
1.16.1