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