-
ADDED:
FormattedStringBuilder
overloads for links with colours. -
ADDED:
sort_num
field in category.json for deciding the ordering of categories on the landing page. -
CHANGED: Modopedia books should now show up on JEI and REI searches under the namespace they were created in (e.g. for searching
@enchanted
). This feature currently only works on NeoForge.
-
DEPRECATED: The following features have been deprecated and marked for removal in 1.21.2. They have been removed from the documentation and replaced by their successors:
modopedia:item
- replaced bymodopedia:item_gallery
modopedia:framed_item
- replaced bymodopedia:framed_item_gallery
modopedia:framed_crafting_grid
- replaced bymodopedia:grid_framed_item_gallery
-
BREAKING: Book types are now directly passed to BookScreen. Custom book types and screens will need to be adjusted accordingly.
-
ADDED:
modopedia:item_gallery
component, this replaces the now deprecatedmodopedia:item
component. See documentation for how to use this, it's very different. -
ADDED:
modopedia:grid_framed_item_gallery
component, this replaces the now deprecatedmodopedia:framed_crafting_grid
component. -
ADDED:
modopedia:framed_item_gallery
component, this replaces the now deprecatedmodopedia:framed_item
component. -
ADDED:
FormattedTextBuilder
for use in datagen. -
ADDED:
BookRenderContext#renderItem
method. This should be used in place of traditional item rendering as it handles the Study keybind. -
ADDED:
EntryBuilder
can now directly link itself to a category during datagen. -
CHANGED: URL text formatters now display the URL on a tooltip.
-
CHANGED: Click and hover events on formatted text will now work in landing and category screens.
-
FIXED: Books with no subtitle will crash when trying to render their tooltip.
-
CHANGED: Cooking and double cooking page templates now use the title "Cooking Recipe" instead of "Recipe"
-
CHANGED: Entity/Multiblock page templates (and by extension block pages) now automatically set their width to the width of the page. The
width
field they use has been removed. -
FIXED: Page Components which use a widget (e.g. image gallery buttons) do not create their widget when used as part of a template.
-
CHANGED: Datagen has had some small breaking changes, update your code.
-
CHANGED: Added hyphenated word-splitting exemptions for specific languages such as Chinese and Japanese.
-
CHANGED: PageComponents now have their language code passed in.
-
FIXED: Scale of Multiblock and Entity displays not having the same effect as expected.
-
FIXED: Word splitting loses a character
-
FIXED: Async ordering issue during book loading.