In current Rosepad toolkit (tested on commit 331d4b5), the classes get obfuscated upon build which doesn't allow direct calls to Vanilla classes.
Motivation
It is a common practice (in other modloaders) for the modders to make direct calls to Vanilla classes instead of creating their own APIs and implementation on top of the modloader.
the rest of RFC
A possible solution would be a creation of an automated script for setting up the MDK (Mod Development Kit) environment, where the sources are unobfuscated. Forge and Fabric do this when a user attempts to import their workspace into an IDE (see ForgeGradle and Loom respectively).
There are two things such a change would allow if it were to happen:
Direct calls to Vanilla classes - pretty much self-explanatory
Mixins - unlike ASM, SpongePowered's Mixin framework requires .class for the @Mixin annotation to work correctly
Overview
In current Rosepad toolkit (tested on commit
331d4b5
), the classes get obfuscated upon build which doesn't allow direct calls to Vanilla classes.Motivation
It is a common practice (in other modloaders) for the modders to make direct calls to Vanilla classes instead of creating their own APIs and implementation on top of the modloader.
the rest of RFC
A possible solution would be a creation of an automated script for setting up the MDK (Mod Development Kit) environment, where the sources are unobfuscated. Forge and Fabric do this when a user attempts to import their workspace into an IDE (see ForgeGradle and Loom respectively).
There are two things such a change would allow if it were to happen:
.class
for the@Mixin
annotation to work correctly