MinecraftHub.io
Java Mods

Mantle

Shared code library from mDiyo and the Slime Knights for Forge and NeoForge mods, with a reworked hearts display. Other mods depend on it, so it does little alone.

MinecraftHub-generated cover art for Mantle: a floating snowy block island with a workshop of crafting tables and furnaces and a chest, under a night sky

Screenshot 1 of 1. MinecraftHub-generated cover art for Mantle: a floating snowy block island with a workshop of crafting tables and furnaces and a chest, under a night sky

What Mantle works with.

PlatformJava Edition
LoadersNeoForge, Forge
Minecraft versions1.7.2, 1.11.2, 1.12.2, 1.14.4, 1.15.2, 1.16.5, 1.18.2, 1.19.2, 1.20.1, 1.21.1
EnvironmentClient, Server

Mantle is a library from mDiyo and the Slime Knights team, made up of shared code for Forge and NeoForge mods. This mantle mod loads on both client and server, and it does little by itself because other mods call into it. Install it when a mod you want lists it as a requirement.

Loaders and versions

What Mantle provides

Mantle holds the code the Slime Knights mods have in common. Descriptive book code and common inventories live here, so each mod does not have to rewrite them. The credited authors are mDiyo, Alexbegt, bonusboni, KnightMiner, ProgWML6 and fuj1n.

Mantle also reworks the hearts display, replacing rows of stacked hearts with overlaid colored hearts. The colors only appear if you have a way to raise your max health, and regular hearts are unchanged.

Installing Mantle

  1. 1.Set up Forge or NeoForge for your Minecraft release, following how to install Forge and NeoForge.
  2. 2.Pick the Mantle file made for your loader and that release.
  3. 3.Place the file in the mods folder (.minecraft/mods by default) on both the client and the server.
  4. 4.Launch with the Forge or NeoForge profile.

The general routine is covered in how to install Minecraft mods on Java Edition. The newest builds need no dependencies. Just Enough Items (JEI) is the only optional companion.

Source and bug reports

The code is open on GitHub under the MIT License, and the Slime Knights keep a wiki alongside it. Bug reports should include the Mantle release, the versions of mods that depend on it, the loader build and any mods that might be related. For crashes, add the steps to reproduce and the FML log.

Questions about Mantle.

4 questions

What does the Mantle mod do?

Mantle is a shared code library used by the Slime Knights mods. It supplies descriptive book code and common inventories, so those mods do not each carry their own. It also reworks the hearts display with overlaid colored hearts. On its own it adds almost nothing to play.

Do I need Mantle on both client and server?

Its files are tagged for both client and server, so install it on both. Any mod that depends on Mantle needs it present wherever that mod runs.

Does Mantle work on Fabric?

No Fabric build is listed. Mantle is made as shared code for Forge mods, and its current builds target Forge and NeoForge. A file made for one loader runs only on that loader, so Fabric mods cannot use it.

Where do I report a Mantle bug or crash?

Use the issue tracker in the SlimeKnights/Mantle repository on GitHub. Include your Minecraft and Mantle releases, the mods that depend on Mantle, your loader build, and any possibly related mods. For crashes, add reproduction steps and the FML log.

More Java Mods like Mantle.

Guides for Java Mods.

Browse all Minecraft Java mods ↗