diff --git a/build.gradle b/build.gradle index 1585a16..2311620 100644 --- a/build.gradle +++ b/build.gradle @@ -82,29 +82,13 @@ repositories { metadataSources { artifact() } } ivy { - url = "https://github.com/UselessBullets" + url = "https://github.com/UselessSolutions" patternLayout { artifact "[organisation]/releases/download/v[revision]/[module]-[revision].jar" m2compatible = true } metadataSources { artifact() } } - ivy { - url = "https://github.com/UselessBullets" - patternLayout { - artifact "[organisation]/releases/download/r[revision]/[module]-[revision].jar" - m2compatible = true - } - metadataSources { artifact() } - } - ivy { - url = "https://github.com/UselessBullets" - patternLayout { - artifact "[organisation]/releases/download/[revision]/[module]-[revision].jar" - m2compatible = true - } - metadataSources { artifact() } - } } dependencies { minecraft "bta-download-repo:bta:${project.bta_version}" diff --git a/gradle.properties b/gradle.properties index 69edbe1..e7eefd9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -7,10 +7,10 @@ bta_version=7.1-pre1a loader_version=0.14.19-babric.3-bta # HalpLibe -halplibe_version=3.1.0 -dragonfly_version=1.4.3-7.1 +halplibe_version=3.4.1 +dragonfly_version=1.4.4-7.1 terrain_api_version=1.4.2-7.1 # Mod -mod_version=2.2.0 +mod_version=2.2.1 mod_group=baguchan mod_name=better_with_aquatic diff --git a/src/main/java/baguchan/better_with_aquatic/BetterWithAquaticClient.java b/src/main/java/baguchan/better_with_aquatic/BetterWithAquaticClient.java index 2ae4f48..70cb9f6 100644 --- a/src/main/java/baguchan/better_with_aquatic/BetterWithAquaticClient.java +++ b/src/main/java/baguchan/better_with_aquatic/BetterWithAquaticClient.java @@ -11,16 +11,22 @@ import turniplabs.halplibe.helper.EntityHelper; import turniplabs.halplibe.util.ClientStartEntrypoint; import useless.dragonfly.helper.ModelHelper; +import useless.dragonfly.model.entity.BenchEntityModel; public class BetterWithAquaticClient implements ClientStartEntrypoint { + public static final BenchEntityModel modelDrowned = ModelHelper.getOrCreateEntityModel(BetterWithAquatic.MOD_ID, "entity/drowned.geo.json", DrownedModel.class); + + public static final BenchEntityModel modelFrog = ModelHelper.getOrCreateEntityModel(BetterWithAquatic.MOD_ID, "entity/frog.geo.json", FrogModel.class); + + @Override public void beforeClientStart() { EntityHelper.Client.assignEntityRenderer(EntityFish.class, new RenderFish(new FishModel(), 0.3F)); EntityHelper.Client.assignEntityRenderer(EntityAnglerFish.class, new RenderAnglerFish(new AnglerFishModel(), 0.4F)); - EntityHelper.Client.assignEntityRenderer(EntityDrowned.class, new DrownedRenderer(ModelHelper.getOrCreateEntityModel(BetterWithAquatic.MOD_ID, "entity/drowned.geo.json", DrownedModel.class), 0.5f)); - EntityHelper.Client.assignEntityRenderer(EntityFrog.class, new FrogRenderer(ModelHelper.getOrCreateEntityModel(BetterWithAquatic.MOD_ID, "entity/frog.geo.json", FrogModel.class), 0.3f)); + EntityHelper.Client.assignEntityRenderer(EntityDrowned.class, new DrownedRenderer(modelDrowned, 0.5f)); + EntityHelper.Client.assignEntityRenderer(EntityFrog.class, new FrogRenderer(modelFrog, 0.3f)); }