Class ExprScoreboardTags

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<String>
ch.njol.skript.expressions.ExprScoreboardTags
All Implemented Interfaces:
Debuggable, Expression<String>, SyntaxElement

@Name("Scoreboard Tags") @Description({"Scoreboard tags are simple list of texts stored directly in the data of an <a href=\'classes.html#entity\'>entity</a>.","So this is a Minecraft related thing, not Bukkit, so the tags will not get removed when the server stops. You can visit <a href=\'https://minecraft.gamepedia.com/Scoreboard#Tags\'>visit Minecraft Wiki</a> for more info.","This is changeable and valid for any type of entity. Also you can use use the <a href=\'conditions.html#CondHasScoreboardTag\'>Has Scoreboard Tag</a> condition to check whether an entity has the given tags.","","Requires Minecraft 1.11+ (actually added in 1.9 to the game, but added in 1.11 to Spigot)."}) @Examples({"on spawn of a monster:","\tif the spawn reason is mob spawner:","\t\tadd \"spawned by a spawner\" to the scoreboard tags of event-entity","","on death of a monster:","\tif the attacker is a player:","\t\tif the victim doesn\'t have the scoreboard tag \"spawned by a spawner\":","\t\t\tadd 1$ to attacker\'s balance"}) @Since("2.3") public class ExprScoreboardTags extends SimpleExpression<String>
  • Constructor Details

    • ExprScoreboardTags

      public ExprScoreboardTags()
  • Method Details