Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
CircuitSystem Class Reference

Classes

class  LevelChunkTracking

Public Member Functions

MCAPI::BaseCircuitComponent * createComponent (::BlockPos const &pos, uchar direction, ::std::unique_ptr<::BaseCircuitComponent > newComponent)
MCAPI void evaluate (::BlockSource *region)
MCAPI bool isConnectionAllowed (::BaseCircuitComponent &component, ::BlockPos const &componentPos, uchar connectionDirection, bool directlyPowered, bool speculativeConnection)
MCAPI void setStrength (::BlockPos const &pos, int strength)
MCAPI void updateBlocks (::BlockSource &region, ::BlockPos const &chunkPos)

Public Attributes

::ll::TypedStorage< 1, 1, bool > mLockGraph
::ll::TypedStorage< 8, 408, ::CircuitSceneGraph > mSceneGraph
::ll::TypedStorage< 8, 24, ::std::vector<::CircuitSystem::LevelChunkTracking > > mAddedLevelChunk
::ll::TypedStorage< 1, 1, bool > mHasBeenEvaluated

Member Function Documentation

◆ createComponent()

MCAPI::BaseCircuitComponent * CircuitSystem::createComponent ( ::BlockPos const & pos,
uchar direction,
::std::unique_ptr<::BaseCircuitComponent > newComponent )
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.

◆ isConnectionAllowed()

MCAPI bool CircuitSystem::isConnectionAllowed ( ::BaseCircuitComponent & component,
::BlockPos const & componentPos,
uchar connectionDirection,
bool directlyPowered,
bool speculativeConnection )
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: