Skip to content

Keywords

SpaceClouds42 edited this page Apr 1, 2021 · 4 revisions

What are they?

The keywords in Ekho are words that you simply type into the lambda without having to invoke them as methods, or anything else fancy like that. This is because the code for each keyword runs on that variable's get() method. To see what I am talking about, the newLine keyword is defined here.

Style

Aside from the newLine keyword, all of them are used for styling, in style() { }. The color keywords are the 14 Minecraft colors, and the other style words are for general formatting.

Colors

  • black
  • darkBlue
  • darkGreen
  • darkAqua
  • darkRed
  • darkPurple
  • gold
  • gray
  • darkGray
  • darkBlue
  • green
  • aqua
  • red
  • lightPurple
  • yellow
  • white

Formatting

  • bold
  • noBold
  • italics
  • noItalics
  • underline
  • noUnderline
  • strikethrough
  • noStrikethrough
  • obfuscated
  • noObfuscation

The negated formats are used for overriding an inherited style. For more information, see inheritance

Clone this wiki locally