Skip to content

Releases: SlimeKnights/Mantle

v1.10.36

13 May 06:29
Compare
Choose a tag to compare
v1.10.36 Pre-release
Pre-release
  • 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 are IdAwareObject (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

08 Apr 05:28
Compare
Choose a tag to compare
v1.10.24 for 1.19.2 Pre-release
Pre-release
  • 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

01 Apr 21:56
Compare
Choose a tag to compare
First 1.19.2 build Pre-release
Pre-release

Update to 1.19.2.

Will add more details later.

Full Changelog: v1.9.50...v1.10.23

v1.9.50

25 Feb 05:31
Compare
Choose a tag to compare

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

27 Apr 08:42
2021b01
Compare
Choose a tag to compare

Fix slots in various containers allowing you to ignore stack size

v1.9.43

19 Jan 05:20
Compare
Choose a tag to compare
  • 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

07 Nov 05:39
Compare
Choose a tag to compare
  • 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

13 Jun 01:59
Compare
Choose a tag to compare

Fix a syncing issue with the fluid transfer packet

1.9.26 for 1.18.2

12 Jun 02:43
Compare
Choose a tag to compare

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

1.9.20 for 1.18.2

08 May 21:09
Compare
Choose a tag to compare

General

  • Deferred register wrapper now supports any registry type instead of just forge registries
  • Added helpers to get streams of tag values
  • Simplify tag preference
  • Added command to view preferences for tags
  • Generic loader now has a couple of new helpers for working with JSON objects and singletons
  • Generic loader registry now has a bit more validation on the loader, ensuring the serializer is for the correct type
  • Defaults are now supported as long as the generic methods are used
  • Fix a bug with the mouse in books on macs (will likely backport to 1.18.1 later)

JSON

  • Fluid tag empty condition replaced with generic tag empty condition
  • Removed mantle:intersection in favor of new forge:intersection
  • Removed mantle:difference in favor of new forge:difference
  • Removed datagen helpers for compound and NBT ingredients as forge has static constructors now