LeviLamina
Loading...
Searching...
No Matches
RandomDyeFunction.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;
14class Random;
15namespace mce { class Color; }
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~RandomDyeFunction() /*override*/ = default;
24
25 // vIndex: 4
26 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext&) /*override*/;
27
28 // vIndex: 2
29 virtual void apply(::ItemInstance& item, ::Random& random, ::LootTableContext&) /*override*/;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI void _applyBase(::ItemStackBase& item, ::Random& random) const;
36
37 MCAPI ::mce::Color _getRandomArmorColor(::Random& random) const;
38 // NOLINTEND
39
40public:
41 // destructor thunk
42 // NOLINTBEGIN
43
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCFOLD void $apply(::ItemStack& item, ::Random& random, ::LootTableContext&);
50
51 MCFOLD void $apply(::ItemInstance& item, ::Random& random, ::LootTableContext&);
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCAPI static void** $vftable();
58 // NOLINTEND
59};
Definition ItemInstance.h:16
Definition ItemStackBase.h:35
Definition ItemStack.h:25
Definition LootItemFunction.h:17
Definition LootTableContext.h:20
Definition RandomDyeFunction.h:18
Definition Random.h:16