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 ItemInstance;
11class ItemStack;
14class Random;
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 32, ::std::string> mPotionName;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~SetPotionFunction() /*override*/;
29
30 virtual void apply(::ItemStack& item, ::Random&, ::LootTableContext&) /*override*/;
31
32 virtual void apply(::ItemInstance& item, ::Random&, ::LootTableContext&) /*override*/;
33
34 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCFOLD ::std::string const& getPotionName() const;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static ::std::unique_ptr<::LootItemFunction>
47 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCFOLD void $apply(::ItemStack& item, ::Random&, ::LootTableContext&);
60
61 MCFOLD void $apply(::ItemInstance& item, ::Random&, ::LootTableContext&);
62
63 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition ItemInstance.h:15
Definition ItemStack.h:35
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:17
Definition LootTableContext.h:21
Definition Random.h:10
Definition SetPotionFunction.h:18
static MCAPI void ** $vftable()