EngineHub / WorldEdit

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

Compatibility with mini-scaled #2560

Open ninjaguardian opened 3 months ago

ninjaguardian commented 3 months ago

The Problem

Can't use worldedit on mini-scaled block while in overworld 2024-06-25_13 15 57 running //set dirt does nothing

A Solution

Maybe make it access the block and set it inside of there

Alternatives

No response

Anything Else?

No response

wizjany commented 3 months ago

this doesn't seem like a feature request and isn't on the current MC version. worldedit operates on a minecraft world using minecraft coordinates. that mod appears to be rendering some other region into the current world. if you want to edit that other region you'll need to directly select it and manipulate it normally. if the mod doesn't allow for that there's nothing we can do about it.

ninjaguardian commented 3 months ago

ok. but i think the reason this happens is because when you click the mini-block in the overworld, it select the corresponding block in the mini world. When you run the command, it doesn't set the block in the mini world even though that is the dimension it is in.

wizjany commented 3 months ago

we can't do anything if the mod is redirecting clicks either. use //hpos, //pos with coords, select the area around it, etc if you want to select the "portal block".

octylFractal commented 3 months ago

WorldEdit doesn't know that the target click is in a different world, and actually selects in the overworld. I'm not sure why CUI is misrepresenting that though, since the selection is actually in the world the player is in.

octylFractal commented 3 months ago

Oh, right, CUI protocol doesn't come with a world -- so it is actually rendered in both places: cui rendering twice

octylFractal commented 3 months ago

I think this is a bug with our selection wand. It uses the player world instead of the interact event world. I will take a look and see if it can be fixed; but if so it will only be for newer versions and not 1.20.4.

ninjaguardian commented 3 months ago

The CUI is correct. In the over world you can change the world inside of the mini block. The commands just don't change it.