LeviLamina
Loading...
Searching...
No Matches
BlockDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_26_20/block/VanillaBlockData.h"
7#include "mc/world/level/block/definition/BlockMenuCategory.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace BlockTrait { class ITrait; }
13// clang-format on
14
15struct BlockDescription {
16public:
17 // BlockDescription inner types declare
18 // clang-format off
19 struct BlockTraits;
20 // clang-format on
21
22 // BlockDescription inner types define
23 struct BlockTraits {
24 public:
25 // BlockTraits inner types define
26 using CerealDefaultValueOptOut = void;
27
28 public:
29 // member variables
30 // NOLINTBEGIN
31 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::shared_ptr<::BlockTrait::ITrait>>> mMap;
32 // NOLINTEND
33 };
34
35public:
36 // member variables
37 // NOLINTBEGIN
38 ::ll::TypedStorage<8, 32, ::std::string> mIdentifier;
39 ::ll::TypedStorage<8, 72, ::SharedTypes::v1_26_20::BlockDefinition::VanillaBlockData> mVanillaBlockData;
40 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateDefinition>> mStates;
41 ::ll::TypedStorage<8, 40, ::BlockMenuCategory> mMenuCategory;
42 ::ll::TypedStorage<8, 64, ::BlockDescription::BlockTraits> mTraits;
43 ::ll::TypedStorage<1, 1, bool> mIsBaseGameBlock;
44 // NOLINTEND
45
46public:
47 // prevent constructor by default
48 BlockDescription();
49
50public:
51 // member functions
52 // NOLINTBEGIN
53#ifdef LL_PLAT_C
54 MCAPI BlockDescription(::BlockDescription&&);
55#endif
56
57 MCAPI BlockDescription(::BlockDescription const&);
58
59 MCAPI ::BlockDescription& operator=(::BlockDescription&&);
60
61 MCAPI ::BlockDescription& operator=(::BlockDescription const&);
62
63 MCAPI ~BlockDescription();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69#ifdef LL_PLAT_C
70 MCAPI void* $ctor(::BlockDescription&&);
71#endif
72
73 MCAPI void* $ctor(::BlockDescription const&);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCAPI void $dtor();
80 // NOLINTEND
81};
Definition ITrait.h:14
Definition BlockDescription.h:23
Definition BlockStateDefinition.h:13