}
/* EFFECTS */
@Override
public IEffectData[] doEffect(IEffectData[] storedData, World world, int biomeid, int x, int y, int z) {
IAlleleLeafEffect effect = (IAlleleLeafEffect) getGenome().getActiveAllele(EnumTreeChromosome.EFFECT.ordinal());
if (effect == null)
return null;
storedData[0] = doEffect(effect, storedData[0], world, biomeid, x, y, z);
// Return here if the primary can already not be combined
if (!effect.isCombinable())
return storedData;
IAlleleLeafEffect secondary = (IAlleleLeafEffect) getGenome().getInactiveAllele(EnumTreeChromosome.EFFECT.ordinal());
if (!secondary.isCombinable())
return storedData;
storedData[1] = doEffect(secondary, storedData[1], world, biomeid, x, y, z);
return storedData;