Test with stuff + Forestry potential support
This commit is contained in:
parent
5b05cf651b
commit
bd26e441cb
174 changed files with 5602 additions and 0 deletions
21
BM_src/forestry/api/genetics/IAlleleEffect.java
Normal file
21
BM_src/forestry/api/genetics/IAlleleEffect.java
Normal file
|
@ -0,0 +1,21 @@
|
|||
package forestry.api.genetics;
|
||||
|
||||
/**
|
||||
* Basic effect allele.
|
||||
*/
|
||||
public interface IAlleleEffect extends IAllele {
|
||||
/**
|
||||
* @return true if this effect can combine with the effect on other allele (i.e. run before or after). combination can only occur if both effects are
|
||||
* combinable.
|
||||
*/
|
||||
boolean isCombinable();
|
||||
|
||||
/**
|
||||
* Returns the passed data storage if it is valid for this effect or a new one if the passed storage object was invalid for this effect.
|
||||
*
|
||||
* @param storedData
|
||||
* @return {@link IEffectData} for the next cycle.
|
||||
*/
|
||||
IEffectData validateStorage(IEffectData storedData);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue