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

Public Member Functions

MCAPI void finalize (::BlockTransformationComponent const *transformationComponent)
MCAPI void onEvent (::BlockEvents::BlockStateChangeEvent const &ev) const

Static Public Member Functions

static MCAPI void setRedstoneSignal (::Block const &block, ::BlockSource &region, ::BlockPos const &pos)
static MCAPI void setupRedstoneComponent (::Block const &block, ::BlockSource &region, ::BlockPos const &pos)

Public Attributes

::ll::TypedStorage< 1, 1, schar > mPower
::ll::TypedStorage< 1, 1, uchar > mStronglyPoweredFace
::ll::TypedStorage< 1, 1, ::Bedrock::EnumSet<::Facing::Name, 6 > > mConnectedFaces
::ll::TypedStorage< 1, 1, bool > mIsTransformRelative
::ll::TypedStorage< 1, 1, bool > mAllowPowerUp
::ll::TypedStorage< 1, 1, bool > mAllowPowerDown
::ll::TypedStorage< 1, 1, bool > mSetSignalStrengthOnRedstoneComponentSetup

Member Function Documentation

◆ onEvent()

MCAPI void BlockRedstoneProducerComponent::onEvent ( ::BlockEvents::BlockStateChangeEvent const & ev) 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.

◆ setRedstoneSignal()

MCAPI void BlockRedstoneProducerComponent::setRedstoneSignal ( ::Block const & block,
::BlockSource & region,
::BlockPos const & pos )
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 struct was generated from the following file: