29 enum class LayerBitMask :
int {
40 ::ll::TypedStorage<8, 8, ::BlockTransformationComponent const*> mBlockTransformationComponent;
41 ::ll::TypedStorage<8, 8, ::BlockCollisionBoxComponent const*> mBlockCollisionBoxComponent;
42 ::ll::TypedStorage<8, 8, ::BlockSelectionBoxComponent const*> mBlockSelectionBoxComponent;
43 ::ll::TypedStorage<8, 8, ::BlockRedstoneComponent const*> mBlockRedstoneComponent;
44 ::ll::TypedStorage<8, 8, ::BlockGeometryComponent const*> mBlockGeometryComponent;
45 ::ll::TypedStorage<1, 1, bool> mIsFullBlock;
46 ::ll::TypedStorage<1, 1, bool> mUseNewTessellation;
47 ::ll::TypedStorage<1, 1, bool> mNeedsLegacyTopRotation;
48 ::ll::TypedStorage<1, 1, bool> mIsOpaqueFullBlock;
49 ::ll::TypedStorage<1, 1, ::Brightness> mLightEmission;
50 ::ll::TypedStorage<1, 1, ::Brightness> mLight;
51 ::ll::TypedStorage<1, 1, ::LavaFlammable> mLavaFlammable;
52 ::ll::TypedStorage<2, 2, ::FlameOdds> mFlameOdds;
53 ::ll::TypedStorage<2, 2, ::BurnOdds> mBurnOdds;
54 ::ll::TypedStorage<4, 4, float> mExplosionResistance;
55 ::ll::TypedStorage<4, 4, float> mFriction;
56 ::ll::TypedStorage<4, 4, float> mDestroySpeed;
57 ::ll::TypedStorage<1, 5, ::SharedTypes::v1_26_0::DetectionRule> mWaterDetectionRule;
58 ::ll::TypedStorage<2, 2, ::VoxelShapes::RegistryHandle> mOcclusionShapeHandle;
59 ::ll::TypedStorage<2, 12, ::Bedrock::DenseEnumMap<::SharedTypes::Facing, ::VoxelShapes::RegistryHandle, 6>>
60 mOcclusionShapeHandlesByFace;
61 ::ll::TypedStorage<4, 4, ::BlockComponentDirectData::LayerBitMask> mFinalized;
62 ::ll::TypedStorage<8, 8, ::BlockDestructibleByMiningComponent const*> mDestructibleByMiningComponent;
68 MCAPI
void _finalizeInit(
::Block const& block);
71 MCFOLD
bool _useNewTessellationInternal()
const;
74 MCFOLD ::BlockCollisionBoxComponent
const* blockCollisionBoxComponent()
const;
77 MCFOLD ::BlockGeometryComponent
const* blockGeometryComponent()
const;
80 MCFOLD ::BlockRedstoneComponent
const* blockRedstoneComponent()
const;
82 MCFOLD ::BlockSelectionBoxComponent
const* blockSelectionBoxComponent()
const;
85 MCFOLD ::BlockTransformationComponent
const* blockTransformationComponent()
const;
88 MCFOLD ::BlockDestructibleByMiningComponent
const* destructibleByMiningComponent()
const;
90 MCAPI
void finalize(
::Block const& block, ::BlockComponentDirectData::LayerBitMask layersToFinalize);
92 MCAPI
int getBurnOdds()
const;
94 MCFOLD
float getDestroySpeed()
const;
96 MCAPI
float getExplosionResistance()
const;
98 MCAPI
int getFlameOdds()
const;
100 MCFOLD
float getFriction()
const;
103 MCAPI ::VoxelShapes::RegistryHandle getOcclusionFaceShapeHandle(uchar face)
const;
105 MCAPI ::VoxelShapes::RegistryHandle getOcclusionShapeHandle()
const;
108 MCAPI ::SharedTypes::v1_26_0::DetectionRule getWaterDetectionRule()
const;
111 MCAPI
bool isFinalized(::BlockComponentDirectData::LayerBitMask layers)
const;
114 MCFOLD
bool isFullBlockGeometry()
const;
116 MCAPI ::LavaFlammable isLavaFlammable()
const;
118 MCFOLD
bool isOpaqueFullBlock()
const;
120 MCAPI ::Brightness light()
const;
122 MCAPI ::Brightness lightEmission()
const;
125 MCFOLD
void setUseNewTessellation(
bool enabled);