diff --git a/gradle.properties b/gradle.properties index 5999ba5..724d3fe 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,16 +1,16 @@ # 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.20.6 - yarn_mappings=1.20.6+build.1 - loader_version=0.15.11 -# Mod Properties - mod_version = 1.0 - maven_group = systems.brn - archives_base_name = justteleportalready -# Dependencies - # check this on https://modmuss50.me/fabric.html - fabric_version=0.98.0+1.20.6 +minecraft_version=1.21 +yarn_mappings=1.21+build.1 +loader_version=0.15.11 + +# Fabric API +fabric_version=0.100.1+1.21 + +# Mod Properties + mod_version = 1.1 + maven_group = systems.brn + archives_base_name = tweaks + diff --git a/src/main/java/systems/brn/justteleportalready/Justteleportalready.java b/src/main/java/systems/brn/tweaks/Tweaks.java similarity index 86% rename from src/main/java/systems/brn/justteleportalready/Justteleportalready.java rename to src/main/java/systems/brn/tweaks/Tweaks.java index 78177fe..1382cad 100644 --- a/src/main/java/systems/brn/justteleportalready/Justteleportalready.java +++ b/src/main/java/systems/brn/tweaks/Tweaks.java @@ -1,11 +1,11 @@ -package systems.brn.justteleportalready; +package systems.brn.tweaks; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.gamerule.v1.GameRuleFactory; import net.fabricmc.fabric.api.gamerule.v1.GameRuleRegistry; import net.minecraft.world.GameRules; -public class Justteleportalready implements ModInitializer { +public class Tweaks implements ModInitializer { public static final GameRules.Key Entity_Portal_Cooldown = GameRuleRegistry.register("entityPortalCooldown", GameRules.Category.MOBS, GameRuleFactory.createIntRule(300)); public static final GameRules.Key Enderpearl_Damage = diff --git a/src/main/java/systems/brn/justteleportalready/mixin/DontHurtMePearlMixin.java b/src/main/java/systems/brn/tweaks/mixin/DontHurtMePearlMixin.java similarity index 86% rename from src/main/java/systems/brn/justteleportalready/mixin/DontHurtMePearlMixin.java rename to src/main/java/systems/brn/tweaks/mixin/DontHurtMePearlMixin.java index 0bc63df..7b4adb4 100644 --- a/src/main/java/systems/brn/justteleportalready/mixin/DontHurtMePearlMixin.java +++ b/src/main/java/systems/brn/tweaks/mixin/DontHurtMePearlMixin.java @@ -1,4 +1,4 @@ -package systems.brn.justteleportalready.mixin; +package systems.brn.tweaks.mixin; import net.minecraft.entity.Entity; import net.minecraft.entity.damage.DamageSource; @@ -7,7 +7,7 @@ import org.spongepowered.asm.mixin.Mixin; import org.spongepowered.asm.mixin.injection.At; import org.spongepowered.asm.mixin.injection.Redirect; -import static systems.brn.justteleportalready.Justteleportalready.Enderpearl_Damage; +import static systems.brn.tweaks.Tweaks.Enderpearl_Damage; @Mixin(net.minecraft.entity.projectile.thrown.EnderPearlEntity.class) public class DontHurtMePearlMixin { diff --git a/src/main/java/systems/brn/justteleportalready/mixin/JustTeleportAlreadyMixin.java b/src/main/java/systems/brn/tweaks/mixin/JustTeleportAlreadyMixin.java similarity index 89% rename from src/main/java/systems/brn/justteleportalready/mixin/JustTeleportAlreadyMixin.java rename to src/main/java/systems/brn/tweaks/mixin/JustTeleportAlreadyMixin.java index fb43bd9..a710e25 100644 --- a/src/main/java/systems/brn/justteleportalready/mixin/JustTeleportAlreadyMixin.java +++ b/src/main/java/systems/brn/tweaks/mixin/JustTeleportAlreadyMixin.java @@ -1,4 +1,4 @@ -package systems.brn.justteleportalready.mixin; +package systems.brn.tweaks.mixin; import net.minecraft.world.World; import org.spongepowered.asm.mixin.Mixin; @@ -8,7 +8,7 @@ import org.spongepowered.asm.mixin.injection.Inject; import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; -import static systems.brn.justteleportalready.Justteleportalready.Entity_Portal_Cooldown; +import static systems.brn.tweaks.Tweaks.Entity_Portal_Cooldown; @Mixin(net.minecraft.entity.Entity.class) public class JustTeleportAlreadyMixin { diff --git a/src/main/resources/fabric.mod.json b/src/main/resources/fabric.mod.json index 6682d37..408c3ed 100644 --- a/src/main/resources/fabric.mod.json +++ b/src/main/resources/fabric.mod.json @@ -1,23 +1,23 @@ { "schemaVersion": 1, - "id": "justteleportalready", + "id": "tweaks", "version": "${version}", - "name": "justteleportalready", + "name": "tweaks", "description": "", "authors": [], "contact": { - "repo": "https://git.brn.systems/BRNSystems/justteleportalreadyatencryptor" + "repo": "https://git.brn.systems/BRNSystems/tweaks" }, "license": "MIT", - "icon": "assets/justteleportalready/icon.png", + "icon": "assets/icon.png", "environment": "*", "entrypoints": { "main": [ - "systems.brn.justteleportalready.Justteleportalready" + "systems.brn.tweaks.Tweaks" ] }, "mixins": [ - "justteleportalready.mixins.json" + "tweaks.mixins.json" ], "depends": { "fabricloader": ">=${loader_version}", diff --git a/src/main/resources/justteleportalready.mixins.json b/src/main/resources/tweaks.mixins.json similarity index 79% rename from src/main/resources/justteleportalready.mixins.json rename to src/main/resources/tweaks.mixins.json index 64816b3..c017c57 100644 --- a/src/main/resources/justteleportalready.mixins.json +++ b/src/main/resources/tweaks.mixins.json @@ -1,7 +1,7 @@ { "required": true, "minVersion": "0.8", - "package": "systems.brn.justteleportalready.mixin", + "package": "systems.brn.tweaks.mixin", "compatibilityLevel": "JAVA_21", "mixins": [ "DontHurtMePearlMixin",