public class SpawnSetCommand extends AbstractWorldCommand
Command for spawnse operations. Registered with the command system and callable by players.
java.lang.Object > AbstractWorldCommand > SpawnSetCommand
Field Summary
relativePosition
final
RelativeDoublePosition
relativePosition
Field relativePosition.
playerRef
final
Ref
playerRef
Field playerRef.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
playerRef2
final
Ref
playerRef2
Field playerRef2.
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
transform
final
Transform
transform
Field transform.
worldConfig
final
WorldConfig
worldConfig
Field worldConfig.
Method Detail
SpawnSetCommand
public
public
SpawnSetCommand
()
Method SpawnSetCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final World world, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Worldworld@Nonnull final Storestore
if
public
else
if
(context.isPlayer()
Method if.
- Parameters:
context.isPlayer(context.isPlayer(
GlobalSpawnProvider
public
new
GlobalSpawnProvider
(transform)
Method GlobalSpawnProvider.
- Parameters:
transformtransform