LeviLamina
Loading...
Searching...
No Matches
SetDataFromColorIndexFunction.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 Actor;
11class Item;
12class ItemInstance;
13class ItemStack;
15class Random;
16// clang-format on
17
19public:
20 // virtual functions
21 // NOLINTBEGIN
22 // vIndex: 0
23 virtual ~SetDataFromColorIndexFunction() /*override*/ = default;
24
25 // vIndex: 4
26 virtual void apply(::ItemStack& item, ::Random& random, ::LootTableContext& context) /*override*/;
27
28 // vIndex: 2
29 virtual void apply(::ItemInstance& item, ::Random& random, ::LootTableContext& context) /*override*/;
30
31 // vIndex: 5
32 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCNAPI bool _applyImpl(
39 ::Item const*& inOutItemDef,
40 ::Actor const* thisEntity,
41 ::std::string const& originalItemName,
42 int& outResultAux
43 );
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 Actor.h:102
Definition ItemInstance.h:15
Definition ItemStack.h:23
Definition Item.h:66
Definition LootItemFunction.h:17
Definition LootTableContext.h:19
Definition Random.h:10
Definition SetDataFromColorIndexFunction.h:18
MCAPI bool _applyImpl(::Item const *&inOutItemDef, ::Actor const *thisEntity, ::std::string const &originalItemName, int &outResultAux)
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
MCAPI void $apply(::ItemStack &item, ::Random &random, ::LootTableContext &context)
static MCAPI void ** $vftable()
MCAPI void $apply(::ItemInstance &item, ::Random &random, ::LootTableContext &context)
Definition context.h:5