CopyCommand

public class CopyCommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > CopyCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

builderState

final BuilderToolsPlugin.BuilderState builderState

Field builderState.

entitiesOnly

final boolean entitiesOnly

Field entitiesOnly.

noEntities

final boolean noEntities

Field noEntities.

settingsFinal

final int settingsFinal

Field settingsFinal.

selection

final BlockSelection selection

Field selection.

min

final Vector3i min

Field min.

max

final Vector3i max

Field max.

playerRefComponent

final PlayerRef playerRefComponent

Field playerRefComponent.

xMin

final int xMin

Field xMin.

yMin

final int yMin

Field yMin.

zMin

final int zMin

Field zMin.

xMax

final int xMax

Field xMax.

yMax

final int yMax

Field yMax.

zMax

final int zMax

Field zMax.

copySettings

final int copySettings

Field copySettings.

Method Detail

CopyCommand

public public CopyCommand ()

Method CopyCommand.

CopyRegionCommand

public new CopyRegionCommand ()

Method CopyRegionCommand.

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 CommandContext context
@Nonnull final Store store
@Nonnull final Ref ref
@Nonnull final PlayerRef playerRef
@Nonnull final World world

copySelection

static void copySelection (@Nonnull final Ref ref, @Nonnull final ComponentAccessor componentAccessor)

Method copySelection.

Parameters:
@Nonnull final Ref ref
@Nonnull final ComponentAccessor componentAccessor