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

Public Member Functions

SpreadPlayersCommandoperator= (SpreadPlayersCommand const &)
 
 SpreadPlayersCommand (SpreadPlayersCommand const &)
 
virtual void execute (::CommandOrigin const &origin, ::CommandOutput &output) 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
 
MCAPI bool shouldSendTelemetry (::CommandOrigin const &origin) const
 
MCFOLD void $dtor ()
 
MCFOLD bool $collectOptionalArguments ()
 

Static Public Member Functions

static MCAPI bool _checkPositionValid (::CommandOrigin const &origin, ::BlockPos const &checkPos, ::std::optional< short > maxHeight, ::std::map<::ChunkPos, ::std::unique_ptr<::CommandArea > > &areas, int commandVersion)
 
static MCAPI short _getTeleportHeight (::BlockSource &region, int x, ::std::optional< short > maxHeight, int z, int commandVersion)
 
static MCAPI float _setPlayerPositions (::CommandSelectorResults<::Actor > &entities, ::std::vector<::Vec2 > &positions, ::std::optional< short > maxHeight, ::std::map<::ChunkPos, ::std::unique_ptr<::CommandArea > > &areas, int commandVersion)
 
static MCAPI bool _spreadEntities (::CommandOutput &output, ::CommandSelectorResults<::Actor > &entities, ::CommandOrigin const &origin, ::Vec2 const &center, float spreadDist, float maxDistFromCenter, ::std::optional< short > maxHeight, int commandVersion)
 
static MCAPI ::std::vector<::Vec2createInitialPositions (::Random &random, int count, ::Vec2 const &minPos, ::Vec2 const &maxPos)
 
static MCAPI bool isDangerousSpawn (::BlockSource &region, ::BlockPos const &checkPos, short minHeight, ::std::optional< short > maxHeight, int commandVersion)
 
static MCAPI void setup (::CommandRegistry &registry)
 
static MCAPI bool spreadPositions (::CommandOutput &output, ::Random &random, ::CommandOrigin const &origin, ::Vec2 const &center, float spreadDist, ::Vec2 const &minPos, ::Vec2 const &maxPos, ::std::vector<::Vec2 > &positions, ::std::optional< short > maxHeight, ::std::map<::ChunkPos, ::std::unique_ptr<::CommandArea > > &areas, int commandVersion)
 
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::UntypedStorage< 8, 200 > mUnkcaddae
 
::ll::UntypedStorage< 4, 8 > mUnkbc1c46
 
::ll::UntypedStorage< 4, 8 > mUnka2e82a
 
::ll::UntypedStorage< 4, 8 > mUnkf56085
 
::ll::UntypedStorage< 4, 4 > mUnk17014b
 
::ll::UntypedStorage< 4, 4 > mUnk87ff63
 
::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 SpreadPlayersCommand::execute ( ::CommandOrigin const & origin,
::CommandOutput & output ) const
virtual

Implements Command.


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