Litematica (Forge)

Litematica (Forge)

336k Downloads

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

bAdOoWindy opened this issue ยท 5 comments

commented

ๅ›พ็‰‡
can not del area

commented

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

commented

@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.

commented

THS!! ๐Ÿ‘

commented

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.

commented

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.