diff --git a/src/Lib/Data/Vanilla/loot.ts b/src/Lib/Data/Vanilla/loot.ts index bdf43d9..1ef98c7 100644 --- a/src/Lib/Data/Vanilla/loot.ts +++ b/src/Lib/Data/Vanilla/loot.ts @@ -109,6 +109,147 @@ export const loot: CommandInfo[] = [ { text: "tool", type: ParameterType.handType, required: false }, ], }, + /**replace block */ + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "kill", type: ParameterType.keyword, required: true }, + { text: "entity target", type: ParameterType.selector, required: true }, + { text: "item", type: ParameterType.item, required: false }, + ], + }, + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "kill", type: ParameterType.keyword, required: true }, + { text: "entity target", type: ParameterType.selector, required: true }, + { text: "tool", type: ParameterType.handType, required: false }, + ], + }, + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "count", type: ParameterType.integer, required: true }, + { text: "kill", type: ParameterType.keyword, required: true }, + { text: "entity target", type: ParameterType.selector, required: true }, + { text: "item", type: ParameterType.item, required: false }, + ], + }, + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "count", type: ParameterType.integer, required: true }, + { text: "kill", type: ParameterType.keyword, required: true }, + { text: "entity target", type: ParameterType.selector, required: true }, + { text: "tool", type: ParameterType.handType, required: false }, + ], + }, + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "loot table", type: ParameterType.lootTable, required: true }, + { text: "item", type: ParameterType.item, required: false }, + ], + }, + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "loot table", type: ParameterType.lootTable, required: true }, + { text: "tool", type: ParameterType.handType, required: false }, + ], + }, + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "count", type: ParameterType.integer, required: true }, + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "loot table", type: ParameterType.lootTable, required: true }, + { text: "item", type: ParameterType.item, required: false }, + ], + }, + { + name: "loot", + documentation: "Drops the given loot table into the world", + parameters: [ + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "replace", type: ParameterType.keyword, required: true }, + { text: "block", type: ParameterType.keyword, required: true }, + { text: "x", type: ParameterType.coordinate, required: true }, + { text: "y", type: ParameterType.coordinate, required: true }, + { text: "z", type: ParameterType.coordinate, required: true }, + { text: "slot type", type: ParameterType.slotType, required: true, options:{acceptedValues:["slot.container"]} }, + { text: "slot id", type: ParameterType.slotID, required: true }, + { text: "count", type: ParameterType.integer, required: true }, + { text: "loot", type: ParameterType.keyword, required: true }, + { text: "loot table", type: ParameterType.lootTable, required: true }, + { text: "tool", type: ParameterType.handType, required: false }, + ], + }, /**replace entity */ { name: "loot",