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

Classes

struct  SplitBlock

Public Member Functions

virtual ::std::optional< int > getState (::BlockType const &blockType, int) const
virtual::Block const * setState (::BlockType const &blockType, int blockData, int stateData) const
MCAPI ::std::optional< int > $getState (::BlockType const &blockType, int) const
MCAPI::Block const * $setState (::BlockType const &blockType, int blockData, int stateData) const

Static Public Member Functions

static MCAPI void add (::BlockState const &stateRef, ::std::vector<::BlockType::RemovedStateCollection::SplitBlock > &&splitBlocks, ::SemVersion const &removedSupportVersion)
static MCAPI bool _checkVersioningRequirements (::SemVersion const &removedSupportVersion)

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::BlockType::RemovedStateCollection::SplitBlock > > mSplitBlocks
::ll::TypedStorage< 8, 8, ::std::reference_wrapper<::BlockState const > > mBlockState

Member Function Documentation

◆ getState()

virtual ::std::optional< int > BlockType::RemovedStateCollection::getState ( ::BlockType const & blockType,
int  ) const
virtual

◆ setState()

virtual::Block const * BlockType::RemovedStateCollection::setState ( ::BlockType const & blockType,
int blockData,
int stateData ) const
virtual

◆ add()

MCAPI void BlockType::RemovedStateCollection::add ( ::BlockState const & stateRef,
::std::vector<::BlockType::RemovedStateCollection::SplitBlock > && splitBlocks,
::SemVersion const & removedSupportVersion )
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.

◆ $getState()

MCAPI ::std::optional< int > BlockType::RemovedStateCollection::$getState ( ::BlockType const & blockType,
int  ) 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.

◆ $setState()

MCAPI::Block const * BlockType::RemovedStateCollection::$setState ( ::BlockType const & blockType,
int blockData,
int stateData ) 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.

◆ _checkVersioningRequirements()

MCAPI bool BlockType::AlteredStateCollection::_checkVersioningRequirements ( ::SemVersion const & removedSupportVersion)
staticinherited
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: