Releases: SpaceServe/spaceserve-ekho
SpaceServe Transition
Packages have been renamed, and the maven repository is fixed. (i think)
1.17
Nothing in the DSL has changed. Improved buildscripts and set up a system for a test mod, but didn't implement yet because I just want to get this out so I can use it.
Better Style and Color, TextComponents
Can now set style with style = premadeStyleObject
(as well as the same previous style { green; bold }
)
Colors can now be set with color = premadeTextColorObject
and rgb = 0x003300
. color { }
no longer exists
Existing text objects can be added as components, just like strings
val someText = ekho("Some existing text object") { style { green } }
val moreText = ekho("some stuff") { newLine; someText(false) }
// the false passed in to the invocation of someText prevents style inheritance, just the same as with strings :>
Hover and Click Events
Introducing an incredibly simple way to add hover events and click events to your text! Wiki page is currently being written, but I hope it's pretty self explanatory ;)
0.1.1
I forgot to include the accesswidener in fabric.mod.json, causing a failed build when importing 🤦
0.1.0
It works! See Testing.kt for an example, better hover/click events coming soon:tm: