mirror of
https://github.com/Ellpeck/NaturesAura.git
synced 2024-11-25 20:58:34 +01:00
rebalance the animal generator again
This commit is contained in:
parent
8ac2ce24b3
commit
871201d77c
1 changed files with 2 additions and 2 deletions
|
@ -67,8 +67,8 @@ public class BlockAnimalGenerator extends BlockContainerImpl implements IVisuali
|
||||||
float amountMod = child ? 0.667F : 1;
|
float amountMod = child ? 0.667F : 1;
|
||||||
|
|
||||||
int timeAlive = data.getInteger(NaturesAura.MOD_ID + ":time_alive");
|
int timeAlive = data.getInteger(NaturesAura.MOD_ID + ":time_alive");
|
||||||
int time = Math.min(MathHelper.floor((timeAlive - 15000) / 500F * timeMod), 300);
|
int time = Math.min(MathHelper.floor((timeAlive - 15000) / 500F * timeMod), 200);
|
||||||
int amount = Math.min(MathHelper.floor((timeAlive - 8000) / 2.5F * amountMod), 15000);
|
int amount = Math.min(MathHelper.floor((timeAlive - 8000) / 2F * amountMod), 25000);
|
||||||
if (time <= 0 || amount <= 0)
|
if (time <= 0 || amount <= 0)
|
||||||
return false;
|
return false;
|
||||||
gen.setGenerationValues(time, amount);
|
gen.setGenerationValues(time, amount);
|
||||||
|
|
Loading…
Reference in a new issue