Language

MagicLib

MagicLib

Modrinth

To beat magic with magic :(

832.9k downloads 109 followers updated 1mo ago
latest vv0.8.852-mc1.21.4-neoforge Modrinth
Fabric Forge Neoforge Quilt 1.14.4 – 26.2 Library

MagicLib

Minecraft
License
Languages
Java
Issues
Pull Requests
Last Building
Stable Release
Development Release Downloads
Github Release Downloads
Modrinth Downloads
CurseForge Downloads

中文

❗Before reporting a problem, be sure to try the latest beta version to check if the problem still exists.

Description

A library of versatile mod dependencies.

Dependencies

| Dependency | Type | Environment | Link |
|------------|----------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------|
| Carpet | Optional | Client / Server | CurseForge | GitHub |
| MaliLib | Optional | Client | CurseForge |
| Mod Menu | Optional | Client | CurseForge | Modrinth |

Feature

Compat API

  • Multi-version compatibility, yes, we have used a number of means to make it compatible with all the latest releases of Minecraft (1.14+) running on the Fabric Loader. How is this done? Magic :(
  • We have written compatibility APIs for balancing the differences between versions. For developers maintaining multiple MC versions of mods at the same time, it is possible to ignore Mojang's changes to MC to a certain extent. You don't have to care about what Mojang has done, using the API you will easily be able to use the same code between MC versions.

Dependency check

We have added a complete dependency checking system to verify dependency availability by means of expressions and even custom predicates, who can be applied in a variety of scenarios, e.g.

  • MagicLibMixinPlugin provides additional dependency checking for the module, which makes up for some shortcomings of Fabric Loader, for example by setting different dependencies for the client side and the server side.
  • Dependency checking can also be applied to Mixin, and Mixin will only be applied if the conditions are met.
  • Dependency checking can also be applied to configuration management so that the configuration item is only displayed if the conditions are met.
  • Further features may be included in future developments.

I18n

  • We have reimplemented I18n independent of MC and can set the list of alternate languages for MagicLib I18n. Mojang uses some tricks with I18n text to make some features of String.format unavailable, which is usually annoying.

Malilib extensions

  • We have written a very useful configuration management module for Malilib where we will use basic data types with Java annotations to generate configuration lists wherever possible. Also, for configuration files we have included a configuration versioning system which will help you to quickly write your own custom migration solution in the event of a major change to the configuration file structure.
  • We have ported some features from a higher version of Malilib to make it easier to use the same features when using Malilib adapted to a lower version of Minecraft

Development

Support

Current main development for Minecraft version: 1.20.1

And use preprocess to be compatible with all versions.

Note: I only accept the following versions of issues. Please note that this information is time-sensitive and any version of the issue not listed here will be closed

  • Minecraft 1.14.4
  • Minecraft 1.15.2
  • Minecraft 1.16.5
  • Minecraft 1.17.1
  • Minecraft 1.18.2
  • Minecraft 1.19.2
  • Minecraft 1.19.3
  • Minecraft 1.19.4
  • Minecraft 1.20.1

Mappings

We are using the Mojang official mappings to de-obfuscate Minecraft and insert patches.

Document

The English doc and the Chinese doc are aligned line by line.

License

This project is available under the LGPLv3 license. Feel free to learn from it and incorporate it in your own projects.

Versions

Release
v0.8.852-mc1.21.4-neoforge
neoforge · 1.21.4 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
52
Release
v0.8.852-mc1.21.8-neoforge
neoforge · 1.21.6, 1.21.7, 1.21.8 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
20
Release
v0.8.852-mc26.2-neoforge
neoforge · 26.2 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
211
Release
v0.8.852-mc26.1.2-neoforge
neoforge · 26.1, 26.1.1, 26.1.2 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
87
Release
v0.8.852-mc1.21.5-neoforge
neoforge · 1.21.5 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
15
Release
v0.8.852-mc1.21.3-neoforge
neoforge · 1.21.2, 1.21.3 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
14
Release
v0.8.852-mc1.21.10-neoforge
neoforge · 1.21.9, 1.21.10 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
30
Release
v0.8.852-mc1.21.11-neoforge
neoforge · 1.21.11 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
92
Release
v0.8.852-mc1.21.1-neoforge
neoforge · 1.21, 1.21.1 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
867
Release
v0.8.852-mc1.20.6-neoforge
neoforge · 1.20.5, 1.20.6 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
12
Release
v0.8.852-mc1.20.2-neoforge
neoforge · 1.20.2 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
13
Release
v0.8.852-mc1.20.1-forge
forge · 1.20.1 · 1mo ago
## Features - Minecraft 26.2 Support (#357) **Full Changelog**: https://github.com/Hendrix-Shen/MagicLib/compare/0.8-patch.15...0.8-patch.16 ------- Bui…
502

Comments 0

No comments yet. Be the first to share your thoughts.

FAQ

How do I install MagicLib?

Download the file for your Minecraft version and loader from this page, then drop the .jar into your mods (or plugins) folder and launch the game.

Is MagicLib free?

MagicLib is free to download on Modgrid — we link straight to the official source, no paywall or bundled installer.

Which Minecraft versions does MagicLib support?

Works with Fabric, Forge, Neoforge, Quilt. Supports versions 1.14.4–26.2. See the download section on this page for the full list of supported versions and loaders.

Download MagicLib

R v0.8.852-mc1.21.4-neoforge 1.21.4 neoforge 1.6 MB R v0.8.852-mc1.21.8-neoforge 1.21.6, 1.21.7, 1.21.8 neoforge 1.6 MB R v0.8.852-mc26.2-neoforge 26.2 neoforge 1.6 MB R v0.8.852-mc26.1.2-neoforge 26.1, 26.1.1, 26.1.2 neoforge 1.6 MB R v0.8.852-mc1.21.5-neoforge 1.21.5 neoforge 1.6 MB R v0.8.852-mc1.21.3-neoforge 1.21.2, 1.21.3 neoforge 1.6 MB R v0.8.852-mc1.21.10-neoforge 1.21.9, 1.21.10 neoforge 1.6 MB R v0.8.852-mc1.21.11-neoforge 1.21.11 neoforge 1.6 MB R v0.8.852-mc1.21.1-neoforge 1.21, 1.21.1 neoforge 1.6 MB R v0.8.852-mc1.20.6-neoforge 1.20.5, 1.20.6 neoforge 1.6 MB R v0.8.852-mc1.20.2-neoforge 1.20.2 neoforge 1.4 MB R v0.8.852-mc1.20.1-forge 1.20.1 forge 1.6 MB R v0.8.852-mc1.19.4-forge 1.19.4 forge 1.6 MB R v0.8.852-mc1.18.2-forge 1.18.2 forge 1.6 MB R v0.8.852-mc26.2-fabric 26.2 fabric, quilt 1.8 MB R v0.8.852-mc1.17.1-forge 1.17.1 forge 1.6 MB R v0.8.852-mc1.21.8-fabric 1.21.6, 1.21.7, 1.21.8 fabric, quilt 1.8 MB R v0.8.852-mc26.1.2-fabric 26.1, 26.1.1, 26.1.2 fabric, quilt 1.8 MB R v0.8.852-mc1.21.5-fabric 1.21.5 fabric, quilt 1.8 MB R v0.8.852-mc1.21.4-fabric 1.21.4 fabric, quilt 1.8 MB R v0.8.852-mc1.21.3-fabric 1.21.2, 1.21.3 fabric, quilt 1.8 MB R v0.8.852-mc1.21.11-fabric 1.21.11 fabric, quilt 1.8 MB R v0.8.852-mc1.21.1-fabric 1.21, 1.21.1 fabric, quilt 1.8 MB R v0.8.852-mc1.21.10-fabric 1.21.9, 1.21.10 fabric, quilt 1.8 MB R v0.8.852-mc1.20.4-fabric 1.20.3, 1.20.4 fabric, quilt 1.8 MB R v0.8.852-mc1.20.6-fabric 1.20.5, 1.20.6 fabric, quilt 1.8 MB R v0.8.852-mc1.20.2-fabric 1.20.2 fabric, quilt 1.8 MB R v0.8.852-mc1.20.1-fabric 1.20.1 fabric, quilt 1.8 MB R v0.8.852-mc1.19.4-fabric 1.19.4 fabric, quilt 1.8 MB R v0.8.852-mc1.19.2-fabric 1.19.2 fabric, quilt 1.8 MB R v0.8.852-mc1.19.3-fabric 1.19.3 fabric, quilt 1.8 MB R v0.8.852-mc1.18.2-fabric 1.18.2 fabric, quilt 1.8 MB R v0.8.852-mc1.17.1-fabric 1.17.1 fabric, quilt 1.8 MB R v0.8.852-mc1.16.5-fabric 1.16.5 fabric, quilt 1.8 MB R v0.8.852-mc1.15.2-fabric 1.15.2 fabric, quilt 1.8 MB R v0.8.852-mc1.14.4-fabric 1.14.4 fabric, quilt 1.8 MB R v0.8.838-mc26.1.2-neoforge 26.1, 26.1.1, 26.1.2 neoforge 1.6 MB R v0.8.838-mc1.21.8-neoforge 1.21.6, 1.21.7, 1.21.8 neoforge 1.6 MB R v0.8.838-mc1.21.5-neoforge 1.21.5 neoforge 1.6 MB R v0.8.838-mc1.21.11-neoforge 1.21.11 neoforge 1.6 MB R v0.8.838-mc1.21.4-neoforge 1.21.4 neoforge 1.6 MB R v0.8.838-mc1.21.3-neoforge 1.21.2, 1.21.3 neoforge 1.6 MB R v0.8.838-mc1.21.10-neoforge 1.21.9, 1.21.10 neoforge 1.6 MB R v0.8.838-mc1.20.6-neoforge 1.20.5, 1.20.6 neoforge 1.6 MB R v0.8.838-mc1.21.1-neoforge 1.21, 1.21.1 neoforge 1.6 MB R v0.8.838-mc1.20.1-forge 1.20.1 forge 1.6 MB R v0.8.838-mc1.20.2-neoforge 1.20.2 neoforge 1.4 MB R v0.8.838-mc1.18.2-forge 1.18.2 forge 1.6 MB R v0.8.838-mc1.17.1-forge 1.17.1 forge 1.6 MB R v0.8.838-mc1.19.4-forge 1.19.4 forge 1.6 MB

Files are served directly from the original source. Modgrid does not host or modify them.