high
This commit is contained in:
29
build.gradle
29
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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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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": "*"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user