Skip to content
This repository has been archived by the owner on Jan 31, 2018. It is now read-only.

Documentation

Syst3ms edited this page Aug 20, 2017 · 5 revisions

QuarSK Documentation

This is the QuarSK documentation, listing all syntaxes in the addon !

Notice : All syntax is inherently prefixed with '[quar[s]k]'

Events :

  • [potion] splash[ing] [(of|with) %potioneffecttypes%]
  • linger[ing] potion splash[ing] [with [effect] types %potioneffecttypes%]

Conditions :

  • %block% (is|are) [a] wall banner
  • %block% (isn't|is not|aren't|are not) [a] wall banner
  • %livingentity% (has [got]|has( not|n't) [got]) [(the|a)] %potioneffecttype% [potion] [effect]

Effects :

  • apply [(banner|shield)] patterns of %itemstack% to %block%
  • apply %itemstack%['s] [(banner|shield)] pattern[s] to %block%
  • orient %livingentity% (towards|away from) %location%
  • make %livingentity% (face|look [at]) ([towards]|away from) %location%
  • force %livingentity% to (face|look [at]) ([towards]|away from) %location%
  • milk %livingentities%
  • link @<.+?>@ to %object%
  • apply %potioneffects% to %livingentities%

Expressions :

  • [all] [potion] effects (of|on) [(entity|thrown potion|tipped arrow)] %entity% >> returns a potion effect
  • [the] beacon fuel[ing] [item] of %block% >> returns an item stack
  • %block%'[s] beacon fuel[ing] [item] >> returns an item stack
  • [the] ((first|primary)|second[ary]) [potion] effect of [beacon] %block% >> returns a potion effect
  • [beacon] %block%['s] ((first|primary)|second[ary]) [potion] effect >> returns a potion effect
  • [new] (banner|shield) (with|using) [pattern[s]] %bannerlayers% [(and|with)] base colo[u]r %color% >> returns an item stack
  • [the] beacon (tier|level) of %block% >> returns a number
  • %block%'[s] beacon (tier|level) >> returns a number
  • [the] tier of %potioneffect% >> returns a number
  • %potioneffect%'[s] tier >> returns a number
  • [potion] effects (on|of) %itemstack% >> returns a potion effect
  • %itemstack%['s] [potion] effects >> returns a potion effect
  • [banner] pattern[s] of %block% >> returns a banner layer
  • %block%['s] [banner] pattern[s] >> returns a banner layer
  • [the] bas(e|ic) color of %block% >> returns a color
  • %block%'[s] bas(e|ic) color >> returns a color
  • ([normal] potion|splash potion|linger[ing] potion|(potion|tipped) arrow) (with|using) [effects] %potioneffects% >> returns an item stack
  • entities in range of [beacon] %block% >> returns a living entity
  • [the] affected entities >> returns a living entity
  • [a] [new] random (banner|shield) >> returns an item stack
  • [potion] effects (on|of) %livingentities% >> returns a potion effect
  • %livingentities%['s] [potion] effects >> returns a potion effect
  • %potioneffecttype% for %timespan% [with] tier %number% [particles %-boolean% [(ambient|beacon) %-boolean% [colo[u]r %-color%]]]]] >> returns a potion effect
  • [m[iners]]n[eed]c[ool][s[hoes]] code of %itemstack% >> returns a text
  • %itemstack%['s] [m[iners]]n[eed]c[ool][s[hoes]] code >> returns a text
  • [banner] pattern[s] of %itemstack% >> returns a banner layer
  • %itemstack%['s] [banner] pattern[s] >> returns a banner layer
  • [the] banner item of %block% >> returns an item stack
  • %block%'[s] banner item >> returns an item stack
  • (tier|amplifier) of %potioneffecttype% on %itemstack% >> returns a number
  • %potioneffecttype%['s] (tier|amplifier) on %itemstack% >> returns a number
  • [the] bas(e|ic) color of %itemstack% >> returns a color
  • %itemstack%'[s] bas(e|ic) color >> returns a color
  • [the] [potion] effect type of %potioneffect% >> returns a potion
  • %potioneffect%'[s] [potion] effect type >> returns a potion
  • [the] duration of %potioneffect% >> returns a time span
  • %potioneffect%'[s] duration >> returns a time span
  • (banner|shield) from [m[iners]]n[eed]c[ool][s[hoes]] [code] %string% >> returns an item stack
  • [new] [banner] (layer|pattern) (with|using) (pattern [type]|type) %bannerpattern% [(with|and)] colo[u]r %color% >> returns a banner layer
  • duration of %potioneffecttype% on %itemstack% >> returns a time span
  • %potioneffecttype%['s] duration on %itemstack% >> returns a time span