LeviLamina
Loading...
Searching...
No Matches
SetBannerDetailsFunction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/item/ItemColor.h"
7#include "mc/world/level/block/BannerBlockType.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;
15namespace Json { class Value; }
16// clang-format on
17
19public:
20 // SetBannerDetailsFunction inner types define
21 using Pattern = ::std::pair<uchar, ::ItemColor>;
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<4, 4, ::BannerBlockType> mBannerType;
27 ::ll::TypedStorage<1, 1, ::ItemColor> mBaseColor;
28 ::ll::TypedStorage<8, 24, ::std::vector<::std::pair<uchar, ::ItemColor>>> mBannerPatterns;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::LootItemFunction::FunctionType getFunctionType() const /*override*/;
35
36 virtual void applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext&) /*override*/;
37 // NOLINTEND
38
39public:
40 // static functions
41 // NOLINTBEGIN
42 MCAPI static void
43 _parseBannerPattern(::std::vector<::std::pair<uchar, ::ItemColor>>& patternVec, ::Json::Value const& object);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCFOLD ::LootItemFunction::FunctionType $getFunctionType() const;
50
51 MCAPI void $applyPreVersion(::ItemStackBase& item, ::Random&, ::LootTableContext&);
52
53
54 // NOLINTEND
55};
Definition ItemStackBase.h:44
Definition Value.h:16
Definition LootItemFunction.h:20
Definition LootTableContext.h:20
Definition Random.h:10
Definition SetBannerDetailsFunction.h:18