public class AlleleButterflyEffect extends AlleleCategorized implements IAlleleButterflyEffect
| Modifier | Constructor and Description |
|---|---|
protected |
AlleleButterflyEffect(java.lang.String valueName,
boolean isDominant) |
| Modifier and Type | Method and Description |
|---|---|
IEffectData |
doEffect(IEntityButterfly butterfly,
IEffectData storedData)
Used by butterflies to trigger effects in the world.
|
boolean |
isCombinable() |
IEffectData |
validateStorage(IEffectData storedData)
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.
|
getAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominant, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominantprotected AlleleButterflyEffect(java.lang.String valueName,
boolean isDominant)
public boolean isCombinable()
isCombinable in interface IAlleleEffectpublic IEffectData validateStorage(IEffectData storedData)
IAlleleEffectvalidateStorage in interface IAlleleEffectIEffectData for the next cycle.public IEffectData doEffect(IEntityButterfly butterfly, IEffectData storedData)
IAlleleButterflyEffectdoEffect in interface IAlleleButterflyEffectbutterfly - IEntityButterflyIEffectData for the next cycle.