Notizie
Gioco
Guide
Download
Versioni
/loot
COMANDI OGGETTI E INVENTARIO TRUCCHI · LIVELLO 2 4 SOTTOCOMANDI Aggiunto in 1.14 o precedente

/loot comando in Minecraft

/loot estrae una tabella del bottino e manda il risultato ai giocatori, in un contenitore, in caselle precise o a terra. Il bottino può venire da un ID di tabella, dai drop di una creatura, dalla rottura di un blocco con un attrezzo o dalla pesca, senza che nulla muoia o si rompa davvero.

Sintassi

/loot give <players> (fish|kill|loot|mine)
/loot insert <targetPos> (fish|kill|loot|mine)
/loot replace (block|entity)
/loot spawn <targetPos> (fish|kill|loot|mine)
Tutte le 70 forme
  • /loot give <players> fish <loot_table> <pos>
  • /loot give <players> fish <loot_table> <pos> mainhand
  • /loot give <players> fish <loot_table> <pos> offhand
  • /loot give <players> fish <loot_table> <pos> <tool>
  • /loot give <players> kill <target>
  • /loot give <players> loot <loot_table>
  • /loot give <players> mine <pos>
  • /loot give <players> mine <pos> mainhand
  • /loot give <players> mine <pos> offhand
  • /loot give <players> mine <pos> <tool>
  • /loot insert <targetPos> fish <loot_table> <pos>
  • /loot insert <targetPos> fish <loot_table> <pos> mainhand
  • /loot insert <targetPos> fish <loot_table> <pos> offhand
  • /loot insert <targetPos> fish <loot_table> <pos> <tool>
  • /loot insert <targetPos> kill <target>
  • /loot insert <targetPos> loot <loot_table>
  • /loot insert <targetPos> mine <pos>
  • /loot insert <targetPos> mine <pos> mainhand
  • /loot insert <targetPos> mine <pos> offhand
  • /loot insert <targetPos> mine <pos> <tool>
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos>
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> mainhand
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> offhand
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> <tool>
  • /loot replace block <targetPos> <slot> <count> kill <target>
  • /loot replace block <targetPos> <slot> <count> loot <loot_table>
  • /loot replace block <targetPos> <slot> <count> mine <pos>
  • /loot replace block <targetPos> <slot> <count> mine <pos> mainhand
  • /loot replace block <targetPos> <slot> <count> mine <pos> offhand
  • /loot replace block <targetPos> <slot> <count> mine <pos> <tool>
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos>
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos> mainhand
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos> offhand
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos> <tool>
  • /loot replace block <targetPos> <slot> kill <target>
  • /loot replace block <targetPos> <slot> loot <loot_table>
  • /loot replace block <targetPos> <slot> mine <pos>
  • /loot replace block <targetPos> <slot> mine <pos> mainhand
  • /loot replace block <targetPos> <slot> mine <pos> offhand
  • /loot replace block <targetPos> <slot> mine <pos> <tool>
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos>
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> mainhand
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> offhand
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> <tool>
  • /loot replace entity <entities> <slot> <count> kill <target>
  • /loot replace entity <entities> <slot> <count> loot <loot_table>
  • /loot replace entity <entities> <slot> <count> mine <pos>
  • /loot replace entity <entities> <slot> <count> mine <pos> mainhand
  • /loot replace entity <entities> <slot> <count> mine <pos> offhand
  • /loot replace entity <entities> <slot> <count> mine <pos> <tool>
  • /loot replace entity <entities> <slot> fish <loot_table> <pos>
  • /loot replace entity <entities> <slot> fish <loot_table> <pos> mainhand
  • /loot replace entity <entities> <slot> fish <loot_table> <pos> offhand
  • /loot replace entity <entities> <slot> fish <loot_table> <pos> <tool>
  • /loot replace entity <entities> <slot> kill <target>
  • /loot replace entity <entities> <slot> loot <loot_table>
  • /loot replace entity <entities> <slot> mine <pos>
  • /loot replace entity <entities> <slot> mine <pos> mainhand
  • /loot replace entity <entities> <slot> mine <pos> offhand
  • /loot replace entity <entities> <slot> mine <pos> <tool>
  • /loot spawn <targetPos> fish <loot_table> <pos>
  • /loot spawn <targetPos> fish <loot_table> <pos> mainhand
  • /loot spawn <targetPos> fish <loot_table> <pos> offhand
  • /loot spawn <targetPos> fish <loot_table> <pos> <tool>
  • /loot spawn <targetPos> kill <target>
  • /loot spawn <targetPos> loot <loot_table>
  • /loot spawn <targetPos> mine <pos>
  • /loot spawn <targetPos> mine <pos> mainhand
  • /loot spawn <targetPos> mine <pos> offhand
  • /loot spawn <targetPos> mine <pos> <tool>
