diff --git a/src/main/java/ca/spottedleaf/moonrise/mixin/mob_spawning/NaturalSpawnerMixin.java b/src/main/java/ca/spottedleaf/moonrise/mixin/mob_spawning/NaturalSpawnerMixin.java index 29a51f67..021e00af 100644 --- a/src/main/java/ca/spottedleaf/moonrise/mixin/mob_spawning/NaturalSpawnerMixin.java +++ b/src/main/java/ca/spottedleaf/moonrise/mixin/mob_spawning/NaturalSpawnerMixin.java @@ -27,7 +27,7 @@ static Biome getRoughBiome(final BlockPos arg, final ChunkAccess arg2) { * @author Spottedleaf */ @Redirect( - method = "method_27819", + method = {"method_27819", "lambda$createState$2"}, // Fabric, NeoForge at = @At( value = "INVOKE", target = "Lnet/minecraft/world/level/NaturalSpawner;getRoughBiome(Lnet/minecraft/core/BlockPos;Lnet/minecraft/world/level/chunk/ChunkAccess;)Lnet/minecraft/world/level/biome/Biome;" @@ -42,7 +42,7 @@ private static Biome delayRoughBiome(final BlockPos pos, final ChunkAccess chunk * @author Spottedleaf */ @Redirect( - method = "method_27819", + method = {"method_27819", "lambda$createState$2"}, // Fabric, NeoForge at = @At( value = "INVOKE", target = "Lnet/minecraft/world/level/biome/Biome;getMobSettings()Lnet/minecraft/world/level/biome/MobSpawnSettings;" @@ -57,7 +57,7 @@ private static MobSpawnSettings delayMobSpawnSettings(final Biome biome) { * @author Spottedleaf */ @Redirect( - method = "method_27819", + method = {"method_27819", "lambda$createState$2"}, // Fabric, NeoForge at = @At( value = "INVOKE", target = "Lnet/minecraft/world/level/biome/MobSpawnSettings;getMobSpawnCost(Lnet/minecraft/world/entity/EntityType;)Lnet/minecraft/world/level/biome/MobSpawnSettings$MobSpawnCost;"