Some reformat code for 1.11.2 source (#84)

* Optimized imports

* Some code reformat

* Some refactoring and code reformat

* Some code reformat
This commit is contained in:
Alexander Kornilov authored and mezz committed 2017-06-01 00:48:08 -07:00
1 parent 886c36a308
commit c3809fbc27
508 files changed
+6677 -6238

No files matched your search

@@ -1,6 +1,12 @@
package binnie.botany.genetics;
import binnie.botany.api.*;
import binnie.botany.api.EnumFlowerChromosome;
import binnie.botany.api.IAlleleFlowerSpecies;
import binnie.botany.api.IColourMix;
import binnie.botany.api.IFlower;
import binnie.botany.api.IFlowerColour;
import binnie.botany.api.IFlowerGenome;
import binnie.botany.api.IFlowerMutation;
import binnie.botany.core.BotanyCore;
import forestry.api.arboriculture.EnumTreeChromosome;
import forestry.api.genetics.IAllele;
@@ -152,6 +158,11 @@ public class Flower extends Individual implements IFlower {
return this.age;
}
@Override
public void setAge(final int i) {
this.age = i;
}
@Override
public void age() {
if (this.age < 15) {
@@ -159,11 +170,6 @@ public class Flower extends Individual implements IFlower {
}
}
@Override
public void setAge(final int i) {
this.age = i;
}
@Override
public int getMaxAge() {
return this.getGenome().getLifespan();