Skip to content

[//stack] Stack Selection #3038

Open
Open

Description

@p-98

The Problem

According to the docs, there is currently no -s flag on the //stack command to also stack the selection.

There is actually an undocumented effect of -s to //stack, though not what I would expect. Currently specifying -s leads to a selection around the last pasted instance of the stack.
What I would expect is for the selection to include the original and all pasted instances.

Use case: Currently, stacking in two directions requires two commands and adjusting the selection inbetween. This feature would make the middle step obsolete.

//stack 3 east
[Adjust selection, could be replaced by -s]
//stack 3 north

A Solution

  • If current -s behaviour is unintentional: Change the flag to the behaviour described above.
  • If current -s behaviour is intentional: Add a new flag that has the behaviour described above (e.g. -ss, if duplicate letters are no problem, although I suspect they are).

In both cases, the flags should be added to the documentation.

Alternatives

No response

Anything Else?

No response

Activity

  1. me4502 commented on Oct 17, 2026

    @me4502
    Member

    For clarification, the -s flag is documented as "Shift the selection to the last stacked copy" – its purpose is to allow easily continuing the stack from that final point (eg, to continue it along, or stack in another direction)

  2. octylFractal commented on Oct 17, 2026

    @octylFractal
    Member
  3. octylFractal commented on Oct 17, 2026

    @octylFractal
    Member

    I think we're open to this under -S, to separate it from -s.

  4. added
    status:acceptedWill be fixed / added to WorldEdit, eventually
    and removed on Oct 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    status:acceptedWill be fixed / added to WorldEdit, eventuallytype:feature-requestRequest for something new

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions