LeviLamina
Loading...
Searching...
No Matches
LootTable.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
Container
;
8
class
ItemStack
;
9
class
LootTableContext
;
10
class
Random
;
11
namespace
Json {
class
Value; }
12
// clang-format on
13
14
class
LootTable
{
15
public
:
16
// member variables
17
// NOLINTBEGIN
18
::ll::UntypedStorage<8, 32>
mUnkf60c26;
19
::ll::UntypedStorage<8, 24>
mUnkcc1980;
20
// NOLINTEND
21
22
public
:
23
// prevent constructor by default
24
LootTable
& operator=(
LootTable
const
&);
25
LootTable
(
LootTable
const
&);
26
LootTable
();
27
28
public
:
29
// member functions
30
// NOLINTBEGIN
31
MCAPI
void
deserialize(
::Json::Value
const
& table,
bool
usingUpcomingCreatorFeaturesExperiment);
32
33
MCAPI
void
fill(
::Container
& container,
::Random
& random,
::LootTableContext
&
context
);
34
35
MCAPI ::std::vector<int> getAvailableSlots(
::Container
& container,
::Random
& random);
36
37
MCAPI ::std::vector<::ItemStack> getRandomItems(
::Random
& random,
::LootTableContext
&
context
)
const
;
38
39
MCAPI
void
shuffleAndSplitItems(::std::vector<::ItemStack>& result,
int
availableSlots,
::Random
& random);
40
// NOLINTEND
41
};
Container
Definition
Container.h:30
ItemStack
Definition
ItemStack.h:25
Json::Value
Definition
Value.h:16
LootTableContext
Definition
LootTableContext.h:20
LootTable
Definition
LootTable.h:14
Random
Definition
Random.h:16
context
Definition
context.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
storage
loot
LootTable.h
Generated on Sat Apr 26 2025 05:56:31 for LeviLamina by
1.12.0