/loot give
/loot give <players> (fish|kill|loot|mine)
ArgomentoAccettaA cosa serve
playersSelettore di giocatoriuno o piùGiocatori che ricevono il bottino nell'inventario: @p, @a, @s o un nome.
loot_tableTabella del bottinoID della tabella del bottino, per esempio minecraft:chests/simple_dungeon o minecraft:gameplay/fishing.
posCoordinate del blocco (x y z)Posizione del blocco usata da mine o fish, come x y z oppure ~ ~-1 ~ per il blocco sotto di te.
toolfacoltativoOggetto con componentiAttrezzo usato per l'estrazione: mainhand, offhand o un ID come minecraft:diamond_pickaxe.
targetSelettore di entitàunoSingola entità di cui kill estrae i drop, per esempio @e[type=minecraft:zombie,limit=1,sort=nearest].
Tutte le 10 forme
  • /loot give <players> fish <loot_table> <pos>
  • /loot give <players> fish <loot_table> <pos> mainhand
  • /loot give <players> fish <loot_table> <pos> offhand
  • /loot give <players> fish <loot_table> <pos> <tool>
  • /loot give <players> kill <target>
  • /loot give <players> loot <loot_table>
  • /loot give <players> mine <pos>
  • /loot give <players> mine <pos> mainhand
  • /loot give <players> mine <pos> offhand
  • /loot give <players> mine <pos> <tool>
/loot insert
/loot insert <targetPos> (fish|kill|loot|mine)
ArgomentoAccettaA cosa serve
targetPosCoordinate del blocco (x y z)Coordinate del contenitore che riceve il bottino, come un baule in ~ ~-1 ~.
loot_tableTabella del bottinoID della tabella del bottino, per esempio minecraft:chests/simple_dungeon o minecraft:gameplay/fishing.
posCoordinate del blocco (x y z)Posizione del blocco usata da mine o fish, come x y z oppure ~ ~-1 ~ per il blocco sotto di te.
toolfacoltativoOggetto con componentiAttrezzo usato per l'estrazione: mainhand, offhand o un ID come minecraft:diamond_pickaxe.
targetSelettore di entitàunoSingola entità di cui kill estrae i drop, per esempio @e[type=minecraft:zombie,limit=1,sort=nearest].
Tutte le 10 forme
  • /loot insert <targetPos> fish <loot_table> <pos>
  • /loot insert <targetPos> fish <loot_table> <pos> mainhand
  • /loot insert <targetPos> fish <loot_table> <pos> offhand
  • /loot insert <targetPos> fish <loot_table> <pos> <tool>
  • /loot insert <targetPos> kill <target>
  • /loot insert <targetPos> loot <loot_table>
  • /loot insert <targetPos> mine <pos>
  • /loot insert <targetPos> mine <pos> mainhand
  • /loot insert <targetPos> mine <pos> offhand
  • /loot insert <targetPos> mine <pos> <tool>
