Prefixes
Overview
For most tags, speed255 provides additional prefixes, which allow for more fine-grained control over the function of the tag.
Prefixes are added to the front of a tag, and seperated from the main tag by a plus (+) symbol.
An example of a prefixed tag is ..16+glowing
. The prefix ..16
detects when a player is within 16 blocks range of @t, and applies the effect of the tag glowing
if a player is within range.
..16+glowing
effectively translates to the following command:
/execute as @t at @s if entity @a[distance=..16] run effect give @s glowing 1 0 true
Unlike TailwindCSS, speed255 does not allow for the stacking of prefixes, as allowing for such would be detrimental to in-game performance.
As of version 0.0.3
, only effect tags work with prefixes, with prefix support for other tags coming in the near future.