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
LootItemMatchToolCondition.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/storage/loot/predicates/LootItemCondition.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Item
;
11
class
LootTableContext
;
12
class
Random
;
13
namespace
Json {
class
Value
; }
14
// clang-format on
15
16
class
LootItemMatchToolCondition :
public
::LootItemCondition {
17
public
:
18
// LootItemMatchToolCondition inner types declare
19
// clang-format off
20
struct
EnchantInfo
;
21
// clang-format on
22
23
// LootItemMatchToolCondition inner types define
24
struct
EnchantInfo {
25
public
:
26
// member variables
27
// NOLINTBEGIN
28
::ll::UntypedStorage<8, 32>
mUnk925f0a;
29
::ll::UntypedStorage<4, 8>
mUnkeb6509;
30
// NOLINTEND
31
32
public
:
33
// prevent constructor by default
34
EnchantInfo& operator=(EnchantInfo
const
&);
35
EnchantInfo(EnchantInfo
const
&);
36
EnchantInfo();
37
};
38
39
public
:
40
// member variables
41
// NOLINTBEGIN
42
::ll::UntypedStorage<4, 8>
mUnkeb8bef;
43
::ll::UntypedStorage<4, 8>
mUnkf68036;
44
::ll::UntypedStorage<8, 32>
mUnk361680;
45
::ll::UntypedStorage<8, 24>
mUnka00550;
46
::ll::UntypedStorage<8, 24>
mUnk7efdcf;
47
::ll::UntypedStorage<8, 24>
mUnk32586a;
48
::ll::UntypedStorage<8, 24>
mUnkcc3703;
49
// NOLINTEND
50
51
public
:
52
// prevent constructor by default
53
LootItemMatchToolCondition& operator=(LootItemMatchToolCondition
const
&);
54
LootItemMatchToolCondition(LootItemMatchToolCondition
const
&);
55
LootItemMatchToolCondition();
56
57
public
:
58
// virtual functions
59
// NOLINTBEGIN
60
virtual ::LootItemCondition::ConditionType getConditionType() const
/*override*/
;
61
62
virtual
bool
_applies(::
Random
&, ::
LootTableContext
&
context
)
/*override*/
;
63
// NOLINTEND
64
65
public:
66
// member functions
67
// NOLINTBEGIN
68
MCNAPI
bool
_doItemTagsMatch
(::
Item
const& item) const;
69
// NOLINTEND
70
71
public:
72
// static functions
73
// NOLINTBEGIN
74
MCNAPI static ::
std
::unique_ptr<::LootItemCondition>
deserialize
(::Json::Value const&
object
);
75
// NOLINTEND
76
77
public:
78
// virtual function thunks
79
// NOLINTBEGIN
80
MCNAPI ::LootItemCondition::ConditionType
$getConditionType
() const;
81
82
MCNAPI
bool
$_applies
(::
Random
&, ::
LootTableContext
&
context
);
83
84
85
// NOLINTEND
86
};
Item
Definition
Item.h:73
Json::Value
Definition
Value.h:16
LootItemMatchToolCondition::$getConditionType
MCAPI::LootItemCondition::ConditionType $getConditionType() const
LootItemMatchToolCondition::deserialize
static MCAPI ::std::unique_ptr<::LootItemCondition > deserialize(::Json::Value const &object)
LootItemMatchToolCondition::$_applies
MCAPI bool $_applies(::Random &, ::LootTableContext &context)
LootItemMatchToolCondition::_doItemTagsMatch
MCAPI bool _doItemTagsMatch(::Item const &item) const
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:10
std
STL namespace.
LootItemMatchToolCondition::EnchantInfo
Definition
LootItemMatchToolCondition.h:24
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
loot
predicates
LootItemMatchToolCondition.h
Generated on
for LeviLamina by
1.16.1