From 72706146cab89677b017707ee25776571f81e7ca Mon Sep 17 00:00:00 2001 From: baguchan Date: Thu, 16 Nov 2023 08:34:04 +0900 Subject: [PATCH] 1.6.1 --- gradle.properties | 2 +- .../java/baguchan/better_with_aquatic/mixin/BiomeMixin.java | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/gradle.properties b/gradle.properties index 6798099..10bfb04 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,6 +11,6 @@ halplibe_version=2.7.0 prismatic_version=2.1.1 terrain_api_version=1.3.1 # Mod -mod_version=1.6.0 +mod_version=1.6.1 mod_group=baguchan mod_name=better_with_aquatic diff --git a/src/main/java/baguchan/better_with_aquatic/mixin/BiomeMixin.java b/src/main/java/baguchan/better_with_aquatic/mixin/BiomeMixin.java index e3f2b52..9a6428b 100644 --- a/src/main/java/baguchan/better_with_aquatic/mixin/BiomeMixin.java +++ b/src/main/java/baguchan/better_with_aquatic/mixin/BiomeMixin.java @@ -1,6 +1,7 @@ package baguchan.better_with_aquatic.mixin; -import baguchan.better_with_aquatic.entity.EntityBaseFish; +import baguchan.better_with_aquatic.entity.EntityAnglerFish; +import baguchan.better_with_aquatic.entity.EntityFish; import net.minecraft.core.entity.SpawnListEntry; import net.minecraft.core.world.biome.Biome; import net.minecraft.core.world.biome.Biomes; @@ -22,7 +23,8 @@ public class BiomeMixin { private void addMobs(CallbackInfo ci) { Biome biome = (Biome) (Object) this; if (biome != Biomes.NETHER_NETHER) { - spawnableWaterCreatureList.add(new SpawnListEntry(EntityBaseFish.class, 15)); + spawnableWaterCreatureList.add(new SpawnListEntry(EntityFish.class, 15)); + spawnableWaterCreatureList.add(new SpawnListEntry(EntityAnglerFish.class, 10)); } } }