Compare commits

3 Commits

Author SHA1 Message Date
Yannik
1266530990 Update README.md 2025-08-09 00:59:28 +02:00
c26399a604 compatible with more minecraft versions 2025-08-09 00:53:31 +02:00
c9f0058591 1.21.6 2025-06-24 03:06:44 +02:00
5 changed files with 20 additions and 20 deletions

View File

@@ -2,6 +2,10 @@
Shows when the player has **too less Java memory** allocated, and **plays a sound** when the game has finished loading.<br> Shows when the player has **too less Java memory** allocated, and **plays a sound** when the game has finished loading.<br>
It is fully configurable in `config/loadsupport.toml`. It is fully configurable in `config/loadsupport.toml`.
### CurseForge
I will never release this mod on Curseforge but you can do Modpacks wherever you like with this mod.
This mod is free and open source and i didn't create Minecraft so just use it how you like.
## Config 🚀 ## Config 🚀
The config in `config/loadsupport.toml` is pretty self explainatory: The config in `config/loadsupport.toml` is pretty self explainatory:
```toml ```toml
@@ -33,3 +37,4 @@ Make sure the player gets the correct performance experience.
Directly know when Minecraft started when beeing in the background. Directly know when Minecraft started when beeing in the background.
Sound used: https://www.youtube.com/watch?v=h2eBoIoq5vw Sound used: https://www.youtube.com/watch?v=h2eBoIoq5vw

View File

@@ -2,15 +2,8 @@ package com.vaporvee.loadsupport.mixin;
import com.vaporvee.loadsupport.modules.Allocated; import com.vaporvee.loadsupport.modules.Allocated;
import net.minecraft.client.Minecraft; import net.minecraft.client.Minecraft;
import net.minecraft.client.resources.sounds.SoundInstance;
import net.minecraft.core.Registry;
import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.sounds.SoundEvent;
import org.lwjgl.glfw.GLFW; import org.lwjgl.glfw.GLFW;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

View File

@@ -2,37 +2,39 @@
# Every field you add must be added to buildSrc/src/main/groovy/multiloader-common.gradle expandProps map. # Every field you add must be added to buildSrc/src/main/groovy/multiloader-common.gradle expandProps map.
# Project # Project
version=1.2.1 version=1.2.2
group=com.vaporvee.loadsupport group=com.vaporvee.loadsupport
java_version=21 java_version=21
# Common # Common
minecraft_version=1.21.1 minecraft_version=1.21.6
mod_name=Load Support mod_name=Load Support
mod_author=vaporvee mod_author=vaporvee
mod_id=loadsupport mod_id=loadsupport
license=Apache License 2.0 license=Apache License 2.0
credits= credits=
description=Shows when the user has too less Java memory allocated, and plays a sound when the game has loaded. description=Shows when the user has too less Java memory allocated, and plays a sound when the game has loaded.
minecraft_version_range=[1.21.1, 1.21.6) minecraft_version_range=[1.21.6, 1.21.9)
# I hate Mojangs versioning schema so so much
## This is the version of minecraft that the 'common' project uses, you can find a list of all versions here ## This is the version of minecraft that the 'common' project uses, you can find a list of all versions here
## https://projects.neoforged.net/neoforged/neoform ## https://projects.neoforged.net/neoforged/neoform
neo_form_version=1.21.1-20240808.144430 neo_form_version=1.21.6-20250617.151856
# The version of ParchmentMC that is used, see https://parchmentmc.org/docs/getting-started#choose-a-version for new versions # The version of ParchmentMC that is used, see https://parchmentmc.org/docs/getting-started#choose-a-version for new versions
parchment_minecraft=1.21.1 parchment_minecraft=1.21.5
parchment_version=2024.11.17 parchment_version=2025.06.15
# Fabric # Fabric
fabric_version=0.116.3+1.21.1 fabric_version=0.128.0+1.21.6
fabric_loader_version=0.16.10 fabric_loader_version=0.16.10
# NeoForge # NeoForge
neoforge_version=21.1.184 neoforge_version=21.6.12-beta
neoforge_loader_version_range=[4,) neoforge_loader_version_range=[4,)
# Dependencies # Dependencies
cloth_version=15.0.140 # Find the cloth config version under https://linkie.shedaniel.dev/dependencies
cloth_version=19.0.147
# Gradle # Gradle
org.gradle.jvmargs=-Xmx3G org.gradle.jvmargs=-Xmx3G

4
gradlew vendored
View File

@@ -114,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;; NONSTOP* ) nonstop=true ;;
esac esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar CLASSPATH="\\\"\\\""
# Determine the Java command to use to start the JVM. # Determine the Java command to use to start the JVM.
@@ -213,7 +213,7 @@ DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
set -- \ set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \ "-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \ -classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \ -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
"$@" "$@"
# Stop when "xargs" is not available. # Stop when "xargs" is not available.

4
gradlew.bat vendored
View File

@@ -70,11 +70,11 @@ goto fail
:execute :execute
@rem Setup the command line @rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar set CLASSPATH=
@rem Execute Gradle @rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" -jar "%APP_HOME%\gradle\wrapper\gradle-wrapper.jar" %*
:end :end
@rem End local scope for the variables with windows NT shell @rem End local scope for the variables with windows NT shell