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/DetectionRule.h"
8
9// auto generated forward declare list
10// clang-format off
11class Block;
20// clang-format on
21
23public:
24 // BlockComponentDirectData inner types define
25 enum class LayerBitMask : int {
26 None = 0,
27 Init = 1,
28 Rendering = 2,
29 };
30
31public:
32 // member variables
33 // NOLINTBEGIN
34 ::ll::TypedStorage<8, 8, ::BlockTransformationComponent const*> mBlockTransformationComponent;
35 ::ll::TypedStorage<8, 8, ::BlockCollisionBoxComponent const*> mBlockCollisionBoxComponent;
36 ::ll::TypedStorage<8, 8, ::BlockSelectionBoxComponent const*> mBlockSelectionBoxComponent;
37 ::ll::TypedStorage<8, 8, ::BlockRedstoneComponent const*> mBlockRedstoneComponent;
38 ::ll::TypedStorage<8, 8, ::BlockGeometryComponent const*> mBlockGeometryComponent;
39 ::ll::TypedStorage<8, 8, ::BlockBakedMaterialDataComponent const*> mBlockBakedMaterialDataComponent;
40 ::ll::TypedStorage<8, 8, ::BlockItemVisualComponent const*> mBlockItemVisualComponent;
41 ::ll::TypedStorage<1, 1, bool> mIsFullBlock;
42 ::ll::TypedStorage<1, 1, bool> mUseNewTessellation;
43 ::ll::TypedStorage<1, 1, bool> mNeedsLegacyTopRotation;
44 ::ll::TypedStorage<1, 1, bool> mIsOpaqueFullBlock;
45 ::ll::TypedStorage<1, 1, ::Brightness> mLightEmission;
46 ::ll::TypedStorage<1, 1, ::Brightness> mLight;
47 ::ll::TypedStorage<4, 4, float> mExplosionResistance;
48 ::ll::TypedStorage<4, 4, int> mBurnOdds;
49 ::ll::TypedStorage<4, 4, int> mFlameOdds;
50 ::ll::TypedStorage<4, 4, float> mFriction;
51 ::ll::TypedStorage<4, 4, float> mDestroySpeed;
52 ::ll::TypedStorage<1, 4, ::DetectionRule> mWaterDetectionRule;
53 ::ll::TypedStorage<4, 4, ::BlockComponentDirectData::LayerBitMask> mFinalized;
54 ::ll::TypedStorage<8, 8, ::BlockDestructibleByMiningComponent const*> mDestructibleByMiningComponent;
55 // NOLINTEND
56
57public:
58 // member functions
59 // NOLINTBEGIN
60 MCAPI void _finalizeInit(::Block const& block);
61 // NOLINTEND
62};
Definition BlockTransformationComponent.h:9
Definition Block.h:38
Definition BlockBakedMaterialDataComponent.h:8
Definition BlockCollisionBoxComponent.h:8
Definition BlockComponentDirectData.h:22
Definition BlockDestructibleByMiningComponent.h:10
Definition BlockGeometryComponent.h:15
Definition BlockItemVisualComponent.h:12
Definition BlockRedstoneComponent.h:5
Definition BlockSelectionBoxComponent.h:8