Skip to content
LeviMC
English
AutoLightDark
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 ItemStackBase;
14class Random;
15// clang-format on
16
18public:
19 // virtual functions
20 // NOLINTBEGIN
21 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
22
23 virtual void applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext& context) /*override*/;
24
25 virtual void apply26U6(::ItemStackBase& item, ::Random& random, ::LootTableContext& context) /*override*/;
26 // NOLINTEND
27
28public:
29 // static functions
30 // NOLINTBEGIN
31 MCNAPI static bool _applyImpl(
32 ::Item const*& inOutItemDef,
33 ::Actor const* thisEntity,
34 ::std::string const& originalItemName,
35 int& outResultAux
36 );
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
43
45
47
48
49 // NOLINTEND
50
51public:
52 // vftables
53 // NOLINTBEGIN
54 MCNAPI static void** $vftable();
55 // NOLINTEND
56};
Definition Actor.h:116
Definition ItemStackBase.h:45
Definition Item.h:73
Definition LootItemFunction.h:20
Definition LootTableContext.h:20
Definition Random.h:10
Definition SetDataFromColorIndexFunction.h:17
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &, ::LootTableContext &context)
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
static MCAPI void ** $vftable()
MCAPI void $apply26U6(::ItemStackBase &item, ::Random &random, ::LootTableContext &context)
static MCAPI bool _applyImpl(::Item const *&inOutItemDef, ::Actor const *thisEntity, ::std::string const &originalItemName, int &outResultAux)
Definition context.h:5