Skip to content

1.11.36 for 1.20.1

Latest
Compare
Choose a tag to compare
@KnightMiner KnightMiner released this 20 Jan 07:38

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 like ItemOutput 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 for copy(), getCount(), and isEmpty().
  • 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 and CharacterLoadable for remaining primitive types not yet supported. For short and byte use IntLoadable.
  • All collection loadables now have emptyField to create a field that defaults to empty.
  • Introduce defualtField overload to ColorLoadable that sets the default to white.
  • SetLoadable now supports quick builder for mapWithValues.
  • Propigate context into StringLoadable
  • Introduce LegacyField to allow making a loadable field support a legacy name. LoadableField now has a key parameter in get 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 and ModelHelper#arrayToVector, see Vector3fLoadable
  • Deprecate for remove ModelHelper#arrayToObject, see FloatArrayLoadable.
  • 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 in NbtUtils.
  • Deprecate IdExtender for removal. Its primary function is now on resource locations, except for wrap which is now in JsonHelper. 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.

Full changelog

v1.11.28...v1.11.36