promotional bannermobile promotional banner

Mantle

Shared code for Forge mods
Back to Files

Mantle 1.9.50 for 1.18.2

File nameMantle-1.18.2-1.9.50.jar
Uploader
KnightMinerKnightMiner
Uploaded
Feb 25, 2024
Downloads
2.7M
Size
985.1 KB
Mod Loaders
Forge
File ID
5134546
Type
R
Release
Supported game versions
  • 1.18.2

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:mantle-74924:5134546")

Learn more about Curse Maven

What's new

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

This mod has no additional files