MagicLib

MagicLib

Mod

To beat magic with magic :(

Client and server Library

132.4k downloads
72 followers
Created2 years ago
Updated5 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Changelog

Hey, we're proud to say that after a difficult development process, the first, more finished, release of MagicLib is out!

What we do?

  • 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
  • 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
  • Multi-version compatibility, yes, we use a number of means to be compatible with all versions of Minecraft running on Fabric Loader (1.14+). How is this done? Magic :(
  • Additional I18n implementation, but this is a temporary solution. As you probably know, the Mojang implementation of I18n has a number of flaws in formatting strings, so we will be reimplementing an I18n module to facilitate better use of string formatting. We will be working on the I18n module in the next release, so look out for that!

Future prospects

  • Reconfiguration of the I18n module.
  • Compatible with several versions of TranslatableText and LiteralText (api).
  • Write a usable tutorial to help developers understand how to use MagicLib.

Credit

  • @plusls

Files

magiclib-0.3.26.jar(722.74 KiB) Primary Download
magiclib-0.3.26-sources.jar(132.22 KiB) Download

External resources



Project members

hendrix-shen

Owner

plusls

Member


Technical information

License
LGPL-3.0-only
Client side
required
Server side
required
Project ID