#Use to remove an effect from a specific entity. cast jump duration:infinite amplifier:3 #Use to cast an effect onto the linked player or NPC for an infinite duration with an amplifier of 3 (effect level 4). #Use to cast a level 1 effect onto the linked player or NPC for 50 seconds. Returns the active potion effects on the entity, in the MapTag format of the mechanism. Returns a list of all potion effects known to the server. ] > Returns whether the entity has a specified effect. Optionally use "no_clear" to prevent clearing any previous effect instance before adding the new one. Optionally, specify "no_icon" to hide the effect icon in the corner of your screen. Optionally, specify "hide_particles" to remove the particle effects entirely. "Ambient" effects in vanilla come from a beacon, while non-ambient come from a potion. Optionally, specify "no_ambient" to hide some translucent additional particles, while still rendering the main particles. If there isn't one either, the command will error. If there isn't one, the command will target the linked NPC. If no entity is specified, the command will target the linked player. Specify "amplifier:0" to have no amplifier applied (ie effect level 1). If you don't specify an amplifier level, it defaults to 1, meaning an effect of level 2 (this is for historical compatibility reasons). The amplifier is how many levels to *add* over the normal level 1. If you don't specify a duration, it defaults to 60 seconds.Īn infinite duration will apply an infinite duration potion effect, refer to ObjectType: DurationTag for more details. ) (no_ambient) (hide_particles) (no_icon) (no_clear)Ĭasts a potion effect to a list of entities.Ĭasts or removes a potion effect to or from a list of entities. Learn about how commands work in The Beginner's Guide.Ĭast (remove) (duration : ) (amplifier : ) ( |. Commands are always written with a '-' before them, and are the core component of any script, the primary way to cause things to happen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |