Skip to content

feat: add upstream's trim command (EngineHub/WorldEdit#2278)#3168

Merged
NotMyFault merged 1 commit intoIntellectualSites:mainfrom
Timongcraft:feat/upstream-trim-cmd
Apr 8, 2025
Merged

feat: add upstream's trim command (EngineHub/WorldEdit#2278)#3168
NotMyFault merged 1 commit intoIntellectualSites:mainfrom
Timongcraft:feat/upstream-trim-cmd

Conversation

@Timongcraft
Copy link
Copy Markdown
Contributor

@Timongcraft Timongcraft commented Apr 7, 2025

  • Add the trim command

  • Fix issues from PR review

  • Cleanup usages of deprecated Vector getters

  • chore: cleanup translations & memoize mask


Overview

Fixes EngineHub/WorldEdit#1629

Description

Adds upstream's //trim command.

Submitter Checklist

  • Make sure you are opening from a topic branch (/feature/fix/docs/ branch (right side)) and not your main branch.
  • Ensure that the pull request title represents the desired changelog entry.
  • I read and followed the contribution guidelines.

* Add the trim command

* Fix issues from PR review

* Cleanup usages of deprecated Vector getters

* chore: cleanup translations & memoize mask

---------

Co-authored-by: Madeline Miller <mnmiller1@me.com>
@Timongcraft Timongcraft requested a review from a team as a code owner April 7, 2025 16:23
@github-actions github-actions Bot added the Feature This PR adds a new feature label Apr 7, 2025
Copy link
Copy Markdown
Member

@PierreSchwang PierreSchwang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally fine with me - but I feel like all those loops would be perfect fits for MutableBlockVector3's

Copy link
Copy Markdown
Member

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'd suggest to apply any improvements separately.

@Timongcraft
Copy link
Copy Markdown
Contributor Author

Looks good. I'd suggest to apply any improvements separately.

You mean with a separate commit or pr?

@SirYwell
Copy link
Copy Markdown
Member

SirYwell commented Apr 8, 2025

You mean with a separate commit or pr?

In a separate PR.

@NotMyFault NotMyFault merged commit aee75c1 into IntellectualSites:main Apr 8, 2025
8 checks passed
@Timongcraft Timongcraft deleted the feat/upstream-trim-cmd branch April 8, 2025 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature This PR adds a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow trimming a cuboid selection based on a given predicate

5 participants