/fill e /clone: il limite di 32.768 blocchi e le modalità per aggirarlo
Entrambi i comandi hanno un limite di 32.768 blocchi per esecuzione e falliscono silenziosamente oltre tale soglia. Ecco le modalità hollow, outline e replace, le maschere di clone e come spostare una costruzione più grande del limite.
/fill and /clone share a hard limit that is not in the error message people expect: 32.768 blocchi per comando. Ovvero 32×32×32. Superando questo limite il comando fallisce, il che in una catena di blocchi comandi sembra non produrre alcun effetto.
Capire se hai superato il limite
Il conteggio include entrambi gli estremi, quindi una regione da 0 0 0 to 31 31 31 is exactly 32,768 — right at the cap. From 0 0 0 to 32 32 32 is 35,937 and fails.
blocks = (|x2-x1|+1) × (|y2-y1|+1) × (|z2-z1|+1)
Per strutture più grandi, dividi in sezioni ed esegui più comandi. Dividere sull'asse Y è solitamente la soluzione più semplice.
modalità di fill
| Modalità | Effetto |
|---|---|
replace | predefinito; opzionalmente filtra per un tipo di blocco |
hollow | riempie il guscio esterno, svuota l'interno trasformandolo in aria |
outline | riempie il guscio esterno, lascia l'interno invariato |
destroy | rilascia prima i blocchi esistenti come oggetti |
keep | riempie solo l'aria, non sovrascrive mai |
hollow versus outline is the pair people mix up. Building a glass box around an existing structure needs outline; hollow would delete what is inside it.
keep is the safe one for terrain — it will not eat anything already placed.
La variante con filtro accetta il blocco da sostituire per ultimo:
/fill ~ ~ ~ ~10 ~5 ~10 stone replace dirt
Questo sostituisce solo dirt con stone e lascia tutto il resto intatto.
modalità e maschere di clone
/clone has two independent settings and the order matters:
Maschera — replace (everything) or filtered <block> (only that block) or masked (skip air in the source).
Modalità — normal, force (allow overlapping regions), or move (clear the source after copying).
/clone <begin> <end> <destination> masked normal
masked is what you want when stamping a build onto existing terrain — air in the source will not punch holes in the destination.
move is the one that surprises people: it deletes the original. There is no undo.
La sovrapposizione richiede force
Se l'origine e la destinazione si sovrappongono, normal refuses. force allows it, but the result depends on copy order and is rarely what you wanted. Cloning to a scratch area and back is more predictable.
I chunk devono essere caricati
Entrambi i comandi funzionano solo su chunk caricati. A /fill reaching into unloaded terrain silently does nothing out there. For scripted builds, /forceload add the region first and remove it after — otherwise the same command works when you are standing nearby and fails when run from spawn.
Crea uno qualsiasi di questi comandi con gli argomenti nell'ordine corretto e il conteggio dei blocchi verificato rispetto al limite, nel World & Blocks Command Builder.