LeviLamina
Loading...
Searching...
No Matches
SetArmorTrimFunction.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;
15class Random;
16namespace Json { class Value; }
17// clang-format on
18
20public:
21 // member variables
22 // NOLINTBEGIN
25 // NOLINTEND
26
27public:
28 // prevent constructor by default
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~SetArmorTrimFunction() /*override*/;
38
39 // vIndex: 4
40 virtual void apply(::ItemStack& item, ::Random&, ::LootTableContext& context) /*override*/;
41
42 // vIndex: 2
43 virtual void apply(::ItemInstance& item, ::Random&, ::LootTableContext& context) /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCNAPI void _apply(::ItemStackBase& item, ::LootTableContext const& context) const;
50 // NOLINTEND
51
52public:
53 // static functions
54 // NOLINTBEGIN
55 MCNAPI static ::std::unique_ptr<::LootItemFunction>
56 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
57 // NOLINTEND
58
59public:
60 // destructor thunk
61 // NOLINTBEGIN
62 MCNAPI void $dtor();
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
69
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition ItemInstance.h:15
Definition ItemStackBase.h:34
Definition ItemStack.h:23
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:17
Definition LootTableContext.h:19
Definition Random.h:10
Definition SetArmorTrimFunction.h:19
MCAPI void $apply(::ItemInstance &item, ::Random &, ::LootTableContext &context)
MCAPI void $dtor()
static MCAPI void ** $vftable()
MCAPI void _apply(::ItemStackBase &item, ::LootTableContext const &context) const
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
MCAPI void $apply(::ItemStack &item, ::Random &, ::LootTableContext &context)
Definition context.h:5
Definition Alias.h:14