EditLineCommand

public class EditLineCommand extends AbstractPlayerCommand

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

java.lang.Object > AbstractPlayerCommand > EditLineCommand

Field Summary

playerComponent

final Player playerComponent

Field playerComponent.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

playerPos

final Vector3d playerPos

Field playerPos.

baseX

final int baseX

Field baseX.

baseY

final int baseY

Field baseY.

baseZ

final int baseZ

Field baseZ.

start

final Vector3i start

Field start.

end

final Vector3i end

Field end.

material

final BlockPattern material

Field material.

width

final int width

Field width.

height

final int height

Field height.

wallThickness

final int wallThickness

Field wallThickness.

shape

final BrushShape shape

Field shape.

origin

final BrushOrigin origin

Field origin.

spacing

final int spacing

Field spacing.

density

final int density

Field density.

Method Detail

EditLineCommand

public public EditLineCommand ()

Method EditLineCommand.

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