There's no effect removed from any entity is not specified when the command's executor is not a player the entity already has a status effect with the same id and the same "hideParticles" value, and the new effect has a lower amplifier and a longer duration.the entity already has a status effect with the same id and the same "hideParticles" value, but the new effect doesn't have a higher amplifier or a longer duration.the entity is immune to the specified effect. or player: target fails to resolve to one or more entities (named player must be online)Īll the selected entities meets one or more of the following conditions: The arguments are not specified correctly Must be a boolean (either true or false). And it must be between 0 and 255 (inclusive).īE: hideParticles: Boolean: enum Specifies whether the particles and the HUD indicator of the status effect should be hidden. Regeneration I) is 0, so the second tier, for example Regeneration II, would be specified by an amplifier level of 1. Note that the first tier of a status effect (e.g. In Bedrock Edition, it must be between 483647 (inclusive), and values higher than 1000000 are treated as 1000000.īE: amplifier: int: int Specifies the number of additional levels to add to the effect. In Java Edition, it must be between 000 (inclusive). If not specified, defaults to 30 seconds (or 1 gameticks for instant_damage, instant_health, and saturation). In Bedrock Edition, must be an ID of a status effect (without namespace)īE: seconds: int: int Specifies the effect's duration in seconds (or in gameticks for instant_damage, instant_health, and saturation). In Java Edition, must be an existing registered resource location in minecraft:mob_effect registry. īE: effect: Effect: enum Specifies the effect to be added or removed. Must be a player name, a target selector or a UUID. In Java Edition, if not specified, defaults to the player who executes the command. Arguments īE: player: target: CommandSelector Specifies the target(s). effect give infinite Gives an effect with infinite duration, which displays as ∞ in the GUI.Įffect clear Removes all effects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |