1. Wiki
  2. /Commandes
  3. //loot

/loot

Mets des commandes dans ton add-on sous forme de fonctions : GodCraft les écrit et les empaquette pour toi.Get GodCraft

/loot: Fait tomber des objets d'une table de butin, du butin d'une créature ou d'un bloc, dans le monde ou dans un inventaire.

Syntaxe

Ce qui est entre <chevrons> est obligatoire, ce qui est entre [crochets] est facultatif. /loot a 21 formes :

/loot <target: targetspawn> <position: position_float> <source: sourceloot> <loot_table: id> [<tool>|mainhand|offhand: tool]
/loot <target: targetspawn> <position: position_float> <source: sourcekill> <entity: selection> [<tool>|mainhand|offhand: tool]
/loot <target: targetspawn> <position: position_float> <source: sourcemine> <TargetBlockPosition: position_float> [<tool>|mainhand|offhand: tool]
/loot <target: targetgive> <players: selection> <source: sourceloot> <loot_table: id> [<tool>|mainhand|offhand: tool]
/loot <target: targetgive> <players: selection> <source: sourcekill> <entity: selection> [<tool>|mainhand|offhand: tool]
/loot <target: targetgive> <players: selection> <source: sourcemine> <TargetBlockPosition: position_float> [<tool>|mainhand|offhand: tool]
/loot <target: targetinsert> <position: position_float> <source: sourceloot> <loot_table: id> [<tool>|mainhand|offhand: tool]
/loot <target: targetinsert> <position: position_float> <source: sourcekill> <entity: selection> [<tool>|mainhand|offhand: tool]
/loot <target: targetinsert> <position: position_float> <source: sourcemine> <TargetBlockPosition: position_float> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <entity: targetentity> <entity: selection> <slotType: entityequipmentslot> <slotId: int> <count: int> <source: sourceloot> <loot_table: id> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <entity: targetentity> <entity: selection> <slotType: entityequipmentslot> <slotId: int> <source: sourceloot> <loot_table: id> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <entity: targetentity> <entity: selection> <slotType: entityequipmentslot> <slotId: int> <count: int> <source: sourcekill> <entity: selection> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <entity: targetentity> <entity: selection> <slotType: entityequipmentslot> <slotId: int> <source: sourcekill> <entity: selection> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <entity: targetentity> <entity: selection> <slotType: entityequipmentslot> <slotId: int> <count: int> <source: sourcemine> <TargetBlockPosition: position_float> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <entity: targetentity> <entity: selection> <slotType: entityequipmentslot> <slotId: int> <source: sourcemine> <TargetBlockPosition: position_float> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <block: targetblock> <position: position_float> <slotType: blockequipmentslot> <slotId: int> <count: int> <source: sourceloot> <loot_table: id> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <block: targetblock> <position: position_float> <slotType: blockequipmentslot> <slotId: int> <source: sourceloot> <loot_table: id> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <block: targetblock> <position: position_float> <slotType: blockequipmentslot> <slotId: int> <count: int> <source: sourcekill> <entity: selection> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <block: targetblock> <position: position_float> <slotType: blockequipmentslot> <slotId: int> <source: sourcekill> <entity: selection> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <block: targetblock> <position: position_float> <slotType: blockequipmentslot> <slotId: int> <count: int> <source: sourcemine> <TargetBlockPosition: position_float> [<tool>|mainhand|offhand: tool]
/loot <target: targetreplace> <block: targetblock> <position: position_float> <slotType: blockequipmentslot> <slotId: int> <source: sourcemine> <TargetBlockPosition: position_float> [<tool>|mainhand|offhand: tool]

Commandes: Commandes

We use cookies to improve your experience and analyse site traffic. Learn more