From 30f824ee7e0825032e3ed61c11601804b7e626a0 Mon Sep 17 00:00:00 2001 From: Badstagram Date: Sun, 23 Mar 2025 01:00:58 +0000 Subject: [PATCH] Initial --- .gitignore | 123 ++++++++++++++++++ .idea/.gitignore | 8 ++ .idea/compiler.xml | 6 + .idea/encodings.xml | 4 + .idea/misc.xml | 7 + .idea/modules.xml | 9 ++ .../modules/OnyxGensAutoPrestigeNew.main.iml | 18 +++ .../modules/OnyxGensAutoPrestigeNew.test.iml | 18 +++ .idea/runConfigurations/Minecraft_Client.xml | 16 +++ .idea/runConfigurations/Minecraft_Server.xml | 16 +++ .idea/vcs.xml | 6 + LICENSE.txt | 21 +++ build.gradle | 89 +++++++++++++ gradle.properties | 14 ++ gradle/wrapper/gradle-wrapper.properties | 1 + settings.gradle | 9 ++ .../OnyxGensAutoPrestige.java | 10 ++ .../client/OnyxGensAutoPrestigeClient.java | 10 ++ .../mixin/ChatHudMixin.java | 30 +++++ .../assets/onyxgensautoprestige/icon.png | Bin 0 -> 7647 bytes src/main/resources/fabric.mod.json | 28 ++++ .../onyxgensautoprestige.mixins.json | 14 ++ 22 files changed, 457 insertions(+) create mode 100644 .gitignore create mode 100644 .idea/.gitignore create mode 100644 .idea/compiler.xml create mode 100644 .idea/encodings.xml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/modules/OnyxGensAutoPrestigeNew.main.iml create mode 100644 .idea/modules/OnyxGensAutoPrestigeNew.test.iml create mode 100644 .idea/runConfigurations/Minecraft_Client.xml create mode 100644 .idea/runConfigurations/Minecraft_Server.xml create mode 100644 .idea/vcs.xml create mode 100644 LICENSE.txt create mode 100644 build.gradle create mode 100644 gradle.properties create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100644 settings.gradle create mode 100644 src/main/java/gay/badstagram/onyxgensautoprestige/OnyxGensAutoPrestige.java create mode 100644 src/main/java/gay/badstagram/onyxgensautoprestige/client/OnyxGensAutoPrestigeClient.java create mode 100644 src/main/java/gay/badstagram/onyxgensautoprestige/mixin/ChatHudMixin.java create mode 100644 src/main/resources/assets/onyxgensautoprestige/icon.png create mode 100644 src/main/resources/fabric.mod.json create mode 100644 src/main/resources/onyxgensautoprestige.mixins.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..abeac37 --- /dev/null +++ b/.gitignore @@ -0,0 +1,123 @@ +.gradle +**/build/ +!src/**/build/ + +# Ignore Gradle GUI config +gradle-app.setting + +# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored) +!gradle-wrapper.jar + +# Avoid ignore Gradle wrappper properties +!gradle-wrapper.properties + +# Cache of project +.gradletasknamecache + +# Eclipse Gradle plugin generated files +# Eclipse Core +.project +# JDT-specific (Eclipse Java Development Tools) +.classpath +# Compiled class file +*.class + +# Log file +*.log + +# BlueJ files +*.ctxt + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.nar +*.ear +*.zip +*.tar.gz +*.rar + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* +replay_pid* + +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/**/usage.statistics.xml +.idea/**/dictionaries +.idea/**/shelf + +# AWS User-specific +.idea/**/aws.xml + +# Generated files +.idea/**/contentModel.xml + +# Sensitive or high-churn files +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml +.idea/**/dbnavigator.xml + +# Gradle +.idea/**/gradle.xml +.idea/**/libraries + +# Gradle and Maven with auto-import +# When using Gradle or Maven with auto-import, you should exclude module files, +# since they will be recreated, and may cause churn. Uncomment if using +# auto-import. +# .idea/artifacts +# .idea/compiler.xml +# .idea/jarRepositories.xml +# .idea/modules.xml +# .idea/*.iml +# .idea/modules +# *.iml +# *.ipr + +# CMake +cmake-build-*/ + +# Mongo Explorer plugin +.idea/**/mongoSettings.xml + +# File-based project format +*.iws + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# SonarLint plugin +.idea/sonarlint/ + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties + +# Editor-based Rest Client +.idea/httpRequests + +# Android studio 3.1+ serialized cache file +.idea/caches/build_file_checksums.ser \ No newline at end of file diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..7e5b7d7 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..b86273d --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..df87cf9 --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..f0c744c --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..f29d207 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/OnyxGensAutoPrestigeNew.main.iml b/.idea/modules/OnyxGensAutoPrestigeNew.main.iml new file mode 100644 index 0000000..0eeab82 --- /dev/null +++ b/.idea/modules/OnyxGensAutoPrestigeNew.main.iml @@ -0,0 +1,18 @@ + + + + + + + MIXIN + MCP + FABRIC + + 1 + + + + + + \ No newline at end of file diff --git a/.idea/modules/OnyxGensAutoPrestigeNew.test.iml b/.idea/modules/OnyxGensAutoPrestigeNew.test.iml new file mode 100644 index 0000000..0eeab82 --- /dev/null +++ b/.idea/modules/OnyxGensAutoPrestigeNew.test.iml @@ -0,0 +1,18 @@ + + + + + + + MIXIN + MCP + FABRIC + + 1 + + + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Minecraft_Client.xml b/.idea/runConfigurations/Minecraft_Client.xml new file mode 100644 index 0000000..75caa5c --- /dev/null +++ b/.idea/runConfigurations/Minecraft_Client.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/.idea/runConfigurations/Minecraft_Server.xml b/.idea/runConfigurations/Minecraft_Server.xml new file mode 100644 index 0000000..85e3901 --- /dev/null +++ b/.idea/runConfigurations/Minecraft_Server.xml @@ -0,0 +1,16 @@ + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..5d31b99 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2025 + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..4298900 --- /dev/null +++ b/build.gradle @@ -0,0 +1,89 @@ +plugins { + id 'fabric-loom' version '1.10-SNAPSHOT' + id 'maven-publish' +} + +version = project.mod_version +group = project.maven_group + +base { + archivesName = project.archives_base_name +} + + +repositories { + // Add repositories to retrieve artifacts from in here. + // You should only use this when depending on other mods because + // Loom adds the essential maven repositories to download Minecraft and libraries from automatically. + // See https://docs.gradle.org/current/userguide/declaring_repositories.html + // for more information about repositories. +} + +dependencies { + // To change the versions see the gradle.properties file + minecraft "com.mojang:minecraft:${project.minecraft_version}" + mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2" + modImplementation "net.fabricmc:fabric-loader:${project.loader_version}" + + modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" +} + +processResources { + inputs.property "version", project.version + inputs.property "minecraft_version", project.minecraft_version + inputs.property "loader_version", project.loader_version + filteringCharset "UTF-8" + + filesMatching("fabric.mod.json") { + expand "version": project.version, + "minecraft_version": project.minecraft_version, + "loader_version": project.loader_version + } +} + +def targetJavaVersion = 21 +tasks.withType(JavaCompile).configureEach { + // ensure that the encoding is set to UTF-8, no matter what the system default is + // this fixes some edge cases with special characters not displaying correctly + // see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html + // If Javadoc is generated, this must be specified in that task too. + it.options.encoding = "UTF-8" + if (targetJavaVersion >= 10 || JavaVersion.current().isJava10Compatible()) { + it.options.release.set(targetJavaVersion) + } +} + +java { + def javaVersion = JavaVersion.toVersion(targetJavaVersion) + if (JavaVersion.current() < javaVersion) { + toolchain.languageVersion = JavaLanguageVersion.of(targetJavaVersion) + } + // Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task + // if it is present. + // If you remove this line, sources will not be generated. + withSourcesJar() +} + +jar { + from("LICENSE") { + rename { "${it}_${project.archivesBaseName}" } + } +} + +// configure the maven publication +publishing { + publications { + create("mavenJava", MavenPublication) { + artifactId = project.archives_base_name + from components.java + } + } + + // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. + repositories { + // Add repositories to publish to here. + // Notice: This block does NOT have the same function as the block in the top level. + // The repositories here will be used for publishing your artifact, not for + // retrieving dependencies. + } +} diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 0000000..8338d78 --- /dev/null +++ b/gradle.properties @@ -0,0 +1,14 @@ +# Done to increase the memory available to gradle. +org.gradle.jvmargs=-Xmx1G +# Fabric Properties +# check these on https://modmuss50.me/fabric.html +minecraft_version=1.21.4 +yarn_mappings=1.21.4+build.8 +loader_version=0.16.10 +# Mod Properties +mod_version=1.0-SNAPSHOT +maven_group=gay.badsatgram +archives_base_name=OnyxGensAutoPrestige +# Dependencies +# check this on https://modmuss50.me/fabric.html +fabric_version=0.119.2+1.21.4 diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..f57a814 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1 @@ +distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..f91a4fe --- /dev/null +++ b/settings.gradle @@ -0,0 +1,9 @@ +pluginManagement { + repositories { + maven { + name = 'Fabric' + url = 'https://maven.fabricmc.net/' + } + gradlePluginPortal() + } +} diff --git a/src/main/java/gay/badstagram/onyxgensautoprestige/OnyxGensAutoPrestige.java b/src/main/java/gay/badstagram/onyxgensautoprestige/OnyxGensAutoPrestige.java new file mode 100644 index 0000000..60715b5 --- /dev/null +++ b/src/main/java/gay/badstagram/onyxgensautoprestige/OnyxGensAutoPrestige.java @@ -0,0 +1,10 @@ +package gay.badstagram.onyxgensautoprestige; + +import net.fabricmc.api.ModInitializer; + +public class OnyxGensAutoPrestige implements ModInitializer { + + @Override + public void onInitialize() { + } +} diff --git a/src/main/java/gay/badstagram/onyxgensautoprestige/client/OnyxGensAutoPrestigeClient.java b/src/main/java/gay/badstagram/onyxgensautoprestige/client/OnyxGensAutoPrestigeClient.java new file mode 100644 index 0000000..8a982a5 --- /dev/null +++ b/src/main/java/gay/badstagram/onyxgensautoprestige/client/OnyxGensAutoPrestigeClient.java @@ -0,0 +1,10 @@ +package gay.badstagram.onyxgensautoprestige.client; + +import net.fabricmc.api.ClientModInitializer; + +public class OnyxGensAutoPrestigeClient implements ClientModInitializer { + + @Override + public void onInitializeClient() { + } +} diff --git a/src/main/java/gay/badstagram/onyxgensautoprestige/mixin/ChatHudMixin.java b/src/main/java/gay/badstagram/onyxgensautoprestige/mixin/ChatHudMixin.java new file mode 100644 index 0000000..2f890c3 --- /dev/null +++ b/src/main/java/gay/badstagram/onyxgensautoprestige/mixin/ChatHudMixin.java @@ -0,0 +1,30 @@ +package gay.badstagram.onyxgensautoprestige.mixin; + +import net.minecraft.client.MinecraftClient; +import net.minecraft.client.gui.hud.ChatHud; +import net.minecraft.text.Text; +import org.spongepowered.asm.mixin.Mixin; +import org.spongepowered.asm.mixin.injection.At; +import org.spongepowered.asm.mixin.injection.ModifyArgs; +import org.spongepowered.asm.mixin.injection.invoke.arg.Args; + +@Mixin(ChatHud.class) +public class ChatHudMixin { + @ModifyArgs( + method = "addMessage(Lnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageSignatureData;Lnet/minecraft/client/gui/hud/MessageIndicator;)V", + at = @At( + value = "INVOKE", + target = "Lnet/minecraft/client/gui/hud/ChatHudLine;(ILnet/minecraft/text/Text;Lnet/minecraft/network/message/MessageSignatureData;Lnet/minecraft/client/gui/hud/MessageIndicator;)V" + ) + ) + public void doAutoPrestige(Args args) { + String content = ((Text) args.get(2)).getString(); + + if (!content.equalsIgnoreCase("You need to do /prestige!")) + return; + + MinecraftClient.getInstance() + .getNetworkHandler() + .sendCommand("prestige"); + } +} diff --git a/src/main/resources/assets/onyxgensautoprestige/icon.png b/src/main/resources/assets/onyxgensautoprestige/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..3ca1ca79bff32f35da128f8828beb209a6d1e8ff GIT binary patch literal 7647 zcmbt(c~}$o*8d=2M8tpyR1i`{iwYR4AS#$~DWXzD>HbC%CJ z=X1^&`;2N}zCSPiAOHjf0ZRY?mNPe@8mIg-jddMxu~R(8&*+|%Fx1z zvp4+xN=2iE>x!>nyZzrjpKiavOT7^JsM;Tz{m&FT@xRjS--`X0UIV~J3KIXf!$@uN zf7^ljweclj23Q*vzzkCp3QVRp00@xeBA|Fm`gGv`don(w)=kk?q6AcF#OR{ZljE{n zuv$9SYXr zv;lRH)!O`vA$wDF8$+f(N%!?-qpMR5*(d|q*alU#>EbcKU!zpe*24iO1S`KYs z+?VTuhPKE6Zz#*r2(*gk@^`y@+N(QUHua)PmJ=Q+JSD$zW55U`p6MyaQqJsIT}*%D zrYg|Qf!nl0W23Ora2-Be<7EU+vTX$p!)%A~hpBSbrYu6JBBGlSG)EUTZ^cXRyXO^= zg;GQ7sJNnk?PbL0&Q0fZ&>B1#j50qfKxl^jM&LxY;3eo(M^m?(laG{D1v;7-pG*8u z7pV3O45>%lbSu3$N&8BM6)Q!zY>85h=o2*iU32UgwH=-w)!i+4otO{*nD>~I+CW{fp%YG+k)BVg5pB6=FHl+l> z59{(Sd|a3q+$K9Hsp#<*R_qzh@t0wOACqBv-}tlX;4Dz34o-J*pv<3S;GiL}rM6u+ z598pg(8pTn?70JTO3{ zZd@6jb(uWj_&5y^NCl5vyoj5udH9?TzX&XnZwCjA836|?#EDKqX5<1?N!p4| zffm9Ovj^f`79mzo+6O$w)1sa}>t~-CH3Cx3FQsTAj3uRYl~H7U+YWy~)_)2aGeazBTM7X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;qPeSSHm(`|s|J4T4|Cj~*`EcOF z&`#o<>|hyJTYnA<8U;-Rwh7AW-MLqr)i0g2QKc$y<{-YgV?2UeV;Sf~cX-j~yuWv> zMjCqlyqJ?}cpT_dT45G;`3FEmQLHKq6!fvDPl!%H)v_k>44jQd-+5v_(VNW=v3g{$ zxGYkz8t)8G)`(JK@A9CiPJ4BJw)84HULnso!U=4W*QE0uU?n*%h=ODV8Ur8K=o<(( z!)|ye*Ut(0CGt}|upZ6Su$|ENt%?rxFt-{FS8k*32(1$Y%iuCu_R@;fYxHTOYux&{ z&Fm@MO%nkAcPff*wqdI&7U4;n37%48R(ikdW-9ulgR>whbXKq^il0PWq2|uanFIK4 z*dc@Egwi%YlR!>r4qJ*+D;C~jIsLTDBC_lGICsh(v{fIDS%!s;Os1VX_sURsYj`h1 z1j1W|s4IQ!ImQ=s7A-|}+Coq$s;0>O4wXaJQgV)ogVDQY%IF<`QWTUq!yPQWU+?ydp zNwN_bNF}F8XU1lR^3uCyP#A2RS^}Z!7mMXBzYm9)f z-Jw5n)IQwpG}*$`%RWw4?nnUofUxh9(jd+>u+dG>Vb6fZUZuqUY5q@aJe&%$t*^y46Kj2F;bg&<6+U|Qbl;gDbG8H hlCfP77l+&)$E-|AHV{{!xuizEO5 literal 0 HcmV?d00001 diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json new file mode 100644 index 0000000..64331da --- /dev/null +++ b/src/main/resources/fabric.mod.json @@ -0,0 +1,28 @@ +{ + "schemaVersion": 1, + "id": "onyxgensautoprestige", + "version": "${version}", + "name": "OnyxGensAutoPrestige", + "description": "", + "authors": [], + "contact": {}, + "license": "MIT", + "icon": "assets/onyxgensautoprestige/icon.png", + "environment": "client", + "entrypoints": { + "client": [ + "gay.badstagram.onyxgensautoprestige.client.OnyxGensAutoPrestigeClient" + ], + "main": [ + "gay.badstagram.onyxgensautoprestige.OnyxGensAutoPrestige" + ] + }, + "mixins": [ + "onyxgensautoprestige.mixins.json" + ], + "depends": { + "fabricloader": ">=${loader_version}", + "fabric": "*", + "minecraft": "${minecraft_version}" + } +} diff --git a/src/main/resources/onyxgensautoprestige.mixins.json b/src/main/resources/onyxgensautoprestige.mixins.json new file mode 100644 index 0000000..e5fbd68 --- /dev/null +++ b/src/main/resources/onyxgensautoprestige.mixins.json @@ -0,0 +1,14 @@ +{ + "required": true, + "minVersion": "0.8", + "package": "gay.badstagram.onyxgensautoprestige.mixin", + "compatibilityLevel": "JAVA_21", + "mixins": [ + ], + "client": [ + "ChatHudMixin" + ], + "injectors": { + "defaultRequire": 1 + } +}