1 Commits
V1.4 ... main

Author SHA1 Message Date
bf746ac90c update to 1.21.5 2025-07-04 04:41:00 +02:00
4 changed files with 9 additions and 9 deletions

View File

@ -1,5 +1,5 @@
plugins { plugins {
id 'fabric-loom' version '1.9-SNAPSHOT' id 'fabric-loom' version '1.11-SNAPSHOT'
id 'maven-publish' id 'maven-publish'
} }

View File

@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties # Fabric Properties
# check these on https://modmuss50.me/fabric.html # check these on https://modmuss50.me/fabric.html
minecraft_version=1.21.4 minecraft_version=1.21.5
yarn_mappings=1.21.4+build.8 yarn_mappings=1.21.5+build.1
loader_version=0.16.10 loader_version=0.16.14
# Mod Properties # Mod Properties
mod_version = 1.4 mod_version = 1.5
maven_group = com.kasetoatz maven_group = com.kasetoatz
archives_base_name = TridentHacks archives_base_name = TridentHacks
# Dependencies # Dependencies
# check this on https://modmuss50.me/fabric.html # check this on https://modmuss50.me/fabric.html
fabric_version=0.114.3+1.21.4 fabric_version=0.128.1+1.21.5

View File

@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
networkTimeout=10000 networkTimeout=10000
validateDistributionUrl=true validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME

View File

@ -30,7 +30,7 @@ public class TridentItemMixin {
{ {
if (TridentHacks.noNormalRiptide()) if (TridentHacks.noNormalRiptide())
{ {
world.playSoundFromEntity(player, SoundEvents.ITEM_TRIDENT_RIPTIDE_3.value(), SoundCategory.PLAYERS, 1.F, 1.F); world.playSoundFromEntity(player, player, SoundEvents.ITEM_TRIDENT_RIPTIDE_3.value(), SoundCategory.PLAYERS, 1.F, 1.F);
TridentHacks.lastTridentUse = System.currentTimeMillis(); TridentHacks.lastTridentUse = System.currentTimeMillis();
} }
TridentHacks.onGround = false; TridentHacks.onGround = false;
@ -41,7 +41,7 @@ public class TridentItemMixin {
PlayerEntity player = TridentHacks.client.player; PlayerEntity player = TridentHacks.client.player;
if (player != null) if (player != null)
{ {
TridentHacks.tridentSlot = (user.getOffHandStack() == stack) ? PlayerInventory.OFF_HAND_SLOT : player.getInventory().selectedSlot; TridentHacks.tridentSlot = (user.getOffHandStack() == stack) ? PlayerInventory.OFF_HAND_SLOT : player.getInventory().getSelectedSlot();
} }
} }
} }