/loot replace
/loot replace (block|entity)
ArgomentoAccettaA cosa serve
targetPosCoordinate del blocco (x y z)Posizione della destinazione: un contenitore per insert o replace, il punto di caduta per spawn.
slotSlotPrima casella scritta da replace, per esempio container.0 o weapon.mainhand.
countNumero interoalmeno 0Numero di caselle consecutive che replace può riempire a partire dalla prima.
loot_tableTabella del bottinoID della tabella del bottino, per esempio minecraft:chests/simple_dungeon o minecraft:gameplay/fishing.
posCoordinate del blocco (x y z)Posizione del blocco usata da mine o fish, come x y z oppure ~ ~-1 ~ per il blocco sotto di te.
toolfacoltativoOggetto con componentiAttrezzo usato per l'estrazione: mainhand, offhand o un ID come minecraft:diamond_pickaxe.
targetSelettore di entitàunoSingola entità di cui kill estrae i drop, per esempio @e[type=minecraft:zombie,limit=1,sort=nearest].
entitiesSelettore di entitàuno o piùEntità le cui caselle ricevono il bottino con replace entity, come @s o @a.
Tutte le 40 forme
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos>
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> mainhand
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> offhand
  • /loot replace block <targetPos> <slot> <count> fish <loot_table> <pos> <tool>
  • /loot replace block <targetPos> <slot> <count> kill <target>
  • /loot replace block <targetPos> <slot> <count> loot <loot_table>
  • /loot replace block <targetPos> <slot> <count> mine <pos>
  • /loot replace block <targetPos> <slot> <count> mine <pos> mainhand
  • /loot replace block <targetPos> <slot> <count> mine <pos> offhand
  • /loot replace block <targetPos> <slot> <count> mine <pos> <tool>
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos>
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos> mainhand
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos> offhand
  • /loot replace block <targetPos> <slot> fish <loot_table> <pos> <tool>
  • /loot replace block <targetPos> <slot> kill <target>
  • /loot replace block <targetPos> <slot> loot <loot_table>
  • /loot replace block <targetPos> <slot> mine <pos>
  • /loot replace block <targetPos> <slot> mine <pos> mainhand
  • /loot replace block <targetPos> <slot> mine <pos> offhand
  • /loot replace block <targetPos> <slot> mine <pos> <tool>
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos>
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> mainhand
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> offhand
  • /loot replace entity <entities> <slot> <count> fish <loot_table> <pos> <tool>
  • /loot replace entity <entities> <slot> <count> kill <target>
  • /loot replace entity <entities> <slot> <count> loot <loot_table>
  • /loot replace entity <entities> <slot> <count> mine <pos>
  • /loot replace entity <entities> <slot> <count> mine <pos> mainhand
  • /loot replace entity <entities> <slot> <count> mine <pos> offhand
  • /loot replace entity <entities> <slot> <count> mine <pos> <tool>
  • /loot replace entity <entities> <slot> fish <loot_table> <pos>
  • /loot replace entity <entities> <slot> fish <loot_table> <pos> mainhand
  • /loot replace entity <entities> <slot> fish <loot_table> <pos> offhand
  • /loot replace entity <entities> <slot> fish <loot_table> <pos> <tool>
  • /loot replace entity <entities> <slot> kill <target>
  • /loot replace entity <entities> <slot> loot <loot_table>
  • /loot replace entity <entities> <slot> mine <pos>
  • /loot replace entity <entities> <slot> mine <pos> mainhand
  • /loot replace entity <entities> <slot> mine <pos> offhand
  • /loot replace entity <entities> <slot> mine <pos> <tool>
/loot spawn
/loot spawn <targetPos> (fish|kill|loot|mine)
ArgomentoAccettaA cosa serve
targetPosPosizione (x y z)Punto in cui cadono gli oggetti, decimali ammessi, per esempio ~ ~1 ~.
loot_tableTabella del bottinoID della tabella del bottino, per esempio minecraft:chests/simple_dungeon o minecraft:gameplay/fishing.
posCoordinate del blocco (x y z)Posizione del blocco usata da mine o fish, come x y z oppure ~ ~-1 ~ per il blocco sotto di te.
toolfacoltativoOggetto con componentiAttrezzo usato per l'estrazione: mainhand, offhand o un ID come minecraft:diamond_pickaxe.
targetSelettore di entitàunoSingola entità di cui kill estrae i drop, per esempio @e[type=minecraft:zombie,limit=1,sort=nearest].
Tutte le 10 forme
  • /loot spawn <targetPos> fish <loot_table> <pos>
  • /loot spawn <targetPos> fish <loot_table> <pos> mainhand
  • /loot spawn <targetPos> fish <loot_table> <pos> offhand
  • /loot spawn <targetPos> fish <loot_table> <pos> <tool>
  • /loot spawn <targetPos> kill <target>
  • /loot spawn <targetPos> loot <loot_table>
  • /loot spawn <targetPos> mine <pos>
  • /loot spawn <targetPos> mine <pos> mainhand
  • /loot spawn <targetPos> mine <pos> offhand
  • /loot spawn <targetPos> mine <pos> <tool>

