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
46 // vIndex: 5
47 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCNAPI void _fillUserData(::CompoundTag& tag);
54 // NOLINTEND
55
56public:
57 // static functions
58 // NOLINTBEGIN
59 MCNAPI static ::std::unique_ptr<::LootItemFunction>
60 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCNAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
73
74 MCNAPI void $apply(::ItemInstance& itemInstance, ::Random&, ::LootTableContext&);
75
76 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
77 // NOLINTEND
78
79public:
80 // vftables
81 // NOLINTBEGIN
82 MCNAPI static void** $vftable();
83 // NOLINTEND
84};
Definition CompoundTag.h:13
Definition ItemInstance.h:15
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 SetBookContentsFunction.h:19
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
MCAPI void _fillUserData(::CompoundTag &tag)
MCAPI void $apply(::ItemInstance &itemInstance, ::Random &, ::LootTableContext &)
MCAPI void $apply(::ItemStack &item, ::Random &, ::LootTableContext &)
Definition Alias.h:14