Lavender

Lavender

Mod

A Guidebook API and alternative to Patchouli

Client and server LibraryUtility

244.4k downloads
70 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter loader...
Filter versions...
Filter channels...

This is a straightforward port to 1.21.2 - support for older versions will be dropped

Fixes

  • Wrapping of the entry index on the landing page should now work correctly in the presence of nested categories

Fixes

  • Lavender now bundles a newer version of the lavender-md markdown library to fix parsing of multiple parameters in the owo-ui template syntax

Fixes

  • Lavender book items now check for invalid book IDs on the client, removing the constant "<Player> tried to open unknown book with id <id>" logging on servers
  • The get-lavender-book command is now client-side (to make it work properly when playing on a dedicated server) and expands to an appropriate invocation of the vanilla /give command when executed

Fixes

  • Resource condition matching for book contents (entries and categories), which was disabled during the port to 1.21, has been readded

This release is primarily a port to 1.21 - support for older versions will be dropped. Additionally, structure preview rendering now works properly in Fabulous! graphics mode (#2)

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

Project members

glisco

Member

Details

Licensed MIT
Published a year ago
Updated 2 months ago