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
 
MCAPI ::std::optional<::std::pair<::HashedString, int > > getNameAndValue (::CommandOutput &output, ::Block const &defaultNewBlock) const
 
MCAPI bool setBlockState (::Block const **inputBlock, ::CommandOutput &output) const
 
MCFOLD void $dtor ()
 

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
 

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