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