Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BlockMultiBlockComponent Class Reference
Inheritance diagram for BlockMultiBlockComponent:

Public Member Functions

MCAPI bool _forEachPart (::Block const &part, ::brstd::function_ref< bool(::BlockPart const &, uchar)> callback) const
MCAPI uchar _getDirectionOverride (::Block const &part) const
MCAPI bool canSurvive (::BlockSource const &region, ::Block const &block, ::BlockPos const &pos) const
MCAPI bool forEachPartInWorldSpace (::Block const &part, ::BlockPos const &partPos, ::brstd::function_ref< bool(::BlockPart const &)> callback) const
MCAPI::BlockPos getDistanceToMultiBlockEnd (::Block const &part) const
MCAPI bool isMultiBlockStart (::Block const &part) const
MCAPI bool isSnowLoggable (::Block const &part) const
MCAPI void onEvent (::BlockEvents::BlockBreakEvent &event) const

Static Public Member Functions

static MCAPI ::SharedTypes::v1_26_20::MultiBlockPart getMultiBlockPartId (::Block const &part)
static MCAPI ::BlockPos getSnowLoggablePosition (::Block const &part, ::BlockSource const &region, ::BlockPos const &snowLayerPosition)
static MCAPI void onPlace (::BlockSource &region, ::Block const &placementBlock, ::Block const &oldBlock, ::BlockPos const &pos, ::BlockChangeContext const &changeSourceContext)
static MCAPI void setSnowLoggablePart (::Block &part)
static MCAPI void setupRedstoneConsumerComponent (::Block const &block, ::BlockPos const &pos, ::CircuitSystem &circuitSystem)

Public Attributes

::ll::TypedStorage< 1, 1, uchar > mDirection
::ll::TypedStorage< 1, 1, uchar > mPartCount
::ll::TypedStorage< 1, 1, ::brstd::bitset< 4, uchar > > mSnowLoggableParts
::ll::TypedStorage< 1, 1, ::BlockTrait::MultiBlockPlacementDirectionBehavior > mPlacementBehavior

Member Function Documentation

◆ _forEachPart()

MCAPI bool BlockMultiBlockComponent::_forEachPart ( ::Block const & part,
::brstd::function_ref< bool(::BlockPart const &, uchar)> callback ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _getDirectionOverride()

MCAPI uchar BlockMultiBlockComponent::_getDirectionOverride ( ::Block const & part) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ canSurvive()

MCAPI bool BlockMultiBlockComponent::canSurvive ( ::BlockSource const & region,
::Block const & block,
::BlockPos const & pos ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ forEachPartInWorldSpace()

MCAPI bool BlockMultiBlockComponent::forEachPartInWorldSpace ( ::Block const & part,
::BlockPos const & partPos,
::brstd::function_ref< bool(::BlockPart const &)> callback ) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getDistanceToMultiBlockEnd()

MCAPI::BlockPos BlockMultiBlockComponent::getDistanceToMultiBlockEnd ( ::Block const & part) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isMultiBlockStart()

MCAPI bool BlockMultiBlockComponent::isMultiBlockStart ( ::Block const & part) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ isSnowLoggable()

MCAPI bool BlockMultiBlockComponent::isSnowLoggable ( ::Block const & part) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ onEvent()

MCAPI void BlockMultiBlockComponent::onEvent ( ::BlockEvents::BlockBreakEvent & event) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getSnowLoggablePosition()

MCAPI ::BlockPos BlockMultiBlockComponent::getSnowLoggablePosition ( ::Block const & part,
::BlockSource const & region,
::BlockPos const & snowLayerPosition )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ onPlace()

MCAPI void BlockMultiBlockComponent::onPlace ( ::BlockSource & region,
::Block const & placementBlock,
::Block const & oldBlock,
::BlockPos const & pos,
::BlockChangeContext const & changeSourceContext )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setSnowLoggablePart()

MCAPI void BlockMultiBlockComponent::setSnowLoggablePart ( ::Block & part)
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setupRedstoneConsumerComponent()

MCAPI void BlockMultiBlockComponent::setupRedstoneConsumerComponent ( ::Block const & block,
::BlockPos const & pos,
::CircuitSystem & circuitSystem )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: