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;
12class Random;
13namespace Json { class Value; }
14// clang-format on
15
17public:
18 // member variables
19 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 LootTableEntry& operator=(LootTableEntry const&);
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 0
33 virtual bool _createItem(::std::vector<::ItemStack>& output, ::Random& random, ::LootTableContext& context) const
34 /*override*/;
35
36 // vIndex: 2
37 virtual ::LootPoolEntry::EntryType getEntryType() const /*override*/;
38
39 // vIndex: 1
40 virtual ~LootTableEntry() /*override*/ = default;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCNAPI static ::std::unique_ptr<::LootPoolEntry>
47 deserialize(::Json::Value entry, bool usingUpcomingCreatorFeaturesExperiment);
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCNAPI bool $_createItem(::std::vector<::ItemStack>& output, ::Random& random, ::LootTableContext& context) const;
54
55 MCNAPI ::LootPoolEntry::EntryType $getEntryType() const;
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition ItemStack.h:23
Definition Value.h:16
Definition LootPoolEntry.h:13
Definition LootTableContext.h:19
Definition LootTableEntry.h:16
static MCAPI void ** $vftable()
static MCAPI ::std::unique_ptr<::LootPoolEntry > deserialize(::Json::Value entry, bool usingUpcomingCreatorFeaturesExperiment)
MCAPI bool $_createItem(::std::vector<::ItemStack > &output, ::Random &random, ::LootTableContext &context) const
MCAPI::LootPoolEntry::EntryType $getEntryType() const
Definition Random.h:10
Definition context.h:5
Definition Alias.h:14