LeviLamina
Loading...
Searching...
No Matches
BlockComponentDirectData.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/Brightness.h"
7#include "mc/world/level/block/BurnOdds.h"
8#include "mc/world/level/block/DetectionRule.h"
9#include "mc/world/level/block/FlameOdds.h"
10#include "mc/world/level/block/LavaFlammable.h"
11
12// auto generated forward declare list
13// clang-format off
14class Block;
23// clang-format on
24
26public:
27 // BlockComponentDirectData inner types define
28 enum class LayerBitMask : int {
29 None = 0,
30 Init = 1,
31 Rendering = 2,
32 };
33
34public:
35 // member variables
36 // NOLINTBEGIN
37 ::ll::TypedStorage<8, 8, ::BlockTransformationComponent const*> mBlockTransformationComponent;
38 ::ll::TypedStorage<8, 8, ::BlockCollisionBoxComponent const*> mBlockCollisionBoxComponent;
39 ::ll::TypedStorage<8, 8, ::BlockSelectionBoxComponent const*> mBlockSelectionBoxComponent;
40 ::ll::TypedStorage<8, 8, ::BlockRedstoneComponent const*> mBlockRedstoneComponent;
41 ::ll::TypedStorage<8, 8, ::BlockGeometryComponent const*> mBlockGeometryComponent;
42 ::ll::TypedStorage<8, 8, ::BlockBakedMaterialDataComponent const*> mBlockBakedMaterialDataComponent;
43 ::ll::TypedStorage<8, 8, ::BlockItemVisualComponent const*> mBlockItemVisualComponent;
44 ::ll::TypedStorage<1, 1, bool> mIsFullBlock;
45 ::ll::TypedStorage<1, 1, bool> mUseNewTessellation;
46 ::ll::TypedStorage<1, 1, bool> mNeedsLegacyTopRotation;
47 ::ll::TypedStorage<1, 1, bool> mIsOpaqueFullBlock;
48 ::ll::TypedStorage<1, 1, ::Brightness> mLightEmission;
49 ::ll::TypedStorage<1, 1, ::Brightness> mLight;
50 ::ll::TypedStorage<1, 1, ::LavaFlammable> mLavaFlammable;
51 ::ll::TypedStorage<2, 2, ::FlameOdds> mFlameOdds;
52 ::ll::TypedStorage<2, 2, ::BurnOdds> mBurnOdds;
53 ::ll::TypedStorage<4, 4, float> mExplosionResistance;
54 ::ll::TypedStorage<4, 4, float> mFriction;
55 ::ll::TypedStorage<4, 4, float> mDestroySpeed;
56 ::ll::TypedStorage<1, 4, ::DetectionRule> mWaterDetectionRule;
57 ::ll::TypedStorage<4, 4, ::BlockComponentDirectData::LayerBitMask> mFinalized;
58 ::ll::TypedStorage<8, 8, ::BlockDestructibleByMiningComponent const*> mDestructibleByMiningComponent;
59 // NOLINTEND
60
61public:
62 // member functions
63 // NOLINTBEGIN
64 MCAPI void _finalizeInit(::Block const& block);
65 // NOLINTEND
66};
Definition BlockTransformationComponent.h:9
Definition Block.h:37
Definition BlockBakedMaterialDataComponent.h:8
Definition BlockCollisionBoxComponent.h:8
Definition BlockComponentDirectData.h:25
Definition BlockDestructibleByMiningComponent.h:10
Definition BlockGeometryComponent.h:16
Definition BlockItemVisualComponent.h:12
Definition BlockRedstoneComponent.h:5
Definition BlockSelectionBoxComponent.h:8