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
44 // vIndex: 5
45 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
46 // NOLINTEND
47
48public:
49 // member functions
50 // NOLINTBEGIN
51 MCNAPI void _apply(::ItemStackBase& item, ::LootTableContext const& context) const;
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCNAPI static ::std::unique_ptr<::LootItemFunction>
58 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
65
67
68 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition ItemInstance.h:15
Definition ItemStackBase.h:36
Definition ItemStack.h:23
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:17
Definition LootTableContext.h:19
Definition Random.h:10
Definition SetPotionFunction.h:19
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
static MCAPI void ** $vftable()
MCAPI void $apply(::ItemStack &item, ::Random &, ::LootTableContext &context)
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
MCAPI void _apply(::ItemStackBase &item, ::LootTableContext const &context) const
MCAPI void $apply(::ItemInstance &item, ::Random &, ::LootTableContext &context)
Definition context.h:5
Definition Alias.h:14