Requires updating Tinkers' Construct to 3.9.1 or later. Do not report any crashes caused by using a too new Mantle with an older Tinkers' Construct alpha.
Recipes
- Simplified usages of
FluidObject
with common tags. See the update primer for more information. - Improve helpers on
FluidObject
to simplify datagen. - Introduced
FluidOutput
, for tagged outputs in fluid recipes. Works likeItemOutput
but for fluids. Used notably on fluid transfer, and several Tinkers' Construct recipe formats. ItemOutput
now supports NBT on tagged output, plus has new Java helpers forcopy()
,getCount()
, andisEmpty()
.- Fix fluid ingredient network serializing of empty and flowing fluids.
JSON Parsing
- Introduce loadables for arrays, both primitive types and object arrays.
- Added
LongLoadable
,DoubleLoadable
andCharacterLoadable
for remaining primitive types not yet supported. Forshort
andbyte
useIntLoadable
. - All collection loadables now have
emptyField
to create a field that defaults to empty. - Introduce
defualtField
overload toColorLoadable
that sets the default to white. SetLoadable
now supports quick builder formapWithValues
.- Propigate context into
StringLoadable
- Introduce
LegacyField
to allow making a loadable field support a legacy name.LoadableField
now has a key parameter inget
in the abstract method to make this work. - Deprecate for removal most variants of
JsonHelper#parseList
. Added a couple loadable variants as the preferred API. - Deprecate for removal
ModelHelper#vectorToJson
andModelHelper#arrayToVector
, seeVector3fLoadable
- Deprecate for remove
ModelHelper#arrayToObject
, seeFloatArrayLoadable
. - Data map loader now supports changing how it merges, and supports passing in context in the static helper.
Misc
- Synchronize the tag preference comparator cache (SlimeKnights/TinkersConstruct#5289)
- Added new constant and helper for the common namespace. Currently set to
"forge"
, but in the future will be changed to"c"
. Using the constant will simplify migration. - Deprecated
TagHelper
for removal, all its utilities were redundant to some inNbtUtils
. - Deprecate
IdExtender
for removal. Its primary function is now on resource locations, except forwrap
which is now inJsonHelper
. Was also just way overengineered. - Work around bad mixins into the food property getter (SlimeKnights/TinkersConstruct#5291)
- Migrate away from google immutable collections towards Java immutable collections in many places.
- Fix crash running
/mantle book export_images
with enchanted items.