LeviLamina
Loading...
Searching...
No Matches
EnchantWithLevelsFunction.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
LootTableContext
;
13
class
Random
;
14
struct
Trade
;
15
// clang-format on
16
17
class
EnchantWithLevelsFunction
:
public
::LootItemFunction
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<4, 8, ::RandomValueBounds> mLevels;
22
::ll::TypedStorage<1, 1, bool> mTreasure;
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
int
33
applyPreVersion(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&,
::Trade
const
& trade)
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// virtual function thunks
38
// NOLINTBEGIN
39
MCFOLD ::LootItemFunction::FunctionType $getFunctionType()
const
;
40
41
MCAPI
void
$applyPreVersion(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&);
42
43
MCAPI
int
$applyPreVersion(
::ItemStackBase
& item,
::Random
& random,
::LootTableContext
&,
::Trade
const
& trade);
44
45
46
// NOLINTEND
47
};
EnchantWithLevelsFunction
Definition
EnchantWithLevelsFunction.h:17
ItemStackBase
Definition
ItemStackBase.h:44
LootItemFunction
Definition
LootItemFunction.h:20
LootTableContext
Definition
LootTableContext.h:20
Random
Definition
Random.h:10
Trade
Definition
Trade.h:10
src
mc
world
level
storage
loot
functions
EnchantWithLevelsFunction.h
Generated on
for LeviLamina by
1.16.1