Releases: SlimeKnights/Mantle
Releases · SlimeKnights/Mantle
1.9.54 for 1.18.2
This release for 1.18 notably backports the book export command from newer Mantle versions to 1.18. It also backports many bug fixes from the 1.19 version, as they were trivial to copy over and might as well if we are making another release.
Additions
- Added new book export command for the sake of generating book pages on the website. See Mantle Commands for more information.
- Added a method to
GenericDataProvider
to save JSON using a codec. - Improve resource failure message when it is unable to be loaded.
Fixes
- Fix crash from adding invalid NBT to retextured blocks (#207)
- Fix missing page numbers on books (#218)
- Fix missing sound when a fluid has no sound (SlimeKnights/TinkersConstruct#5185)
- Fix
MantleItemLayer
not properly supporting animations with frame count mismatching frame list - Fix
ItemOutput
caching missing results - Fix
TagPreference
conflict if multiple registries have a tag with the same name. Also ensure its threadsafe - Fix log output for
FluidTooltipHandler
reporting the wrong number of parsed fluid tooltips - Fix AddLootEntryModifier reading the conditions array from the wrong location (SlimeKnights/TinkersConstruct#5268)
v1.10.36
- Allow
GenericDataProvider
JSON to override the key comparator - Update slot wrappers to fix a bug with Tinkers
- Drop class generic from
TypedMap
- Update damage source predicate to consider vanilla's bypass enchantments flag
- Support custom transform types in item models
- Fix improper handling of frames in mantle item layer
Loadable
- Added a loadable "field" for error factories, allowing constructor exceptions of the proper type
- Added
IdAwareComponentRegistry
for JSON objects that areIdAwareObject
(that is, store their registry name as a field) - Added option to create a direct field from a loader registry without mapping the type key
- Make named component registries registration thread safe
- Added methods to get keys and values for named component registries (for using data outside of JSON)
Full Changelog: v1.9.50...v1.10.36
v1.10.24 for 1.19.2
- Added validate function to loadables as a shortcut for xmap with the same mapper twice
- Added entity ingredient support to JEI, figured it might as well be here since the ingredient is
- Restore name key support in fluid ingredient as a deprecated & warning key
- Restore type key support in entity ingredient with its original functionality
- Ditch "forRemoval" part of IGenericLoader deprecation, as it adds things that look like errors but are not fixable for now
- Fix ItemOutput possibly caching an empty output when mods fetch outputs before tags load
- Fix preference cache not supporting multiple registries, and make it thread safe
Full Changelog: v1.10.23...v1.10.24
First 1.19.2 build
v1.9.50
This Mantle build contains both bug fixes and some features for the next 1.18.2 Tinkers' Construct update. It should not cause any breaking of Tinkers' Construct nor its addons, if anything breaks please report it.
Content
- Added a command to clear book cache without doing a full resource pack reload, should make writing and translating books more efficient.
- Fix long words causing issues in generated indexes in books.
- Fixed issue showing retexturable recipes in JEI caused by JEI changing their API in the middle of a major version.
Datapacks
- Added item predicates: work similarly to ingredients but only care about items, not item stacks, for use in modifiers
- Added damage predicates: match a damage source, used in many modifiers
- Added several new block and living entity predicate types. Block predicates notably got an any predicate.
- Added helpers for reading a blockstate from JSON and writing a blockstate to JSON.
- Changed fluid transfer logic to process JSON overrides before forge fluid API. In nearly every case an item will not be both (most notably we include no JSON matching fluid API using items), but this allows modpacks to override buggy behavior and will run a bit more efficiently.
- Inverted predicates are now written more compactly in JSON. The old format should continue to work, post a bug report if any JSON stops working after this update.
Technical
- Added additional common loaders for generic loader registries, including enum, nested, registry entry, registry set, resource location, and string. Some of these were previously in Tinkers' Construct
- Fix fluid tooltip cache not clearing on tag reload
- Fix a crash when dumb mods return null particle textures
v1.9.45
Fix slots in various containers allowing you to ignore stack size
v1.9.43
- Synchronize deferred registers in wrappers, will help with Tinkers' module setup
- Add support in colored block model to UV lock on a per element basis
- Move retextured block name tooltip to before the main tooltip, as its basically part of the name
Full Changelog: v1.9.31...v1.9.43
1.9.31 for 1.18.2
- Added recipe helper interfaces to make recipe datagen easier
- Added a few more generic serializer types
- Added generic predicate logic from tinkers
- Improve the native implementation of retexturable blocks
- Fix a syncing error with retexturable blocks
- Fix invalid default on luminosity
- Fix bug in LogicHelper's array method causing it to still have array out of bounds errors
1.9.27 for 1.18.2
Fix a syncing issue with the fluid transfer packet
1.9.26 for 1.18.2
Content
- Added tags for water and lava as mods add their own fluids to the vanilla tags
Helpers
- Added color manager from tinkers
- Port many Json Utils from tinkers to
JsonHelper
- Port fluid ingredient serializer
- Port unplacable fluid helper from tinkers
- Added fluid transfer utils, for transferring fluids and out of fluid tanks via items
- Added safe client access, for using client only classes in code that runs on the serverside
- Added fluid tooltip logic from tinkers
Books
- Fix indexed links sending you to the wrong page when advancements lock sections