LeviLamina
Loading...
Searching...
No Matches
EnchantRandomlyFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
7
8// auto generated forward declare list
9// clang-format off
11class ItemInstance;
12class ItemStack;
14class Random;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 24, ::std::vector<::EnchantmentInstance>> mEnchantments;
22 ::ll::TypedStorage<1, 1, bool> mTreasure;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~EnchantRandomlyFunction() /*override*/ = default;
29
30 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext& context) /*override*/;
31
32 virtual void apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context) /*override*/;
33
34 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
35 // NOLINTEND
36
37public:
38 // virtual function thunks
39 // NOLINTBEGIN
40 MCFOLD void $apply(::ItemStack& item, ::Random& random, ::LootTableContext& context);
41
42 MCFOLD void $apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context);
43
44 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
45
46
47 // NOLINTEND
48
49public:
50 // vftables
51 // NOLINTBEGIN
52 MCNAPI static void** $vftable();
53 // NOLINTEND
54};
Definition EnchantRandomlyFunction.h:17
static MCAPI void ** $vftable()
Definition EnchantmentInstance.h:8
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition Random.h:10
Definition context.h:5