your current location:首页 > news>Magiclib (Magiclib) Minecraft

Magiclib (Magiclib) Minecraft

2024-12-12 09:28:14|Myriagame |source:minecraft skins

describe

Use magic to defeat magic.

Notice

The module file download in the encyclopedia. Since the corresponding MC version is not selected, it will be categorized to be categorized by yourself.It is recommended that you download the packaging jar.because:

Regarding the recent frequent questions: "Why can't my game detect Magiclib", please see this isue.

Function

Compatible API

Multiple versions are compatible, yes, we use some means to be compatible with all Minecraft versions (1.14+) running on Fabric Loader.How did this do it?magic:(

We have written compatible APIs for balanced differences between versions.For the simultaneous maintenance of multiple MC versions module developers, Mojang's changes to MC can be ignored to a certain extent.You don't have to care about what Mojang has done. Using API, you will easily use the same code between different MC versions.

Dependence

We have added a complete dependency inspection system to verify the availability through expressions and even custom predicate. He can be applied to a variety of scenarios, such as:

Magiclibmixinplugin provides an additional dependencies for modules, which make up for some defects of Fabric Loader. For example, he sets different dependencies for the client side and server side.

Dependent checkups can also be applied to Mixin, and Mixin is applied only when conditions are met.

The dependency check can also be applied to the configuration management to realize that the configuration item will be displayed only when the conditions are met.

More functions may be included in future development.

I18n

We have re -realized the i18N independent of MC, and we can set the spare language list of Magiclib i18n.Mojang uses some methods to treat i18n text, which makes some characteristics of String.Format unavailable, which is usually annoying.

Malilib extension

We have written a very practical configuration management module for Malilib. We will use the basic data types and Java annotations to generate the configuration list as much as possible.At the same time, we add the configuration version system for configuration files, which will help you quickly write your custom migration solution when the configuration file structure has changed significantly.

We transplanted some features from high versions of Malilib to use the same characteristics when using the lower version of MINECRAFT Malilib.

Development support

Currently developed version: 1.20.1 and pre -processing to compatible with each version.Note: I only accept the following version, which is the last update of the main version of each MC.Please pay attention to the timeliness of the information, any version issues that are not listed here will be closed.

For this version of the information, please refer to the GitHub self -reported file!

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

Confusion mapping table

This module uses Mojang's official confusion mapping table to reflect Minecraft and insert the patch program.

document

English documents and Chinese documents are correspondingly corresponding.

license

This module was released under the LGPLV3 license.You can learn freely, or integrate it into your own project.