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 MCAPI BlockDescription(::BlockDescription const&);
54
55 MCAPI ::BlockDescription& operator=(::BlockDescription&&);
56
57 MCAPI ::BlockDescription& operator=(::BlockDescription const&);
58
59 MCAPI ~BlockDescription();
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(::BlockDescription const&);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73};
Definition ITrait.h:14
Definition BlockDescription.h:23
Definition BlockStateDefinition.h:13