Open ryantheleach opened 6 years ago
Not exactly that, but there is https://github.com/SpongePowered/LaunchWrapperTestSuite which might be a good starting point.
You could look into Orion's code, which is pretty much a simple wrapper around Paper Minecraft server. That could be forked into standalone project not targeting Minecraft.
Obviously I'm biased here but personally as a "Mixin playground" I recommend making a simple litemod. 3 files is sufficient to get you running with mixins in a litemod, a build.gradle
, a litemod.json
and a mixin config json. The reason being that LiteLoader has Mixin directly built in so there's no wiring to speak of, and it loads quickly like a vanilla environment but has modding creature comforts. For context I do 99% of my testing of Mixin itself in a Litemod project.
The LiteLoader Example Mod has a single mixin for demonstration purposes, and shows a minimal setup for working with Mixins in a LiteLoader environment.
If I were to provide a standalone mixin playground, I think the route I would go would be to make an even more barebones version of that example project, since it is in my opinion the best way to get started with experimenting with mixins in minecraft.
I agree that a standalone version would also be cool, it's not actually necessary to use LaunchWrapper to apply Mixins in non-mc projects since it's now possible to stub out a mixin service for this purpose, so I could potentially create a standalone playground project with an example service as well.
And mcdev will automatically generate a LiteLoader mod project for you too.
I'd love to get more hands on experience with Mixin in a hands on environment that is tightly controlled, and not going to make a mess of my workspaces. Additionally I think there is some interest in using Mixin outside of Minecraft.
Would it be possible to setup a 'MixinToy' repository that
Does anyone have anything like this already set up, that could be cleaned up slightly?