Skip to content

Commit

Permalink
2.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
baguchi committed Feb 18, 2024
1 parent 5e77f1a commit 2cf7f46
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 22 deletions.
18 changes: 1 addition & 17 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down
6 changes: 3 additions & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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));

}

Expand Down

0 comments on commit 2cf7f46

Please sign in to comment.