LeviLamina
Loading...
Searching...
No Matches
SetItemDamageFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/loot/RandomValueBounds.h"
7#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
8
9// auto generated forward declare list
10// clang-format off
11class ItemInstance;
12class ItemStack;
14class Random;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 8, ::RandomValueBounds> mDamage;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ~SetItemDamageFunction() /*override*/ = default;
28
29 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext& context) /*override*/;
30
31 virtual void apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context) /*override*/;
32
33 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
34 // NOLINTEND
35
36public:
37 // virtual function thunks
38 // NOLINTBEGIN
39 MCFOLD void $apply(::ItemStack& item, ::Random& random, ::LootTableContext& context);
40
41 MCFOLD void $apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context);
42
43 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
44
45
46 // NOLINTEND
47
48public:
49 // vftables
50 // NOLINTBEGIN
51 MCNAPI static void** $vftable();
52 // NOLINTEND
53};
Definition ItemInstance.h:15
Definition ItemStack.h:26
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition Random.h:10
Definition SetItemDamageFunction.h:17
static MCAPI void ** $vftable()
Definition context.h:5