16class BlockStateCommandParam {
19 enum class Type :
int {
28 LLNDAPI ll::Expected<Block::BlockStateValueType> toStateValue()
const;
30 LLNDAPI
static ll::Expected<Block::BlockStatesType> toStateMap(std::vector<BlockStateCommandParam>
const&);
35 ::std::string mBlockState;
37 ::BlockStateCommandParam::Type mType;
42 BlockStateCommandParam& operator=(BlockStateCommandParam
const&);
43 BlockStateCommandParam();
48 MCAPI BlockStateCommandParam(::BlockStateCommandParam
const&);
50 MCAPI BlockStateCommandParam(::std::string state, ::std::string value, ::BlockStateCommandParam::Type type);
54 MCAPI ::BlockState
const* _getBlockState(
::Block const& block)
const;
56 MCAPI ::std::optional<::std::pair<::HashedString, int>>
61 MCAPI ~BlockStateCommandParam();
67 MCFOLD
void* $ctor(::BlockStateCommandParam
const&);
69 MCAPI
void* $ctor(::std::string state, ::std::string value, ::BlockStateCommandParam::Type type);