AbstractTargetPlayerCommand

abstract class AbstractTargetPlayerCommand extends AbstractAsyncCommand

Command for abstracttargetplaye operations. Registered with the command system and callable by players.

java.lang.Object > AbstractAsyncCommand > AbstractTargetPlayerCommand

Field Summary

targetStore

final Store targetStore

Field targetStore.

targetWorld

final World targetWorld

Field targetWorld.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

Method Detail

AbstractTargetPlayerCommand

public public AbstractTargetPlayerCommand (@Nonnull final String name, @Nonnull final String description)

Method AbstractTargetPlayerCommand.

Parameters:
@Nonnull final String name
@Nonnull final String description

executeAsync

final CompletableFuture executeAsync (@Nonnull final CommandContext context)

Method executeAsync.

Parameters:
@Nonnull final CommandContext context