Lavender

Lavender

Mod

A Guidebook API and alternative to Patchouli

Client and server LibraryUtility

22.2k downloads
43 followers
Created4 months ago
Updated8 days ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.
Filter loader...
Filter versions...
Filter channels...

Changes

  • This build uses a somewhat more robust method of tracking the which the ALT key has been pressed when trying to open an item's associated entry - this should lead to better compatibility with mods like EMI

Fixes

  • Offhand book rendering should now work properly with Iris shaderpacks

This build is a straightforward port of 0.1.7 for 1.20.3+

Fixes

  • Navigating to the associated entry of an item no longer crashes if that entry is not visible to the player

Fixes

  • Referencing an invalid item in the icon of an entry/category no longer crashes the game
  • More edge cases with page wrapping in the entry have been resolved
  • Exceptions which occur during compilation of an embedded owo-ui model no longer crash the game
  • Categories which contain only other categories and no entries no longer incorrectly display as empty
  • Nested markdown which starts with a formatting syntax (eg. a keybind at the beginning of a list item) no longer applies its formatting to the entire nested section

Additions

  • The name displayed by the dynamic book can now be changed from the default "Book" by specifying the dynamic_book_name property in the book's definition. This property expects a Minecraft text object (which includes literal strings)

This build is a direct backport of 0.1.4 for 1.20.3, refer to the previous changelog for feature information

Additions

  • Categories can now be nested into each other by specifying a parent identifier in their frontmatter

Additions

  • Entries which the player did not read yet are now highlighted in the book to improve discovery
  • Categories and entries can now use a GUI sprite instead of an item for their icon through the icon_sprite frontmatter property
  • Translation keys can now be embedded into entries and categories using the new %{translation.key.here}% syntax

Fixes

  • Page-wrapping of the elements in entry indices is now fixed, stopping entries with multiline titles from pushing others off the page

Fixes

  • The size at which the offhand book preview is rendered no longer depends on the GUI scale
  • When clicking on a link and then going back to the book, the navigation history (including, importantly, the landing page) is no longer lost

Fixes

  • Zero-arg macros which expand into other zero-arg macros now properly apply
  • Macros with arguments longer than one character now properly apply
  • Books are only loaded once the player has joined a world in order to properly load entries with associated tags

Initial release

External resources



Project members

glisco

Member


Technical information

License
MIT
Client side
required
Server side
required
Project ID