All Mods Resource Packs Data Packs Shaders Modpacks Plugins
A

Abstractium

by StockiesLad • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

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.

How to Install Abstractium (Mod)

Abstractium by StockiesLad is verified for Fabric, Quilt across Minecraft versions 1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1 (latest release: 0.3.25, file size: 1,001 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.18.2, 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1) and platform (Fabric, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Quilt.
  3. Move the downloaded Abstractium file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
1.20.x 1.19.x 1.18.2
Fabric Quilt
last yr. 1
[0.3.25] Abstractium-0.3.25 by StockiesLad on Jun 12, 2024
Download
Fix more issues
[0.3.24] Abstractium-0.3.24 by StockiesLad on Jun 04, 2024
Download
Fix Issues
[0.3.23] Abstractium-0.3.23 by StockiesLad on Jun 04, 2024
Download
Gigantic refactor!!!
[0.3.22] Abstractium-0.3.22 by StockiesLad on May 03, 2024
Download
fix terrablender compat
[0.3.21] Abstractium-0.3.21 by StockiesLad on May 03, 2024
Download
fix mistakes
[0.3.20] Abstractium-0.3.20 by StockiesLad on May 03, 2024
Download
fix initiation
[0.3.19] Abstractium-0.3.19 by StockiesLad on May 03, 2024
Download
fix biomes. Maybe?
[0.3.18] Abstractium-0.3.18 by StockiesLad on May 02, 2024
Download
remove gunk in Mimic.java
[0.3.17] Abstractium-0.3.17 by StockiesLad on May 01, 2024
Download
fixed SaplingGenerator
[0.3.16] Abstractium-0.3.16 by StockiesLad on Apr 29, 2024
Download
  • change feltmc package directory to stockieslad
  • added WrappedRandom.java for an abstract random
  • Added ObjectWrapper for instancing static implementations with dynamic variables
  • Added (possibly broken) sapling generator creator method
[0.3.15] Abstractium-0.3.15 by StockiesLad on Mar 14, 2024
Download
  • fix feature registration
[0.3.14] Abstractium-0.3.14 by StockiesLad on Mar 14, 2024
Download
  • fix sign registration
[0.3.13] Abstractium-0.3.13 by StockiesLad on Mar 14, 2024
Download
  • add sign registration
[0.3.12] Abstractium-0.3.12 by StockiesLad on Mar 13, 2024
Download
  • refactor boat registration
[0.3.11] Abstractium-0.3.11 by StockiesLad on Mar 13, 2024
Download
  • Fix boat registration
Download Abstractium
Select game version
Select platform