From 39cae8b770357074fe48724aaeeb76c6000c976f Mon Sep 17 00:00:00 2001 From: RyanTLG <78032176+RyanTLG@users.noreply.github.com> Date: Fri, 25 Mar 2022 17:46:41 +0200 Subject: [PATCH] high --- build.gradle | 29 +++++++------- gradle.properties | 13 +++---- .../effectClasses/highStatusEffect.java | 1 + src/main/resources/fabric.mod copy.json | 38 ------------------- 4 files changed, 20 insertions(+), 61 deletions(-) delete mode 100755 src/main/resources/fabric.mod copy.json diff --git a/build.gradle b/build.gradle index 317cda4..af67458 100755 --- a/build.gradle +++ b/build.gradle @@ -16,9 +16,7 @@ repositories { // 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. - - maven { url 'https://jitpack.io' } - + allprojects { repositories { maven { url 'https://jitpack.io' } } } } dependencies { @@ -29,7 +27,6 @@ dependencies { // Fabric API. This is technically optional, but you probably want it anyway. modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" - modImplementation "com.github.CrimsonDawn45:Fabric-Shield-Lib:v${project.fabric_shield_lib_version}" } processResources { @@ -66,20 +63,20 @@ publishing { } } - // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.{ + // See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing. // 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. repositories { - maven { - name = "GitHubPackages" - url = "https://maven.pkg.github.com/RyanTLG/GamerMod" - credentials { - username = "RyanTLG" - password = "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" - } - } - } - -} + maven { + name = "GitHubPackages" + url = "https://maven.pkg.github.com/RyanTLG/gamermod" + credentials { + username = "RyanTLG" + password = "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" + } + } + } + +} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 43a47b3..e9b88b0 100755 --- a/gradle.properties +++ b/gradle.properties @@ -1,17 +1,16 @@ # Done to increase the memory available to gradle. -org.gradle.jvmargs=-Xmx1G +org.gradle.jvmargs=-Xmx2G # Fabric Properties # check these on https://fabricmc.net/develop minecraft_version=1.18.1 - yarn_mappings=1.18.1+build.22 - loader_version=0.13.3 + yarn_mappings=1.18.1+build.1 + loader_version=0.12.12 # Mod Properties - mod_version = 0.6.2 - maven_group = ryantlg.gamermod.mod + mod_version = 1.18.1-0.6.2 + maven_group = ryantlg.GamerMod.mod archives_base_name = GamerMod # Dependencies - fabric_version=0.46.4+1.18 - fabric_shield_lib_version=1.4.5-1.18 + fabric_version=0.46.0+1.18 diff --git a/src/main/java/net/arcmods/ryantlg/statusEffects/effectClasses/highStatusEffect.java b/src/main/java/net/arcmods/ryantlg/statusEffects/effectClasses/highStatusEffect.java index d5fbc39..118a6ed 100644 --- a/src/main/java/net/arcmods/ryantlg/statusEffects/effectClasses/highStatusEffect.java +++ b/src/main/java/net/arcmods/ryantlg/statusEffects/effectClasses/highStatusEffect.java @@ -28,6 +28,7 @@ public class highStatusEffect extends StatusEffect{ ((PlayerEntity) entity).dismountVehicle(); ((PlayerEntity) entity).damage(DamageSource.FALL, (float) 0.01); ((PlayerEntity) entity).heal(3 << amplifier); + ((PlayerEntity) entity).getFallSounds(); } } diff --git a/src/main/resources/fabric.mod copy.json b/src/main/resources/fabric.mod copy.json deleted file mode 100755 index 90318b3..0000000 --- a/src/main/resources/fabric.mod copy.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "schemaVersion": 1, - "id": "gamermod", - "version": "${version}", - - "name": "gamermod", - "description": "i fucked your mother", - "authors": [ - "RyanTLG" - ], - "contact": { - "homepage": "https://w/", - "sources": "https://github.com/FabricMC/fabric-example-mod" - }, - - "license": "CC0-1.0", - "icon": "assets/gamermod/icon.png", - - "environment": "*", - "entrypoints": { - "main": [ - "net.fabricmc.ryantlg.gamermod" - ] - }, - "mixins": [ - "gamermod.mixins.json" - ], - - "depends": { - "fabricloader": ">=0.11.3", - "fabric": "*", - "minecraft": "1.18.x", - "java": ">=17" - }, - "suggests": { - "another-mod": "*" - } -}