aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build.gradle12
-rw-r--r--src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java10
-rw-r--r--src/main/resources/assets/oneconfig/font/ascii.pngbin85817 -> 0 bytes
3 files changed, 10 insertions, 12 deletions
diff --git a/build.gradle b/build.gradle
index fa58373..e7c3232 100644
--- a/build.gradle
+++ b/build.gradle
@@ -20,13 +20,21 @@ minecraft {
}
configurations {
- implementation.extendsFrom(include)
+ shade
+ implementation.extendsFrom(shade)
}
repositories {
+ mavenCentral()
+ maven { url "https://repo.sk1er.club/repository/maven-public" }
}
dependencies {
+ shade ("gg.essential:universalcraft-1.8.9-forge:177") {
+ exclude module: "kotlin-reflect"
+ exclude module: "kotlin-stdlib-jdk8"
+ }
+ shade "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
/**
@@ -66,7 +74,7 @@ classes.dependsOn moveResources
shadowJar {
archiveClassifier.set('dep')
- configurations = [project.configurations.include]
+ configurations = [project.configurations.shade]
duplicatesStrategy DuplicatesStrategy.EXCLUDE
}
diff --git a/src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java b/src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java
deleted file mode 100644
index 0c45d44..0000000
--- a/src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package io.polyfrost.oneconfig.renderer;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.client.gui.FontRenderer;
-import net.minecraft.util.ResourceLocation;
-
-public class TextRenderer {
- public static FontRenderer fontRenderer = new FontRenderer(Minecraft.getMinecraft().gameSettings, new ResourceLocation("oneconfig:font/ascii"),
- Minecraft.getMinecraft().getTextureManager(), false);
-}
diff --git a/src/main/resources/assets/oneconfig/font/ascii.png b/src/main/resources/assets/oneconfig/font/ascii.png
deleted file mode 100644
index 2ae6577..0000000
--- a/src/main/resources/assets/oneconfig/font/ascii.png
+++ /dev/null
Binary files differ