img



img

Abstractium


By: StockiesLad
Addon | img 300




Description

___________________________________________________________________________________________________________________________

You can read more about it:

Abstractium mod is an easy mod which provides tools for abstracting interactive code between mods and dependencies.

What is this?

Abstractium looks like this.

Abstractium = "Api" + "Minecraft Abstraction";

Api = Events + Abstraction Tools

The events system is similar to other systems, with one small exception: it has string-based identification and concurrent capability. This is the "main function" of an event mixin, which may not be available in another version.

Abstraction Tools are a simple way to implement a pre-made interface, also known as "Abstraction".

What is the best way to use it?

It's really simple to make use of my minecraft abstraction. Just add my mod to your dependency list (There will be documentation for that shortly) and access AbstractiumClient#CLIENT_ABSTRACTION_HANDLER or AbstractiumCommon#COMMON_ABSTRACTION_HANDLER. If you want to make your own abstraction handling, well that's quite a bit more complicated but you will need to follow how it's done in net.feltmc.abstractium.library. A wiki will appear at some point in the future.

Development Roadmap

This has a limited scope for the moment. Upgrade fabric 1.18.2 from the previous version. Future plans and possibilities include:

The code wrapper allows mods to be run on different versions without modification.

Versions below 1.18.2 are supported.

PatchworkMC Forge Abstraction - Abstracting forge code and wrapping it (depending on another PatchworkMC).

What was the purpose of this?

This api was created because mojang is so fond of refactoring their code. Mojang's code refactoring is a demotivating and tedious process for modders. I am sure modders will agree. Devs are forced to spend less time on enhancing the mod, and instead focus on updating the code in order to make it work on the latest version. If someone wishes to update multiple versions then multiple branches will need to be updated. This is a logistical headache. It means that many mods are split between different versions, which is a problem for users. It prevents people from having all of their favorite mods available in a modpack on the most recent versions. The frustration of the players has led to a new api that aims to eliminate these annoying nuisances.

"raction Mappings" An entrypoint is used to register the different versions of mappings. The AbstractionHandler.java class handles all the versioning automatically. Abstraction mappings allow "sub-abstraction", which is a set of calls that can be subsumed.




About Project

Created: March 14th 2024

Updated: March 14th 2024

Project ID: 8572

License: All Rights Reserved

__________________________________________

Game Versions:

1.01.03

1.01.03

1.01.03

1.01.03

1.01.03

__________________________________________

Flavors:

WoW Retail

__________________________________________

Categories

Companions

Battle

__________________________________________

Main File

StockiesLad_Abstractium.zip
  • Release
  • March 14th 2024

    __________________________________________

    Recent File

    StockiesLad_Abstractium.zip
  • Release
  • March 14th 2024

    __________________________________________

    Members

    img
    StockiesLad
    Owner

    __________________________________________

    Report