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

Public Types

using OnSetupRedstoneComponentCallback = void(::BlockSource&, ::BlockPos const&)

Public Member Functions

MCAPI void onEvent (::BlockEvents::BlockStateChangeEvent const &ev) const

Static Public Member Functions

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

Public Attributes

::ll::TypedStorage< 1, 1, schar > mMinPower
::ll::TypedStorage< 1, 1, bool > mPropagatePower
::ll::TypedStorage< 1, 1, bool > mConsumePowerAnyDirection
::ll::TypedStorage< 1, 1, bool > mAcceptSameDirection
::ll::TypedStorage< 1, 1, bool > mAcceptHalfPulse
::ll::TypedStorage< 1, 1, bool > mIgnoreFirstUpdate
::ll::TypedStorage< 8, 8, void(*)(::BlockSource &, ::BlockPos const &)> mOnSetupRedstoneComponentCallback

Member Function Documentation

◆ onEvent()

MCAPI void BlockRedstoneConsumerComponent::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.

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