Skip to content

Mask parser doesn't offer suggestions after the first block #2576

Closed

Description

@MegaMinerDL

WorldEdit Version

7.3.4

Platform Version

Spigot-1.21

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

When using -m argument in commands, I can only TAB auto-complete the first block but not the next ones.

Example: //stack 1 u -am stone,bricks,dirt
Result: when typing stone, I am shown TAB auto-complete suggestions. bricks and dirt have to be typed out manually.

Expected Behavior

Expected behaviour:

Example: //stack 1 u -am stone,bricks,dirt
Result: when typing stone, bricks and dirt I am shown TAB auto-complete suggestions.

Reproduction Steps

  1. Have multiple blocks in a selection
  2. Type //stack 1 u -am

Anything Else?

Unless I am doing something wrong, this is a minor bug/feature that gets annoying when typing out multiple long blocks.

Activity

  1. changed the title [-]-m cannot TAB auto-fill after the first block[/-] [+]Mask parser doesn't offer suggestions after the first block[/+] on Jul 10, 2024
  2. added
    status:acceptedWill be fixed / added to WorldEdit, eventually
    and removed on Jul 10, 2024
  3. wizjany commented on Jul 10, 2024

    @wizjany
    Collaborator

    This is an issue with the BlocksMaskParser in general, not with any particular command argument.

  4. Adrien5902 commented on Dec 30, 2025

    @Adrien5902
    Contributor

    But masks can be intersected though using spaces, instead of writing stone,bricks,dirt you could write "stone bricks dirt" and it would suggest every block.

    but I get that writing "!stone !bricks !dirt" instead of !stone,bricks,dirt can be annoying

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:bugIncorrect behavior, not working as intended

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions