From 73a172c9bd3e77bafe284eeba31ffe3a3362b0d0 Mon Sep 17 00:00:00 2001 From: TGdoesCode Date: Tue, 14 Apr 2026 09:13:51 +0200 Subject: [PATCH] fix capes, chorus patch, and other --- capes.json | 10 +++++----- gradle.properties | 2 +- src/main/java/dev/tggamesyt/szar/Szar.java | 9 ++++++--- .../worldgen/placed_feature/small_chorus_patch.json | 3 +-- .../szar/worldgen/structure_set/obsidian_cube.json | 4 ++-- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/capes.json b/capes.json index ab43601..06a92d7 100644 --- a/capes.json +++ b/capes.json @@ -2,23 +2,23 @@ "capes": [ { "id": "tg", - "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/tg_cape.png" + "texture": "https://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/tg_cape.png" }, { "id": "gabri", - "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/gabri_cape.png" + "texture": "https://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/gabri_cape.png" }, { "id": "tg1", - "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/tg_cape1.png" + "texture": "https://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/tg_cape1.png" }, { "id": "test", - "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/testcape.png" + "texture": "https://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/testcape.png" }, { "id": "ciber", - "texture": "Magyarhttps://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/ciber_cape.png" + "texture": "https://gitea.tggamesyt.dev/tggamesyt/szar/raw/main/src/main/resources/assets/szar/textures/etc/ciber_cape.png" } ] } \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index 1811633..9b74f64 100644 --- a/gradle.properties +++ b/gradle.properties @@ -6,7 +6,7 @@ minecraft_version=1.20.1 yarn_mappings=1.20.1+build.10 loader_version=0.18.3 # Mod Properties -mod_version=26.4.13.3 +mod_version=26.4.14 maven_group=dev.tggamesyt archives_base_name=szar # Dependencies diff --git a/src/main/java/dev/tggamesyt/szar/Szar.java b/src/main/java/dev/tggamesyt/szar/Szar.java index 7b736d3..77e834a 100644 --- a/src/main/java/dev/tggamesyt/szar/Szar.java +++ b/src/main/java/dev/tggamesyt/szar/Szar.java @@ -1602,9 +1602,12 @@ public class Szar implements ModInitializer { .hunger(20) .alwaysEdible() .saturationModifier(20F) - .statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION,10*20, 255 ), 1F) - .statusEffect(new StatusEffectInstance(StatusEffects.HEALTH_BOOST,120*20, 4 ), 1F) - .statusEffect(new StatusEffectInstance(StatusEffects.RESISTANCE,120*20, 1), 1F) + .statusEffect(new StatusEffectInstance(StatusEffects.REGENERATION,60*20, 255 ), 1F) + .statusEffect(new StatusEffectInstance(StatusEffects.HEALTH_BOOST,2*60*20, 4 ), 1F) + .statusEffect(new StatusEffectInstance(StatusEffects.RESISTANCE,5*60*20, 2), 1F) + .statusEffect(new StatusEffectInstance(StatusEffects.FIRE_RESISTANCE,5*60*20, 2), 1F) + .statusEffect(new StatusEffectInstance(StatusEffects.ABSORPTION,5*60*20, 4), 1F) + .statusEffect(new StatusEffectInstance(StatusEffects.STRENGTH,5*60*20, 2), 1F) .build() ).rarity(Rarity.EPIC)) ); diff --git a/src/main/resources/data/szar/worldgen/placed_feature/small_chorus_patch.json b/src/main/resources/data/szar/worldgen/placed_feature/small_chorus_patch.json index 0204271..0777bbb 100644 --- a/src/main/resources/data/szar/worldgen/placed_feature/small_chorus_patch.json +++ b/src/main/resources/data/szar/worldgen/placed_feature/small_chorus_patch.json @@ -3,7 +3,6 @@ "placement": [ { "type": "minecraft:count", "count": 5 }, { "type": "minecraft:in_square" }, - { "type": "minecraft:heightmap", "heightmap": "WORLD_SURFACE_WG" }, - { "type": "minecraft:biome" } + { "type": "minecraft:heightmap", "heightmap": "WORLD_SURFACE_WG" } ] } \ No newline at end of file diff --git a/src/main/resources/data/szar/worldgen/structure_set/obsidian_cube.json b/src/main/resources/data/szar/worldgen/structure_set/obsidian_cube.json index ce20793..c02cbb1 100644 --- a/src/main/resources/data/szar/worldgen/structure_set/obsidian_cube.json +++ b/src/main/resources/data/szar/worldgen/structure_set/obsidian_cube.json @@ -7,8 +7,8 @@ ], "placement": { "type": "minecraft:random_spread", - "spacing": 20, - "separation": 10, + "spacing": 10, + "separation": 1, "salt": 398826349 } } \ No newline at end of file