Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
StructureCommand Class Reference
Inheritance diagram for StructureCommand:

Public Member Functions

virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void _editorLoad (::CommandOrigin const &origin, ::CommandOutput &output, ::Level &level, ::std::string const &fullName, ::BlockPos const &loadPosition, ::StructureEditorData &settings) const
MCAPI uint _generateSeed () const
MCAPI::std::string _getFullName () const
MCAPI::ActorUniqueID _getPlayerId (::CommandOrigin const &origin) const
MCAPI void $execute (::CommandOrigin const &origin, ::CommandOutput &output) const
LLNDAPI std::string getCommandName () const
virtual bool collectOptionalArguments ()
MCAPI void run (::CommandOrigin const &origin, ::CommandOutput &output) const
MCAPI void sendTelemetry (::CommandOrigin const &origin, ::CommandOutput &output) const
MCFOLD bool $collectOptionalArguments ()

Static Public Member Functions

static MCAPI void _editorSave (::CommandOrigin const &origin, ::CommandOutput &output, ::BlockSource &region, ::std::string const &fullName, ::BlockPos from, ::BlockPos to, ::StructureSettings const &settings)
static MCAPI void setup (::CommandRegistry &registry, bool isEditorWorld)
static MCAPI bool isWildcard (::CommandSelectorBase const &selector)
static MCAPI bool shouldUseCommandOriginRotation (::CommandOrigin const &origin, int version)
static MCAPI bool validRange (int input, int low, int high, ::CommandOutput &output)
static MCAPI bool validRange (float input, float low, float high, ::CommandOutput &output)

Public Attributes

::ll::TypedStorage< 4, 4, ::StructureActionType > mAction
::ll::TypedStorage< 1, 1, ::StructureRedstoneSaveMode > mSaveMode
::ll::TypedStorage< 1, 1, ::Rotation > mRotation
::ll::TypedStorage< 1, 1, ::Mirror > mMirror
::ll::TypedStorage< 1, 1, ::AnimationMode > mAnimationMode
::ll::TypedStorage< 4, 4, float > mAnimationTimeSeconds
::ll::TypedStorage< 8, 32, ::std::string > mName
::ll::TypedStorage< 8, 32, ::std::string > mSeed
::ll::TypedStorage< 4, 16, ::CommandPosition > mFrom
::ll::TypedStorage< 4, 16, ::CommandPosition > mTo
::ll::TypedStorage< 4, 4, float > mIntegrity
::ll::TypedStorage< 1, 1, bool > mSeedSpecified
::ll::TypedStorage< 1, 1, bool > mIncludeEntities
::ll::TypedStorage< 1, 1, bool > mIncludeBlocks
::ll::TypedStorage< 1, 1, bool > mWaterlogged
::ll::TypedStorage< 4, 4, int > mVersion
::ll::TypedStorage< 8, 8, ::CommandRegistry const * > mRegistry
::ll::TypedStorage< 4, 4, int > mCommandSymbol
::ll::TypedStorage< 1, 1, ::CommandPermissionLevel > mPermissionLevel
::ll::TypedStorage< 2, 2, ::CommandFlag > mFlags

Member Function Documentation

◆ execute()

virtual void StructureCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.

◆ _editorLoad()

MCAPI void StructureCommand::_editorLoad ( ::CommandOrigin const & origin,
::CommandOutput & output,
::Level & level,
::std::string const & fullName,
::BlockPos const & loadPosition,
::StructureEditorData & settings ) 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.

◆ _generateSeed()

MCAPI uint StructureCommand::_generateSeed ( ) 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.

◆ _getFullName()

MCAPI::std::string StructureCommand::_getFullName ( ) 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.

◆ _getPlayerId()

MCAPI::ActorUniqueID StructureCommand::_getPlayerId ( ::CommandOrigin const & origin) 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.

◆ _editorSave()

MCAPI void StructureCommand::_editorSave ( ::CommandOrigin const & origin,
::CommandOutput & output,
::BlockSource & region,
::std::string const & fullName,
::BlockPos from,
::BlockPos to,
::StructureSettings const & settings )
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.

◆ setup()

MCAPI void StructureCommand::setup ( ::CommandRegistry & registry,
bool isEditorWorld )
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.

◆ $execute()

MCAPI void StructureCommand::$execute ( ::CommandOrigin const & origin,
::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.

◆ isWildcard()

MCAPI bool Command::isWildcard ( ::CommandSelectorBase const & selector)
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.

◆ shouldUseCommandOriginRotation()

MCAPI bool Command::shouldUseCommandOriginRotation ( ::CommandOrigin const & origin,
int version )
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.

◆ validRange()

MCAPI bool Command::validRange ( float input,
float low,
float high,
::CommandOutput & output )
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 class was generated from the following file: