-
Notifications
You must be signed in to change notification settings - Fork 1
Keywords
SpaceClouds42 edited this page Apr 1, 2021
·
4 revisions
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.
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.
- black
- darkBlue
- darkGreen
- darkAqua
- darkRed
- darkPurple
- gold
- gray
- darkGray
- darkBlue
- green
- aqua
- red
- lightPurple
- yellow
- white
- 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
Thanks for reading, I hope it helped