LeviLamina
Loading...
Searching...
No Matches
EnchantRandomlyFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/item/enchanting/EnchantmentInstance.h"
5
6// auto generated inclusion list
7#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9// auto generated forward declare list
10// clang-format off
12class ItemStackBase;
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 ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
29
30 virtual void applyPreVersion(::ItemStackBase& item, ::Random& random, ::LootTableContext&) /*override*/;
31 // NOLINTEND
32
33public:
34 // virtual function thunks
35 // NOLINTBEGIN
36 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
37
38 MCAPI void $applyPreVersion(::ItemStackBase& item, ::Random& random, ::LootTableContext&);
39
40
41 // NOLINTEND
42};
Definition EnchantRandomlyFunction.h:17
Definition EnchantmentInstance.h:8
Definition ItemStackBase.h:44
Definition LootItemFunction.h:20
Definition LootTableContext.h:20
Definition Random.h:10