Java API: Add back the semantics of RecipeTypeMappings.add, which supports mapping RecipeHolders to a nullable LytBlock for custom recipes.
Java API: The registration method for factories that return a Stream<LytBlock> has been renamed to addMulti.
Java API: Added convenience constructors to LytSlot for aiding with new idioms used by Vanilla, such as Optional<Ingredient> being used instead of empty ingredients (which no longer exist).
Java API: Made the row/column factory methods for LytSlotGrid accept null-entries in the ingredient lists to better interface with Ingredients no longer being able to be empty.
Fix live-reload of translated pages in multi-language guides.
Add <RecipesFor id="minecraft:oak_log" /> to show all recipes that result in a given item. Combine this with a <Row></Row> element
to get a wrapped list of recipes.
Fix handling of dragging a document element (i.e. the camera in game scenes), when the mouse was released on a
Minecraft UI element (such as the document navigation bar).
Fix drawing not being flushed properly before/after the scissor region changes when using RenderContext.
Disable the open guide hotkey from participating in building the creative menu search tree, which may have caused
crashes if the player searches in the creative menu for the first time, while hovering over an item.
Added an option for Players to disable loading of guide translations.
Added support for the strikethrough Markdown extension (~~text~~ or ~text~).
Added rendering for Markdown blockquotes.
Added support for entities in game scenes using <Entity />. See game scenes for details.
Add <CommandLink command="/command" [title="tooltip"] [close={true}]>...</CommandLink> that runs a command when clicked.
Added a tag for coloring text using pre-defined colors, for use with the 16 default Minecraft colors.
Fix several search issues relating to not analyzing queries properly, which reduced the number of relevant results.
Fix returning to the original screen when the guide is closed.
Improved visibility of the debug overlay text and outlines.
Fix background panels in guide being drawn without depth test enabled, sometimes hiding other elements.
Fix "Crafting (shapeless)" sometimes overflowing the recipe box and design an easier to use API for
integrating custom recipe types.
Fix a hidden navbar in guides without navigation still blocking interaction with elements below.
Floating point attributes to custom tags can now be specified using MDX expression syntax too (i.e.: <GameScene zoom={2.5}>).
Please note that only bare floating point values are supported, no actual expressions.
Fatal Markdown parsing errors will now no longer crash the resource reload and instead replace the offending page with an error page.
Cycles in the navigation tree will now be reported and no longer cause a stack overflow during resource reload.
Fix scaling in <ItemImage /> also scaling normals, which made items with 3d models appear too dark.
Switching to the NeoForge versioning scheme, this version is equivalent to version 2.6.0, except for the following changes.
Improved query parsing for full-text search. Search will now always apply "incremental" search for the last entered word,
assuming the user might not have entered it fully yet. This means searching for "io po" will search for both "io po"
and "io po*", although it will score an exact hit for "po" higher than a hit for "port" (for example).
Fix parsing of links to pages where the mod-id contained underscores (i.e. modern_industrialization:some_page.md).
Fix tooltip crash caused by wrong access transformer.
Change the default layout of guides to be a centered column, and add a toolbar button to toggle between
full-width and centered-column layout.
Fix navigating between guide pages not appending to navigation history
Add configuration screen
Make scaling of Guide UI independent of UI scale for scales 1 and 3, where the uniform Minecraft font
has severe rendering issues. This behavior can be disabled in the config screen (Adaptive Scaling).
Added support for blast furnace recipes
Do not show a navigation bar for guides that do not have any navigation items
Added full-text search based on Apache Lucene, which is enabled for all guides:
Added alignItems="start|center|end" to the Row and Column tags to align content along the layout axis
Added fullWidth={true} to the Row and Column axis to stretch them to the full width
This enables <Column alignItems="center" fullWidth={true}>...</Column> to center content like images horizontally
Fix the navigation bar sometimes opening and closing very slowly
Store the navigation history on a per-guide basis, fixing "page not found" errors when switching back and forth between different guides.
To limit the increase in Jar size due to Lucenes rather large volume, starting with this release,
Proguard is enabled to strip unused parts of GuideMEs bundled dependencies (this saves about 5MB). There
is some potential for ClassNotFoundErrors in cases where we missed required Proguard configuration.
Please let us know if you find any errors!
API additions
ConstantColor#TRANSPARENT
Added index method to TagCompiler to allow custom tags to control how they are indexed by search
By default, all custom tags simply add their children to the indexer
Skip fully invisible blocks (without block entities) when calculating the bounding box of a game scene. Fixes inexplicably larger bounds when blocks like minecraft:light where included in the exported structure.
Adds API to open guides for players from both server- and client-side
GuidesCommon.openGuide(Player player, ResourceLocation guideId) to open the last opened (or start-page if none) page of a guide for the given player.
GuidesCommon.openGuide(Player player, ResourceLocation guideId, PageAnchor anchor) to open a specific page of a guide for the given player.
Moves the existing client-only command to /guidemec
Adds a new server-side /guidemecommand that allows opening guides for target entities similar to /tellraw.
This can be used to open guides using command blocks and other mechanisms.
Example: /guideme open @s testmod:guide to open the start page
or /guideme open @s testmod:guide page.md#anchor to open a specific page at an anchor.