public class AlleleEffectPotion extends AlleleEffectThrottled
| Constructor and Description |
|---|
AlleleEffectPotion(java.lang.String name,
boolean isDominant,
net.minecraft.potion.Potion potion,
int duration) |
AlleleEffectPotion(java.lang.String name,
boolean isDominant,
net.minecraft.potion.Potion potion,
int duration,
int throttle,
float chance) |
| Modifier and Type | Method and Description |
|---|---|
IEffectData |
doEffectThrottled(IBeeGenome genome,
IEffectData storedData,
IBeeHousing housing) |
IEffectData |
doFX(IBeeGenome genome,
IEffectData storedData,
IBeeHousing housing)
Is called to produce visual bee effects.
|
doEffect, isCombinable, validateStoragegetBounding, getEntitiesInRange, getModifiedAreagetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominant, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAlleleName, getModID, getName, getUID, getUnlocalizedName, isDominantpublic AlleleEffectPotion(java.lang.String name,
boolean isDominant,
net.minecraft.potion.Potion potion,
int duration,
int throttle,
float chance)
public AlleleEffectPotion(java.lang.String name,
boolean isDominant,
net.minecraft.potion.Potion potion,
int duration)
public IEffectData doEffectThrottled(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
public IEffectData doFX(IBeeGenome genome, IEffectData storedData, IBeeHousing housing)
IAlleleBeeEffectdoFX in interface IAlleleBeeEffectdoFX in class AlleleEffectgenome - Genome of the bee queen causing this effectstoredData - Object containing the stored effect data for the apiary/hive the bee is in.housing - IBeeHousing the bee currently resides in.