your current location:首页 > news>rift minecraft

rift minecraft

2024-12-15 01:14:11|Myriagame |source:minecraft skins

introduce

Rift is a lightweight module development (Modding) API, library and module loader (Moddinger) of Minecraft 1.13. Its main purpose is to create a lightweight and modular development for MineCraft to create a lightweight and modular development.Module's API.Rift does not completely replace FORGE or compete with Forge. On the contrary, it will form a MOD network with the optional community library. You can find a complete library list in the tutorial area.Already dead

Why choose this API

Simple and scalable interface -based event system (the module can add its own events only with a few lines of code)

Registered items, blocks, entity blocks, fluids, enchantment, particle types, potion effects, biological group systems, entity, entity block rendering device, customized items rendering, complex (JSON) synthesis, dimension, world type, more, more, moreInterface

Can easily add simple network communication APIs with the original packets and module communication packages (Mod Messages)

The tick event called each tick or the server is called

The support and allowance of Mixin and other ClasstransFormers

Automatic dependence download and decompression

Some functions that depend on other modules will only be enabled when the module is installed (linkage function)

Lightweight and modular API

The goal of RIFT is to achieve any API in expanding the game with minimizing the game, and this will not add additional dependence.Compared to that super complicated event system (Forge), Rift has achieved a simple, fast, efficient, and clean interface -based system for expanding the content of the original game.

For modifying the original logic, RIFT encouraging module developers add callbacks or redirects instead of using a Mixin library to add callbacks or redirects in any original method.

Rift does not directly add complex functions (such as energy API, custom model rendering, custom block state format, etc.) to APIs, but to use library mods separated from it to achieve them (Library Mods)You can find a complete list below).The main benefit of this is that this allows Rift to update to the new version of the new version of Minecraft. In fact, 1.14rift is actually abandoned. Users will not need to use their modules that they do not need to use.Rift without loading any module will be as fast, stable and memory as the original game.

Make the module added more like the original content

Rift API will not provide any hooks for modifying the existing game mechanism.Instead, it provides hooks for extended original game content (you can find a complete list below).RIFT also encourages the module to use the original API as much as possible and share the creation item bar and the options menu with the original game to make it more integrated in the original game, which will reduce the difference between the original content and the module content that the player sees.

However, this did not limit modules using Rift API in any way.In fact, this is exactly its advantages.The module using RIFT can change the game's working method (Game Works) in a more stable way than FORGE API. No matter what reason, the module will be able to use Mixin (a simple annotation -based modification original version based on the original version of the original versionCode system) to inject their callbacks in any original method, or you can replace the original method or replace them with your own code.Mixin also ensures compatibility when a large number of modules are injected under the same method.

Let the module work across the version

With Rift, your module will be able to work in multiple Minecraft versions.By using an optional module compatible module, RIFT will re -map the module to update the confusing name and inject the original method that has not been implemented to the class to stabilize the unstable Minecraft API.Although it is impossible to be compatible with N MINECRAFT versions, most modules should be able to work normally in several versions of Minecraft.1.13-1.13.2

Fast and efficient

Regardless of whether it is installed in the FORGE module or installed in an independent manner, RIFT will not slow down the loading time of the game.Rift is based on the interface rather than event bus, so it will not load the additional library. Event callback will be very fast. Add your own module event will only need a few rows of code.

Recommended library

Unlike forge, Rift's goal is to make modules develop more modular.Rift itself will only provide the function of expanding the original game, and the more advanced API and functions will be provided by the community.Here are some common functions solutions: network communication: Rift API, Protocharsett

Configuration settings: GSON (original library), configuration, and other libraries you want

Programming Language Support: Riftlin (Kotlin), Scift (Scala)

Energy API: Zeropoint

Compatible related: RIFT-CAPABILIES

The block status format that can be selected: is developing, and will soon arrive

JSON -based GUI: Development will soon arrive

Generate annotated riftmod.json: pylon