FastAsyncWorldEdit icon indicating copy to clipboard operation
FastAsyncWorldEdit copied to clipboard

Connections Command

Open CJCrafter opened this issue 5 years ago • 7 comments

Issue

Whenever you paste in a block with connections (Example: //paste spruce_fence, //replace air iron_bars), the block does not have any connections.

Solution

I would like a //update command. This would update every single block in a region and set connections if it should have connections.

Alternate explanation:

foreach (x in region)
    foreach (y in region)
        foreach (z in region)
            if (block can have connections) update connections
        rof
    rof
rof

Need a 3rd one? From this:

to this:

Extra

Possible arguments are //update dir[south,west,north,east] which could specify which directions are allowed.

Blocks that should have connections:

  • Stairs
  • Fences
  • Walls
  • Bars
  • Glass

CJCrafter avatar Jan 07 '20 01:01 CJCrafter

Paintsplatters suggested to add:

//paste -u

(Or maybe -update)


This would essentially run //paste then //update, effectively automatically updating every block inside the Player's clipboard, and pasting.

CJCrafter avatar Jan 13 '20 01:01 CJCrafter

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 10 '20 00:12 stale[bot]

Basically I like this idea. No matter all praxis problems at here. Maybe the normal direction check are simple to implement.

This would essentially run //paste then //update, effectively automatically updating every block inside the Player's clipboard, and pasting.

Bukkit has more than one update behaviors, as I know. So it needs tests to find the right way to update the blocks correctly.

RedstoneFuture avatar Dec 13 '20 02:12 RedstoneFuture

I think this is a huge need. I often enjoy the feature of avoiding block updates (like using Lapisdemon's Bonus), but still run into situations where this command would be really useful.

Sentropic avatar Oct 25 '21 14:10 Sentropic