From 8ac2ce24b3fcd2a40f55a5e8ab9ecf9a6d5497f6 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Tue, 29 Jan 2019 20:17:10 +0100 Subject: [PATCH] fixed the animal generator being really fricken long --- .../de/ellpeck/naturesaura/blocks/BlockAnimalGenerator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/naturesaura/blocks/BlockAnimalGenerator.java b/src/main/java/de/ellpeck/naturesaura/blocks/BlockAnimalGenerator.java index 6fd67094..1253937c 100644 --- a/src/main/java/de/ellpeck/naturesaura/blocks/BlockAnimalGenerator.java +++ b/src/main/java/de/ellpeck/naturesaura/blocks/BlockAnimalGenerator.java @@ -67,7 +67,7 @@ public class BlockAnimalGenerator extends BlockContainerImpl implements IVisuali float amountMod = child ? 0.667F : 1; int timeAlive = data.getInteger(NaturesAura.MOD_ID + ":time_alive"); - int time = Math.min(MathHelper.floor((timeAlive - 15000) / 5F * timeMod), 30000); + int time = Math.min(MathHelper.floor((timeAlive - 15000) / 500F * timeMod), 300); int amount = Math.min(MathHelper.floor((timeAlive - 8000) / 2.5F * amountMod), 15000); if (time <= 0 || amount <= 0) return false;