PlayerViewRadiusGetCommand

public class PlayerViewRadiusGetCommand extends AbstractTargetPlayerCommand

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

java.lang.Object > AbstractTargetPlayerCommand > PlayerViewRadiusGetCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

entityViewerComponent

final EntityTrackerSystems.EntityViewer entityViewerComponent

Field entityViewerComponent.

viewRadiusChunks

final int viewRadiusChunks

Field viewRadiusChunks.

clientViewRadiusChunks

final int clientViewRadiusChunks

Field clientViewRadiusChunks.

viewRadiusBlocks

final int viewRadiusBlocks

Field viewRadiusBlocks.

Method Detail

PlayerViewRadiusGetCommand

public public PlayerViewRadiusGetCommand ()

Method PlayerViewRadiusGetCommand.

execute

protected void execute (@Nonnull final CommandContext context, @Nullable final Ref sourceRef, @Nonnull final Ref ref, @Nonnull final PlayerRef playerRef, @Nonnull final World world, @Nonnull final Store store)

Method execute.

Parameters:
@Nonnull final CommandContext context
@Nullable final Ref sourceRef
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world
@Nonnull final Store store