LeviLamina
Loading...
Searching...
No Matches
LootPoolEntry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class ItemStack;
9class Random;
10namespace Json { class Value; }
11// clang-format on
12
14public:
15 // LootPoolEntry inner types define
16 enum class EntryType : int {
17 LootItem = 0,
18 EmptyLootItem = 1,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 LootPoolEntry& operator=(LootPoolEntry const&);
37
38public:
39 // virtual functions
40 // NOLINTBEGIN
41 // vIndex: 0
42 virtual bool _createItem(::std::vector<::ItemStack>&, ::Random&, ::LootTableContext&) const = 0;
43
44 // vIndex: 1
45 virtual ~LootPoolEntry();
46
47 // vIndex: 2
48 virtual ::LootPoolEntry::EntryType getEntryType() const = 0;
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCNAPI static ::std::unique_ptr<::LootPoolEntry>
55 deserialize(::Json::Value const& entryJson, bool usingUpcomingCreatorFeaturesExperiment);
56 // NOLINTEND
57
58public:
59 // destructor thunk
60 // NOLINTBEGIN
61 MCNAPI void $dtor();
62 // NOLINTEND
63
64public:
65 // virtual function thunks
66 // NOLINTBEGIN
67
68 // NOLINTEND
69
70public:
71 // vftables
72 // NOLINTBEGIN
73 MCNAPI static void** $vftable();
74 // NOLINTEND
75};
Definition EmptyLootItem.h:15
Definition ItemStack.h:23
Definition Value.h:16
Definition LootItem.h:19
Definition LootPoolEntry.h:13
MCAPI void $dtor()
static MCAPI ::std::unique_ptr<::LootPoolEntry > deserialize(::Json::Value const &entryJson, bool usingUpcomingCreatorFeaturesExperiment)
static MCAPI void ** $vftable()
Definition LootTableContext.h:19
Definition LootTableEntry.h:16
Definition LootTableReference.h:17
Definition Random.h:10
Definition Alias.h:14