LeviLamina
Loading...
Searching...
No Matches
RandomBlockStateFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4#include "mc/world/level/storage/loot/predicates/LootItemCondition.h"
5
6// auto generated inclusion list
7#include "mc/world/level/storage/loot/RandomValueBounds.h"
8#include "mc/world/level/storage/loot/functions/LootItemFunction.h"
9
10// auto generated forward declare list
11// clang-format off
12class ItemStackBase;
14class Random;
15// clang-format on
16
18public:
19 // RandomBlockStateFunction inner types define
20 enum class RemapComplexAliasBlockResult : int {
21 NotComplexAlias = 0,
22 Succeed = 1,
23 Fail = 2,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<4, 8, ::RandomValueBounds> mValues;
30 ::ll::TypedStorage<8, 32, ::std::string> mBlockStateName;
31 // NOLINTEND
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
37
38 virtual void applyPreVersion(::ItemStackBase& item, ::Random& random, ::LootTableContext& context) /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
45
46 MCAPI void $applyPreVersion(::ItemStackBase& item, ::Random& random, ::LootTableContext& context);
47
48
49 // NOLINTEND
50};
Definition ItemStackBase.h:44
Definition LootItemFunction.h:20
Definition LootTableContext.h:20
Definition RandomBlockStateFunction.h:17
Definition Random.h:10
Definition context.h:5