public class PlayerRespawnCommand extends AbstractPlayerCommand
Command for playerrespaw operations. Registered with the command system and callable by players.
java.lang.Object > AbstractPlayerCommand > PlayerRespawnCommand
Field Summary
playerRef
final
PlayerRef
playerRef
Field playerRef.
ref
final
Ref
ref
Field ref.
store
final
Store
store
Field store.
world
final
World
world
Field world.
playerComponent
final
Player
playerComponent
Field playerComponent.
Method Detail
PlayerRespawnCommand
public
public
PlayerRespawnCommand
()
Method PlayerRespawnCommand.
PlayerRespawnOtherCommand
public
new
PlayerRespawnOtherCommand
()
Method PlayerRespawnOtherCommand.
execute
protected
void
execute
(@Nonnull final CommandContext context, @Nonnull final Store store, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world)
Method execute.
- Parameters:
@Nonnull final CommandContextcontext@Nonnull final Storestore@Nonnull final Refref@Nonnull final PlayerRefplayerRef@Nonnull final Worldworld