4.2.0 for 1.17.1
Repository version: 4.2.0+1.17.1
Added
- Narrator. Narrates: all!
Narration support for LibGui is here! Widgets can now add narration messages inWWidget.addNarrations
. - Added experimental
ObservableProperty
API- Basically a lite version of Gradle's
Property
or JavaFX properties, if you're familiar with those. These can be modified and observed with listeners. - Still experimental because the API is not done yet, but the final result should be pretty close to this.
- Basically a lite version of Gradle's
- Added
WWidget.hovered
observable property andWWidget.canHover
- A boolean property that tells the widget whether there's a cursor over it. Useful for narration messages or doing stuff on mouse enter/exit.
- This is used in the backend of narration support, and also exposed as an experimental API like the observable properties.