Back to mods
Abstractium project artwork

CurseForge · Minecraft mod

Abstractium

An api to aid abstracting interactions between mod and dependency.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Abstractium release should I use?

Updated 2 years ago
alpha file abstractium-0.3.25
Game version 1.19.3, 1.19.4, 1.18.2
Loader Fabric, Quilt

abstractium-0.3.25 targets 1.19.3, 1.19.4, 1.18.2 with Fabric, Quilt. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Abstractium required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Fabric, Quilt
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does abstractium-0.3.25 need?

abstractium-0.3.25. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Abstractium without breaking your instance.

Built for abstractium-0.3.25. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use abstractium-0.3.25. It targets 1.19.3, 1.19.4, 1.18.2 with Fabric, Quilt; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside abstractium-0.3.25. It opens that exact file at the source.

About this project

What does Abstractium add?

Summary

Abstractium is a moderately simple mod that provides tools to abstract interactive code between a mod and given dependency.

What does this do?

Abstractium's branch looks a little like this:

  • Abstractium = "Api" + "Minecraft Abstraction";
  • Api = "Events" + "Abstraction Tools";

Events function similarly to basically every other event system out there with the small difference that it also has concurrent capabilities and string-based identification systems. It is used to hold the main "function" of a mixin that potentially might not work in another update.

The Abstraction Tools provide an easy way to essentially implement an interface of pre-made calls a.k.a "Abstraction Mappings". The different versions of abstraction mappings are registered through an entrypoint. The AbstractionHandler.java class handles all the versioning automatically. The abstraction mappings also allow for "sub-abstraction", where a subset of specific calls can reside. Here is an example hierarchy:

  • AbstractClientCalls{
    • AbstractRenderCalls{
      • AbstractWorldRenderCalls{
        • AbstractBlockRenderCalls{},
        • AbstractEntityRenderCalls{}
      • },
      • AbstractGuiRenderCalls{}
    • },
    • AbstractSoundCalls{
      • AbstractEntitySoundCalls{},
      • AbstractBlockSoundCalls{}
    • }
  • }

The Minecraft Abstraction puts all this together to provide an inbuilt abstraction layer for other mods to use. Please keep in mind that this is far from finished. There is a bare minimum to get my mods ported to it but that's about it. If you feel like contributing, just keep in mind that I'll only accept abstractions that work for all inbuilt versions this api supports.

How do I use this?

Well if you do want to use my inbuilt minecraft abstraction, it's actually really easy! 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. There will be a wiki some time in the future.

Development Roadmap

For now this has rather limited goals. Support fabric 1.18.2 to the latest version. In the future there are possibilities not plans for the following:

  • Code Wrapper: This would allow mods from different versions running on newer ones without modifications.
  • Legacy Support: Supporting versions below 1.18.2.
  • Forge Abstraction: Abstracting and wrapping forge code (contingent upon another PatchworkMC)

Why was this made?

I made this api because of how much mojang loves to refactor their own code. I know mod devs alike can agree with me that mojang's refactors make modding so tedious and demotivating. It forces us devs to focus less on improving the mod and more on rewriting code to get it working on the latest versions. Then, if someone wants to maintain multiple versions, multiple branches have to be updated with patches/improvements which is a logistical nightmare. For the users it causes many, many mods to be split amongst different versions. This stops people from playing all their favourite mods in one modpack, on the latest versions. This frustration has been productively redirected to an ambitious api to finally nuke these irritating nuisances out of existence.

Links

Project description from CurseForge.

Pick your setup

Abstractium by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

16 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Abstractium versions and loaders

33 of 33 releases match

Looking for an older file? The official CurseForge project page is in Resources.