LeviLamina
Loading...
Searching...
No Matches
LootTableReference.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/storage/loot/entries/LootPoolEntry.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
ItemStack
;
11
class
LootItemCondition
;
12
class
LootTableContext
;
13
class
Random
;
14
namespace
Json {
class
Value; }
15
// clang-format on
16
17
class
LootTableReference
:
public
::LootPoolEntry
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::UntypedStorage<8, 32>
mUnkfe9ed0;
22
// NOLINTEND
23
24
public
:
25
// prevent constructor by default
26
LootTableReference
& operator=(
LootTableReference
const
&);
27
LootTableReference
(
LootTableReference
const
&);
28
LootTableReference
();
29
30
public
:
31
// virtual functions
32
// NOLINTBEGIN
33
// vIndex: 0
34
virtual
bool
_createItem(::std::vector<::ItemStack>& output,
::Random
& random,
::LootTableContext
&
context
)
const
35
/*override*/
;
36
37
// vIndex: 1
38
virtual
~LootTableReference
()
/*override*/
=
default
;
39
40
// vIndex: 2
41
virtual ::LootPoolEntry::EntryType getEntryType()
const
/*override*/
;
42
// NOLINTEND
43
44
public
:
45
// static functions
46
// NOLINTBEGIN
47
MCNAPI static ::std::unique_ptr<::LootPoolEntry>
deserialize
(
48
::Json::Value
entry,
49
int
weight,
50
int
quality,
51
::std::vector<::std::unique_ptr<::LootItemCondition>>& conditions
52
);
53
// NOLINTEND
54
55
public
:
56
// virtual function thunks
57
// NOLINTBEGIN
58
MCNAPI
bool
$_createItem
(::std::vector<::ItemStack>& output,
::Random
& random,
::LootTableContext
&
context
)
const
;
59
60
MCNAPI ::LootPoolEntry::EntryType
$getEntryType
()
const
;
61
// NOLINTEND
62
63
public
:
64
// vftables
65
// NOLINTBEGIN
66
MCNAPI
static
void
**
$vftable
();
67
// NOLINTEND
68
};
ItemStack
Definition
ItemStack.h:23
Json::Value
Definition
Value.h:16
LootItemCondition
Definition
LootItemCondition.h:12
LootPoolEntry
Definition
LootPoolEntry.h:13
LootTableContext
Definition
LootTableContext.h:19
LootTableReference
Definition
LootTableReference.h:17
LootTableReference::$vftable
static MCAPI void ** $vftable()
LootTableReference::$getEntryType
MCAPI::LootPoolEntry::EntryType $getEntryType() const
LootTableReference::deserialize
static MCAPI ::std::unique_ptr<::LootPoolEntry > deserialize(::Json::Value entry, int weight, int quality, ::std::vector<::std::unique_ptr<::LootItemCondition > > &conditions)
LootTableReference::$_createItem
MCAPI bool $_createItem(::std::vector<::ItemStack > &output, ::Random &random, ::LootTableContext &context) const
Random
Definition
Random.h:10
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src-server
mc
world
level
storage
loot
entries
LootTableReference.h
Generated on Tue Oct 28 2025 05:32:47 for LeviLamina by
1.12.0