mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 04:27:59 +01:00
Move hdskins back to main
It wasn't going to stay there because loom doesn't support arbitrary mod configurations
This commit is contained in:
parent
1cdc9582e3
commit
460e8c56b4
12 changed files with 10 additions and 16 deletions
12
build.gradle
12
build.gradle
|
@ -39,27 +39,21 @@ if (System.env.CI) {
|
|||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
hdskins
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft "com.mojang:minecraft:${project.minecraft_version}"
|
||||
mappings "net.fabricmc:yarn:${project.yarn_mappings}"
|
||||
modCompile "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
modApi "net.fabricmc:fabric-loader:${project.loader_version}"
|
||||
|
||||
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
|
||||
hdskinsCompileOnly "com.google.code.findbugs:jsr305:3.0.2"
|
||||
|
||||
modApi "net.fabricmc.fabric-api:fabric-api-base:0.1.0+"
|
||||
modApi "net.fabricmc.fabric-api:fabric-events-lifecycle-v0:0.1.0+"
|
||||
modApi "net.fabricmc.fabric-api:fabric-resource-loader-v0:0.1.0+"
|
||||
|
||||
compile "com.minelittlepony:Kirin:${project.kirin_version}"
|
||||
modCompile "com.minelittlepony:Kirin:${project.kirin_version}"
|
||||
include "com.minelittlepony:Kirin:${project.kirin_version}"
|
||||
|
||||
hdskinsCompile sourceSets.main.output
|
||||
hdskinsCompile "com.minelittlepony:HDSkins:${project.hd_skins_version}"
|
||||
modImplementation "com.minelittlepony:HDSkins:${project.hd_skins_version}"
|
||||
}
|
||||
|
||||
//
|
||||
|
|
|
@ -9,5 +9,5 @@ pluginManagement {
|
|||
}
|
||||
}
|
||||
rootProject.name = 'MineLittlePony'
|
||||
includeBuild '../Kirin'
|
||||
includeBuild '../HDSkins'
|
||||
//includeBuild '../Kirin'
|
||||
//includeBuild '../HDSkins'
|
|
@ -4,7 +4,7 @@ import net.fabricmc.api.ClientModInitializer;
|
|||
import net.fabricmc.fabric.api.event.client.ClientTickCallback;
|
||||
import net.fabricmc.loader.api.FabricLoader;
|
||||
|
||||
import com.minelittlepony.client.gui.hdskins.IndirectHDSkins;
|
||||
import com.minelittlepony.client.hdskins.IndirectHDSkins;
|
||||
|
||||
public class FabMod implements ClientModInitializer {
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ import com.mojang.authlib.GameProfile;
|
|||
import com.mojang.authlib.minecraft.MinecraftProfileTexture;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
||||
public class HDSkinsProxy extends SkinsProxy {
|
||||
class HDSkinsProxy extends SkinsProxy {
|
||||
|
||||
@Override
|
||||
public Identifier getSkinTexture(GameProfile profile) {
|
|
@ -1,11 +1,11 @@
|
|||
package com.minelittlepony.client.gui.hdskins;
|
||||
package com.minelittlepony.client.hdskins;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
|
||||
public final class IndirectHDSkins {
|
||||
public static void initialize() {
|
||||
try {
|
||||
Class.forName("com.minelittlepony.client.hdskins.MineLPHDSkins").getConstructor().newInstance();
|
||||
new MineLPHDSkins();
|
||||
} catch (Exception e) {
|
||||
LogManager.getLogger().warn("Failed to initialize hooks for hdskins", e);
|
||||
}
|
|
@ -18,7 +18,7 @@ import com.minelittlepony.hdskins.net.ValhallaSkinServer;
|
|||
/**
|
||||
* All the interactions with HD Skins.
|
||||
*/
|
||||
public class MineLPHDSkins {
|
||||
class MineLPHDSkins {
|
||||
private static final String MINELP_VALHALLA_SERVER = "http://skins.minelittlepony-mod.com";
|
||||
|
||||
private static final String MINELP_LEGACY_SERVER = "http://minelpskins.voxelmodpack.com";
|
Loading…
Reference in a new issue