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

Classes

struct  BlockConnectionResult
struct  ConnectionData

Public Member Functions

MCAPI void addCallback (::BlockType &blockType, ::NeighborBlockDirections const &neighborBlockDirections, ::std::unique_ptr<::BlockTrait::IConnectionUpdateCallback > callback, int updateFlags)
MCAPI::Block const & handleConnectionUpdate (::BlockSource &region, ::Block const &block, ::BlockPos const &pos, ::NeighborBlockDirections const &neighborDirections) const

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::BlockConnectionComponent::ConnectionData > > mConnectionData

Member Function Documentation

◆ addCallback()

MCAPI void BlockConnectionComponent::addCallback ( ::BlockType & blockType,
::NeighborBlockDirections const & neighborBlockDirections,
::std::unique_ptr<::BlockTrait::IConnectionUpdateCallback > callback,
int updateFlags )
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: