LeviLamina
Loading...
Searching...
No Matches
LootPool.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/storage/loot/RandomValueBounds.h"
7
8// auto generated forward declare list
9// clang-format off
10class ItemStack;
12class LootPoolEntry;
13class LootPoolTiers;
15class Random;
16// clang-format on
17
18class LootPool {
19public:
20 // member variables
21 // NOLINTBEGIN
22 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::LootPoolEntry>>> mEntries;
23 ::ll::TypedStorage<8, 24, ::std::vector<::std::unique_ptr<::LootItemCondition>>> mConditions;
24 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LootPoolTiers>> mTiers;
25 ::ll::TypedStorage<4, 8, ::RandomValueBounds> mRolls;
26 ::ll::TypedStorage<4, 8, ::RandomValueBounds> mBonusRolls;
27 // NOLINTEND
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI void addRandomItems(::std::vector<::ItemStack>& result, ::Random& random, ::LootTableContext& context);
33
34 MCAPI ~LootPool();
35 // NOLINTEND
36
37public:
38 // destructor thunk
39 // NOLINTBEGIN
40 MCAPI void $dtor();
41 // NOLINTEND
42};
Definition ItemStack.h:24
Definition LootItemCondition.h:12
Definition LootPoolEntry.h:14
Definition LootPoolTiers.h:5
Definition LootPool.h:18
Definition LootTableContext.h:20
Definition Random.h:10
Definition context.h:5