LeviLamina
Loading...
Searching...
No Matches
LootTableReference.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/loot/entries/LootPoolEntry.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemStack;
13class Random;
14namespace Json { class Value; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::std::string> mDir;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual bool _createItem(::std::vector<::ItemStack>& output, ::Random& random, ::LootTableContext& context) const
28 /*override*/;
29
30 virtual ~LootTableReference() /*override*/ = default;
31
32 virtual ::LootPoolEntry::EntryType getEntryType() const /*override*/;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static ::std::unique_ptr<::LootPoolEntry> deserialize(
39 ::Json::Value entry,
40 int weight,
41 int quality,
42 ::std::vector<::std::unique_ptr<::LootItemCondition>>& conditions
43 );
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI bool $_createItem(::std::vector<::ItemStack>& output, ::Random& random, ::LootTableContext& context) const;
50
51 MCFOLD ::LootPoolEntry::EntryType $getEntryType() const;
52
53
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition ItemStack.h:26
Definition Value.h:16
Definition LootItemCondition.h:12
Definition LootPoolEntry.h:14
Definition LootTableContext.h:20
Definition LootTableReference.h:17
static MCAPI void ** $vftable()
Definition Random.h:10
Definition context.h:5