ldtteam / Structurize

Minecraft Structures
GNU General Public License v3.0
44 stars 45 forks source link

Warning Popup for Remove Filtered button #668

Closed CosmicGlowsticks closed 1 month ago

CosmicGlowsticks commented 3 months ago

Is there an existing change request for this?

Are you using the latest Structurize Version?

Did you check on the Wiki? or ask on Discord?

Minecraft Version

1.20

Structurize Version

1.0.733 RELEASE

Related Mods and their Versions

All of my mods are up to date. Forge version is 47.2.32

Current Behavior

I accidentally pressed the "remove filtered" button and obliterated a massive chunk of land, removing literally every single block within the scan area. I am unable to restore it. Reasons:

  1. Every block removal is listed as an individual action, clogging the undo list.
  2. Undo function does not always work well on large amounts of blocks. (I would love a fix for this too, though I fully understand if it isn't possible)
  3. I have no recent backup.
  4. I panicked and left the world, ruining my chances of fixing it. *I am running a release version, not an alpha, but it wouldn't let me submit this post if I didn't check that.

Enhancement or Change description

When pressing the "remove filtered" button, I would like some kind of warning pop up asking if I'm sure I want to do this. This will prevent any major accidents, say, losing something I have been working on for a solid week or 2. I am going to be a bit blunt, I don't care if its inconveniencing to some people, this level of accident is far, far worse. Maybe have it only apply if there are more than 3-4 different types of blocks/entities that would be removed if its that bad. If possible, I would also like a way to reverse the entire action in one go, rather than one button click being split into individual actions per block.

Anything else?

2024-05-15_20 34 04

Footer


Viewers