Skip to content
LeviMC
English
AutoLightDark
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 ItemStackBase;
13class Random;
14namespace Json { class Value; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mTitle;
22 ::ll::TypedStorage<8, 32, ::std::string> mAuthor;
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::string>> mPages;
24 // NOLINTEND
25
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
30
31 virtual void applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext&) /*override*/;
32 // NOLINTEND
33
34public:
35 // static functions
36 // NOLINTBEGIN
37 MCNAPI static ::std::unique_ptr<::LootItemFunction>
38 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
45
47
48
49 // NOLINTEND
50};
Definition ItemStackBase.h:45
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootItemFunction.h:20
Definition LootTableContext.h:20
Definition Random.h:10
Definition SetBookContentsFunction.h:17
MCAPI::LootItemFunction::FunctionType $getFunctionType() const
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &, ::LootTableContext &)