LeviLamina
Loading...
Searching...
No Matches
EnchantRandomlyFunction.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;
13class Random;
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 // vIndex: 0
34 virtual ~EnchantRandomlyFunction() /*override*/ = default;
35
36 // vIndex: 4
37 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext& context) /*override*/;
38
39 // vIndex: 2
40 virtual void apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context) /*override*/;
41
42 // vIndex: 5
43 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCNAPI void $apply(::ItemStack& item, ::Random& random, ::LootTableContext& context);
50
52
53 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition EnchantRandomlyFunction.h:16
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
MCAPI void $apply(::ItemInstance &item, ::Random &random, ::LootTableContext &context)
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
static MCAPI void ** $vftable()
Definition ItemInstance.h:15
Definition ItemStack.h:23
Definition LootItemFunction.h:17
Definition LootTableContext.h:19
Definition Random.h:10
Definition context.h:5
Definition Alias.h:14