Skip to content

Allow trimming a cuboid selection based on a given predicate #1629

@haykam821

Description

@haykam821

Is your feature request related to a problem? Please describe.

Currently, the manipulation of selections based on their contents is quite limited. It is hard to use the wand tool or get the manual coordinates of a built structure to select only that structure, without extraneous air around the selection.

Describe the solution you'd like

Given a cuboid selection, a new command should be added (//trim <mask>) to trim that selection. The selection's bounds would change to the minimum and maximum positions that match that mask.

Describe alternatives you've considered

One alternative that defeats the point is manually changing the selection.

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Type

    No type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions