LeviLamina
Loading...
Searching...
No Matches
LootTableEntry.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;
11class LootTable;
13class Random;
14namespace Json { class Value; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootTable>> mTable;
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 ::LootPoolEntry::EntryType getEntryType() const /*override*/;
31
32 virtual ~LootTableEntry() /*override*/ = default;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCAPI static ::std::unique_ptr<::LootPoolEntry>
39 deserialize(::Json::Value entry, bool usingUpcomingCreatorFeaturesExperiment);
40 // NOLINTEND
41
42public:
43 // virtual function thunks
44 // NOLINTBEGIN
45 MCAPI bool $_createItem(::std::vector<::ItemStack>& output, ::Random& random, ::LootTableContext& context) const;
46
47 MCFOLD ::LootPoolEntry::EntryType $getEntryType() const;
48
49
50 // NOLINTEND
51
52public:
53 // vftables
54 // NOLINTBEGIN
55 MCNAPI static void** $vftable();
56 // NOLINTEND
57};
Definition ItemStack.h:26
Definition Value.h:16
Definition LootPoolEntry.h:14
Definition LootTableContext.h:20
Definition LootTableEntry.h:17
static MCAPI void ** $vftable()
Definition LootTable.h:15
Definition Random.h:10
Definition context.h:5