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: 1
37 virtual ~LootTableEntry() /*override*/ = default;
38 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCNAPI static ::std::unique_ptr<::LootPoolEntry>
44 deserialize(::Json::Value entry, bool usingUpcomingCreatorFeaturesExperiment);
45 // NOLINTEND
46
47public:
48 // virtual function thunks
49 // NOLINTBEGIN
50 MCNAPI bool $_createItem(::std::vector<::ItemStack>& output, ::Random& random, ::LootTableContext& context) const;
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition ItemStack.h:25
Definition Value.h:16
Definition LootPoolEntry.h:13
Definition LootTableContext.h:20
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
Definition Random.h:11
Definition context.h:5
Definition Alias.h:14