Class ExprDisplayBrightness

java.lang.Object
ch.njol.skript.lang.util.SimpleExpression<Integer>
org.skriptlang.skript.bukkit.displays.generic.ExprDisplayBrightness
All Implemented Interfaces:
Debuggable, Expression<Integer>, Loopable<Integer>, Simplifiable<Expression<? extends Integer>>, SyntaxElement, RuntimeErrorProducer, SyntaxRuntimeErrorProducer

@Name("Display Brightness") @Description({"Returns or changes the brightness override of <a href=\'#display\'>displays</a>.","Unmodified displays will not have a brightness override value set. Resetting or deleting this value will remove the override.","Use the \'block\' or \'sky\' options to get/change specific values or get both values as a list by using neither option.","NOTE: setting only one of the sky/block light overrides of a display without an existing override will set both sky and block light to the given value. Make sure to set both block and sky levels to your desired values for the best results. Likewise, you can only clear the brightness override, you cannot clear/reset the sky/block values individually."}) @Examples({"set sky light override of the last spawned text display to 7","subtract 3 from the block light level override of the last spawned text display","if sky light level override of {_display} is 5:","\tclear brightness override of {_display}"}) @Since("2.10") public class ExprDisplayBrightness extends SimpleExpression<Integer>
  • Constructor Details

    • ExprDisplayBrightness

      public ExprDisplayBrightness()
  • Method Details