LeviLamina
Loading...
Searching...
No Matches
TeleportCommand Class Reference
+ Inheritance diagram for TeleportCommand:

Public Member Functions

virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) const
 
MCAPI void doArmorStandTeleportBackwardCompability (::Actor &target, ::Actor const *destinationEntity) const
 
MCAPI::RotationCommandUtils::FacingResult getFacingDirection (::CommandOrigin const &origin, ::CommandOutput &output, ::Vec3 &faceTarget, ::Actor *destinationEntity) const
 
MCAPI void * $ctor ()
 
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
 
MCAPI bool shouldSendTelemetry (::CommandOrigin const &origin) const
 
MCFOLD void $dtor ()
 
MCFOLD bool $collectOptionalArguments ()
 

Static Public Member Functions

static MCAPI void applyTarget (::Actor &victim, ::TeleportTarget target, bool keepVelocity)
 
static MCAPI ::TeleportTarget computeTarget (::Actor &victim, ::Vec3 destination, ::Vec3 *facePosition, ::DimensionType destinationDimension, ::std::optional<::RotationCommandUtils::RotationData > const &rotationData, int commandVersion)
 
static MCAPI ::std::unique_ptr<::CommandAreagetCommandAreaForTargets (::CommandOrigin const &origin, ::CommandSelectorResults<::Actor > const &targets, ::Vec3 destination, int commandVersion, bool allowUnloadedChunks)
 
static MCAPI void setup (::CommandRegistry &registry)
 
static MCAPI void ** $vftable ()
 
static MCAPI bool isTemplateLockedAction (::CommandOrigin const &origin)
 
static MCAPI bool isWildcard (::CommandSelectorBase const &selector)
 
static MCAPI bool shouldUseCommandOriginRotation (::CommandOrigin const &origin, int version)
 
static MCAPI bool validRange (float input, float low, float high, ::CommandOutput &output)
 
static MCAPI bool validRange (int input, int low, int high, ::CommandOutput &output)
 
static MCAPI ::std::string const & WILDCARD_TOKEN ()
 

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function< void(::Actor &, ::Vec3, ::Vec3 *, ::DimensionType, ::std::optional<::RotationCommandUtils::RotationData > const &, int)> > mApplyTeleport
 
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mTargets
 
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mDestinationEntity
 
::ll::TypedStorage< 4, 16, ::CommandPositionFloatmDestinationPos
 
::ll::TypedStorage< 8, 200, ::CommandSelector<::Actor > > mFacingEntity
 
::ll::TypedStorage< 4, 16, ::CommandPositionFloatmFacingPos
 
::ll::TypedStorage< 4, 8, ::RelativeFloatmYRot
 
::ll::TypedStorage< 4, 8, ::RelativeFloatmXRot
 
::ll::TypedStorage< 4, 4, ::RotationCommandUtils::FacingResult > mHaveFacing
 
::ll::TypedStorage< 1, 1, bool > mDestinationIsPosition
 
::ll::TypedStorage< 1, 1, bool > mIsUsingRotation
 
::ll::TypedStorage< 1, 1, bool > mFacingIsPosition
 
::ll::TypedStorage< 1, 1, bool > mCheckForBlocks
 
::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, ::CommandFlagmFlags
 

Member Function Documentation

◆ execute()

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

Implements Command.


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