Discover the Minecraft PewPewCubes Mod - crafted by a dedicated team of German university students. Experience the thrill of laser tag within Minecraft's blocky universe. With diverse game modes and polished code, we bring electrifying battles to players worldwide. Let's light up Minecraft with epic laser tag action!
One layer where all the business logic of the mod resides. This layer is completely independent of minecraft and fabric. This layer should not be edited when switching the minecraft version or the modloader to for example forge.
Then there should be a middleware layer where all the code that depends on minecraft and the mod business logic lies. The code in this layer must be edited when switching the minecraft version but not when switching the modloader.
Then the last layer contains all the code specific to the modloader. Code in this layer must be edited when switching the modloader and most likely also when switching the minecraft version.
Also refactor the package structure inside the layers
Currently the package structure is unintuitive and it is sometimes hard to find some classes.
Idea
Create three layers:
One layer where all the business logic of the mod resides. This layer is completely independent of minecraft and fabric. This layer should not be edited when switching the minecraft version or the modloader to for example forge. Then there should be a middleware layer where all the code that depends on minecraft and the mod business logic lies. The code in this layer must be edited when switching the minecraft version but not when switching the modloader. Then the last layer contains all the code specific to the modloader. Code in this layer must be edited when switching the modloader and most likely also when switching the minecraft version.
Also refactor the package structure inside the layers
Currently the package structure is unintuitive and it is sometimes hard to find some classes.