ClearEntitiesCommand

public class ClearEntitiesCommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > ClearEntitiesCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

builderState

final BuilderToolsPlugin.BuilderState builderState

Field builderState.

selection

final BlockSelection selection

Field selection.

min

final Vector3i min

Field min.

max

final Vector3i max

Field max.

width

final int width

Field width.

height

final int height

Field height.

depth

final int depth

Field depth.

entitiesToRemove

final ArrayList> entitiesToRemove

Field entitiesToRemove.

x

final int x

Field x.

y

final int y

Field y.

z

final int z

Field z.

width2

final int width2

Field width2.

height2

final int height2

Field height2.

depth2

final int depth2

Field depth2.

obj

final ArrayList> obj

Field obj.

entityStore

final Store entityStore

Field entityStore.

Method Detail

ClearEntitiesCommand

public public ClearEntitiesCommand ()

Method ClearEntitiesCommand.

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