diff options
author | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-02-13 18:05:37 +0100 |
---|---|---|
committer | DeDiamondPro <67508414+DeDiamondPro@users.noreply.github.com> | 2022-02-13 18:05:37 +0100 |
commit | 002ad618741807dfd1ad25fe54c2310469e7d56d (patch) | |
tree | d70436a5478b7f73ba718b1d8d08e7809433d926 | |
parent | 0542327df8cf1deb62d7446d350059c9e5ae1152 (diff) | |
download | OneConfig-002ad618741807dfd1ad25fe54c2310469e7d56d.tar.gz OneConfig-002ad618741807dfd1ad25fe54c2310469e7d56d.tar.bz2 OneConfig-002ad618741807dfd1ad25fe54c2310469e7d56d.zip |
add universalcraft
-rw-r--r-- | build.gradle | 12 | ||||
-rw-r--r-- | src/main/java/io/polyfrost/oneconfig/renderer/TextRenderer.java | 10 | ||||
-rw-r--r-- | src/main/resources/assets/oneconfig/font/ascii.png | bin | 85817 -> 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 Binary files differdeleted file mode 100644 index 2ae6577..0000000 --- a/src/main/resources/assets/oneconfig/font/ascii.png +++ /dev/null |