Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SetItemLoreFunction.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, 24, ::std::vector<::std::string>> mLore;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
28
29 virtual void applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext&) /*override*/;
30 // NOLINTEND
31
32public:
33 // static functions
34 // NOLINTBEGIN
35 MCNAPI static ::std::unique_ptr<::LootItemFunction>
36 deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition>>& predicates);
37 // NOLINTEND
38
39public:
40 // virtual function thunks
41 // NOLINTBEGIN
42 MCNAPI ::LootItemFunction::FunctionType $getFunctionType() const;
43
45
46
47 // NOLINTEND
48};
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 SetItemLoreFunction.h:17
static MCAPI ::std::unique_ptr<::LootItemFunction > deserialize(::Json::Value object, ::std::vector<::std::unique_ptr<::LootItemCondition > > &predicates)
MCAPI void $applyPreVersion(::ItemStackBase &item, ::Random &, ::LootTableContext &)
MCAPI::LootItemFunction::FunctionType $getFunctionType() const