litematica icon indicating copy to clipboard operation
litematica copied to clipboard

Too many blocks in the specified area (maximum 32768, specified 33536)

Open bAdOoWindy opened this issue 4 years ago • 5 comments

图片 can not del area

bAdOoWindy avatar Dec 05 '21 04:12 bAdOoWindy

What command are you trying to run? Are you able to trigger this message using just Litematica features (such as the pasting)?

James103 avatar Jan 14 '22 08:01 James103

@James103 This happens if you use the Delete tool mode (or Fill or Replace) on a (vanilla-ish) server that has the normal /fill and /clone command area limits, and your selection is larger than that.

I need to add splitting up the operation into a user-defined maximum sized volumes to work around this. Often these features are used on servers that have Carpet mod, which allows increasing the /fill and /clone command area limits, so on those servers this isn't usually an issue. And in single player Litematica does the operation itself in the integrated server's world, so this also isn't an issue in single player.

maruohon avatar Jan 14 '22 11:01 maruohon

THS!! 👍

bAdOoWindy avatar Jan 14 '22 11:01 bAdOoWindy

I need to add splitting up the operation into a user-defined maximum sized volumes to work around this.

Basically, these two settings need to be added (names subject to change): fillCommandLimit - Maximum number of blocks per /fill command run by Litematica (used in Delete, Fill, and Replace). fillCommandInterval - The interval in game ticks that the Delete, Fill, and Replace tasks run at, in command-based mode.

The default values should be 32768 for fillCommandLimit and (most likely) 1 for fillCommandInterval.

James103 avatar Jan 14 '22 12:01 James103

The just released 1.18.1-0.10.0 version now splits up all Fill, Delete and Paste operations to the maximum volume defined in the Generic -> commandFillMaxVolume. Some of the old paste related configs were renamed and repurposed into generic command limits and intervals: pasteCommandLimit-> commandLimitPerTick and pasteCommandInterval -> commandTaskInterval.

maruohon avatar Jan 21 '22 18:01 maruohon