MCGalaxy icon indicating copy to clipboard operation
MCGalaxy copied to clipboard

Humph, unflood is limited.

Open rdebath opened this issue 3 years ago • 2 comments

Even if I give permission for /unflood it doesn't work. Also, side-note, is not limited to "liquids"

IMO fixes include

  • Turn off the limit for /unflood
  • Only do the top N flooded layers of the map so as not to exceed the limit. (Must do one layer at least though)

Also

  • TODO: Define what a liquid is and limit to those block types.
[06:43:11] /Unflood [liquid]
[06:43:12] Unfloods the map you are currently in of [liquid].
[06:43:12]   If [liquid] is "all", unfloods the map of all liquids.
[06:43:33] You tried to replace 4958431 blocks.
[06:43:33] You cannot draw more than 262144.
[06:43:33] Unflooded!
[06:43:50] Unflooded!
[06:44:02] Unflooded!
[06:44:15] rdebath: Humph, unflood is limited.
[06:44:20] Unflooded!
[06:45:30] Unflooded!

rdebath avatar May 19 '22 06:05 rdebath

The draw limit was in place to prevent abusing /unflood as a substitute for /replaceall [block] 0

Only do the top N flooded layers of the map so as not to exceed the limit. (Must do one layer at least though) That's probably a better way of handling it I guess

UnknownShadow200 avatar May 20 '22 14:05 UnknownShadow200

Thinkin' about this, "unflood without limit" blocks would be those that can "flood without limit" ie: ActiveWater, ActiveLava and their physics block variants.

My nominations include the below. The fall variants (including air) can cover the map so are included. The Finite variants may not be required, but can become somewhat excessive from a Faucet.

# Block  73 (0x49) is "Fast_Hot_Lava"       Disp as "Active_Lava" (10)
# Block 112 (0x70) is "Lava_Fast"           Disp as "Active_Lava" (10)
# Block 140 (0x8c) is "Waterfall"           Disp as "Active_Water" (8)
# Block 141 (0x8d) is "Lavafall"            Disp as "Active_Lava" (10)
# Block 145 (0x91) is "Finite_Water"        Disp as "Active_Water" (8)
# Block 146 (0x92) is "Finite_Lava"         Disp as "Active_Lava" (10)
# Block 193 (0xc1) is "Active_Cold_Water"   Disp as "Active_Water" (8)
# Block 194 (0xc2) is "Active_Hot_Lava"     Disp as "Active_Lava" (10)
# Block 195 (0xc3) is "Magma"               Disp as "Active_Lava" (10)
# Block 196 (0xc4) is "Geyser"              Disp as "Active_Water" (8)
# Block 200 (0xc8) is "Air_Flood"           Disp as "Air" (0)
# Block 202 (0xca) is "Air_Flood_Layer"     Disp as "Air" (0)
# Block 203 (0xcb) is "Air_Flood_Down"      Disp as "Air" (0)
# Block 204 (0xcc) is "Air_Flood_Up"        Disp as "Air" (0)

rdebath avatar Jun 24 '22 09:06 rdebath