public class AlleleLeafEffect extends AlleleCategorized implements IAlleleLeafEffect
| Modifier | Constructor and Description |
|---|---|
protected |
AlleleLeafEffect(java.lang.String valueName,
boolean isDominant) |
| Modifier and Type | Method and Description |
|---|---|
IEffectData |
doEffect(ITreeGenome genome,
IEffectData storedData,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos) |
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 AlleleLeafEffect(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(ITreeGenome genome, IEffectData storedData, net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)
doEffect in interface IAlleleLeafEffect