EngineHub / WorldEdit

🗺️ Minecraft map editor and mod
https://enginehub.org/worldedit/
Other
3.05k stars 826 forks source link

Add a command to offset the selection to the target position at once, this command can accept the x,y,z offset #2565

Closed mmmpipi closed 5 days ago

mmmpipi commented 5 days ago

The Problem

I'm using worldedit to copy special entity types to special coordinates. Unfortunately, this requires a one-time move to the target location. If you use the //move command three times, you will lose the entity after the first move e.g: Move the Create super glue entity to the valkyrien skie's physical structure

A Solution

Add a command to offset the selection to the target position at once, this command can accept the x,y,z offset

Alternatives

No response

Anything Else?

No response

me4502 commented 5 days ago

you can use the //move -s flag to move the selection alongside the move, or you can use the //shift command to shift a selection

mmmpipi commented 5 days ago

您可以使用标志将所选内容与移动一起移动,也可以使用命令来移动所选内容//move -s``//shift

What I mean by that is to move the selection and the content x,y,z at the same time, instead of moving x,y,z three times respectively, although this looks the same

octylFractal commented 5 days ago

The //move command also comes with a distance parameter, if that's what you're looking for? https://worldedit.enginehub.org/en/latest/usage/regions/regionops/#moving

mmmpipi commented 5 days ago

该命令还带有一个参数,如果这就是您要查找的?https://worldedit.enginehub.org/en/latest/usage/regions/regionops/#moving`//move``distance`

Sorry,my English isn't very well,if use //move, i should move it three times,it will be stay in a unknow place,so i want move it to another place by once

mmmpipi commented 5 days ago

该命令还带有一个参数,如果这就是您要查找的?https://worldedit.enginehub.org/en/latest/usage/regions/regionops/#moving//move``distance

Sorry,my English isn't very well,if use //move, i should move it three times,it will be stay in a unknow place,so i want move it to another place by once

The //move command also comes with a distance parameter, if that's what you're looking for? https://worldedit.enginehub.org/en/latest/usage/regions/regionops/#moving

I know your means ,use //move 188 up -es ,but that not i want

octylFractal commented 5 days ago

I'm not really sure what you're asking then.

mmmpipi commented 5 days ago

那我真的不确定你在问什么。

I want a command,it Equal to a //move x east //move y up //move z south , but it need a cache space Sprite-0001

mmmpipi commented 5 days ago

那我真的不确定你在问什么。

I want a command,it Equal to a //move x east //move y up //move z south , but it need a cache space Sprite-0001

The move's peoblem is it need a cache space to move ,because it ,something will broken

octylFractal commented 5 days ago

//move also takes x,y,z if you want, as the offset. See //help move.