Esempi

Bottino da dungeon per un giocatore

/loot give @p loot minecraft:chests/simple_dungeon

Il giocatore più vicino riceve un'estrazione dalla tabella del baule del dungeon.

Java 26.3

Drop di zombi senza ucciderlo

/loot spawn ~ ~1 ~ kill @e[type=minecraft:zombie,limit=1,sort=nearest]

Fa cadere sopra di te il bottino dello zombi più vicino, che resta vivo.

Java 26.3

Riempire un baule col bottino dell'End

/loot insert ~ ~-1 ~ loot minecraft:chests/end_city_treasure

Aggiunge un'estrazione della tabella del tesoro della città dell'End al contenitore sotto di te.

Java 26.3

Provare il drop di un blocco

/loot give @s mine ~ ~-1 ~ mainhand

Mostra cosa lascerebbe il blocco sotto di te con l'attrezzo in mano, senza romperlo.

Java 26.3

Simulare una pescata

/loot give @s fish minecraft:gameplay/fishing ~ ~ ~ mainhand

Estrae la tabella di pesca nella tua posizione, con la canna nella mano principale.

Java 26.3

Scrivere il bottino in caselle scelte

/loot replace block ~ ~-1 ~ container.0 3 loot minecraft:chests/buried_treasure

Mette il bottino del tesoro sepolto nelle prime tre caselle del contenitore sotto di te.

Java 26.3
Componi il tuo comando

Compila i campi, poi copia il comando.

Generatore di comandi

Quattro sorgenti

  • loot legge direttamente una tabella, come minecraft:chests/simple_dungeon.
  • kill estrae i drop di un'entità. L'entità resta viva.
  • mine simula la rottura del blocco in una posizione con un attrezzo, quindi Tocco di velluto o Fortuna su quell'attrezzo cambiano il risultato. Il blocco resta al suo posto.
  • fish estrae una tabella di pesca in una posizione, con un attrezzo.

Quattro destinazioni

give riempie gli inventari, insert aggiunge gli oggetti a un contenitore come un Baule o un Barile, spawn li fa cadere a terra in una posizione e replace li scrive nelle caselle, a partire da slot per count caselle.

Consigli

Gli ID delle tabelle seguono le cartelle dei dati di gioco: chests/, entities/, blocks/ e gameplay/. Ogni estrazione è casuale, quindi lo stesso comando dà oggetti diversi. I bauli delle strutture hanno tabelle proprie, per esempio chests/ancient_city per la Città antica. Per un oggetto fisso sono più semplici /give o /item.

✓ Verificato nella Java Edition 26.3 · aggiornato il 2 novembre 2026

/loot: FAQ

/loot kill uccide la creatura?

No. Estrae solo la tabella del bottino di quell'entità e manda gli oggetti alla destinazione. La creatura resta illesa.

Dove trovo gli ID delle tabelle del bottino?

Ricalcano la cartella loot_table dei dati di gioco, per esempio minecraft:chests/simple_dungeon o minecraft:entities/zombie. I pacchetti di dati possono aggiungerne di propri.

Come si usa /loot?

Scrivilo in chat con i trucchi attivi: /loot give <players> (fish|kill|loot|mine).

Chi può usare /loot?

Trucchi attivi o operatore di livello 2.

Comandi correlati