diff --git a/src/lib/data/vanilla/effect.ts b/src/lib/data/vanilla/effect.ts index 2c86787..62c8305 100644 --- a/src/lib/data/vanilla/effect.ts +++ b/src/lib/data/vanilla/effect.ts @@ -5,7 +5,7 @@ import { CommandInfo } from "../command-info"; export const effect: CommandInfo[] = [ { name: "effect", - documentation: "Sets the difficulty level.", + documentation: "Adds status effects on players and other entities.", parameters: [ { text: "effect", type: ParameterType.keyword, required: true }, { text: "player", type: ParameterType.selector, required: true }, @@ -21,11 +21,28 @@ export const effect: CommandInfo[] = [ }, { name: "effect", - documentation: "Sets the difficulty level.", + documentation: "Adds status effects on players and other entities.", + parameters: [ + { text: "effect", type: ParameterType.keyword, required: true }, + { text: "player", type: ParameterType.selector, required: true }, + { text: "effect", type: ParameterType.effect, required: true }, + { text: "infinite", type: ParameterType.keyword, required: false }, + { text: "amplifier", type: ParameterType.integer, required: false }, + { + text: "hide particles", + type: ParameterType.boolean, + required: false, + }, + ], + }, + { + name: "effect", + documentation: "Removes all status effects on players and other entities.", parameters: [ { text: "effect", type: ParameterType.keyword, required: true }, { text: "player", type: ParameterType.selector, required: true }, { text: "clear", type: ParameterType.keyword, required: true }, + { text: "effect", type: ParameterType.effect, required: false }, ], }, ];