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

Public Types

enum class  Type : int {
  Integer = 0 , Float = 1 , Bool = 2 , String = 3 ,
  Invalid = 4
}

Public Member Functions

LLNDAPI ll::Expected< Block::BlockStateValueType > toStateValue () const
MCAPI bool _createCompoundTag (::CompoundTag &tag, ::CommandOutput &output) const
MCAPI::BlockState const * getBlockState (::Block const &block) const

Static Public Member Functions

static LLNDAPI ll::Expected< Block::BlockStatesType > toStateMap (std::vector< BlockStateCommandParam > const &)

Public Attributes

::std::string mBlockState
::std::string mValue
::BlockStateCommandParam::Type mType

Member Function Documentation

◆ _createCompoundTag()

MCAPI bool BlockStateCommandParam::_createCompoundTag ( ::CompoundTag & tag,
::CommandOutput & output ) 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.

◆ getBlockState()

MCAPI::BlockState const * BlockStateCommandParam::getBlockState ( ::Block const & block) 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: