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 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::shared_ptr<::BlockTrait::ITrait>>> mMap;
28 // NOLINTEND
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 32, ::std::string> mIdentifier;
35 ::ll::TypedStorage<8, 56, ::SharedTypes::v1_26_20::BlockDefinition::VanillaBlockData> mVanillaBlockData;
36 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateDefinition>> mStates;
37 ::ll::TypedStorage<8, 40, ::BlockMenuCategory> mMenuCategory;
38 ::ll::TypedStorage<8, 64, ::BlockDescription::BlockTraits> mTraits;
39 ::ll::TypedStorage<1, 1, bool> mIsBaseGameBlock;
40 // NOLINTEND
41
42public:
43 // prevent constructor by default
44 BlockDescription();
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI BlockDescription(::BlockDescription&&);
50
51 MCAPI BlockDescription(::BlockDescription const&);
52
53 MCAPI ::BlockDescription& operator=(::BlockDescription&&);
54
55 MCAPI ::BlockDescription& operator=(::BlockDescription const&);
56
57 MCAPI ~BlockDescription();
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor(::BlockDescription&&);
64
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