mirror of
https://github.com/xfl03/MCCustomSkinLoader.git
synced 2026-11-25 15:44:22 +00:00
Make it easier to build the development environment. (#133)
* Fix the warning about removing duplicate source roots when open the project with Intellij IDEA. * Add Gradle wrapper. * CustomSkinLoader can be loaded in Forge development environment now. * CustomSkinLoader can be loaded in Fabric development environment now.
This commit is contained in:
1 parent
855131d1aa
commit
1b2a4dc260
28 files changed
+746
-532
No files matched your search
@@ -1,13 +1,11 @@
|
||||
package customskinloader.tweaker;
|
||||
|
||||
import customskinloader.Logger;
|
||||
|
||||
import java.io.File;
|
||||
import java.util.List;
|
||||
|
||||
import customskinloader.Logger;
|
||||
import net.minecraft.launchwrapper.ITweaker;
|
||||
import net.minecraft.launchwrapper.LaunchClassLoader;
|
||||
import org.spongepowered.asm.launch.MixinBootstrap;
|
||||
import org.spongepowered.asm.mixin.MixinEnvironment;
|
||||
import org.spongepowered.asm.mixin.Mixins;
|
||||
|
||||
@@ -25,7 +23,6 @@ public class ModSystemTweaker implements ITweaker {
|
||||
|
||||
public void injectIntoClassLoader(LaunchClassLoader classLoader) {
|
||||
logger.info("ModSystemTweaker: injectIntoClassLoader");
|
||||
MixinBootstrap.init();
|
||||
Mixins.addConfiguration("mixins.customskinloader.json");
|
||||
MixinEnvironment.getDefaultEnvironment().setSide(MixinEnvironment.Side.CLIENT);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user