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;
12class ItemStackBase;
15class Random;
16namespace Json { class Value; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 SetPotionFunction& operator=(SetPotionFunction const&);
31
32public:
33 // virtual functions
34 // NOLINTBEGIN
35 // vIndex: 0
36 virtual ~SetPotionFunction() /*override*/ = default;
37
38 // vIndex: 4
39 virtual void apply(::ItemStack& item, ::Random&, ::LootTableContext& context) /*override*/;
40
41 // vIndex: 2
42 virtual void apply(::ItemInstance& item, ::Random&, ::LootTableContext& context) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI void _apply(::ItemStackBase& item, ::LootTableContext const& context) const;
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static ::std::unique_ptr<::LootItemFunction>
55 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67 MCFOLD void $apply(::ItemStack& item, ::Random&, ::LootTableContext& context);
68
69 MCFOLD void $apply(::ItemInstance& item, ::Random&, ::LootTableContext& context);
70 // NOLINTEND
71
72public:
73 // vftables
74 // NOLINTBEGIN
75 MCAPI static void** $vftable();
76 // NOLINTEND
77};
Definition ItemInstance.h:16
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition Random.h:16
Definition SetPotionFunction.h:19
Definition context.h:5
Definition Alias.h:14