LeviLamina
Loading...
Searching...
No Matches
SetPotionFunction.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
10class ItemStackBase;
13class Random;
14namespace Json { class Value; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mPotionName;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
28
29 virtual void applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext&) /*override*/;
30 // NOLINTEND
31
32public:
33 // static functions
34 // NOLINTBEGIN
35#ifdef LL_PLAT_C
36 MCAPI static ::std::unique_ptr<::LootItemFunction>
37 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
38#endif
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
45
46 MCAPI void $applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext&);
47
48
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56};
Definition ItemStackBase.h:44
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:20
Definition LootTableContext.h:20
Definition Random.h:10
Definition SetPotionFunction.h:17
static MCAPI void ** $vftable()