mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 06:24:54 +00:00
Added placeholder effect allele so if any 'oddness' happens when mods are added/removed or compat switched on/off bees won't lose their effects or crash the world. Removed classes no longer used (BlockPlanks, BlockSlab). cya cya cya Added alleles for Blitz & Basalz spawning in anticipation of the relevant bees.
25 lines
610 B
Java
25 lines
610 B
Java
package magicbees.bees.allele.effect;
|
|
|
|
import forestry.api.apiculture.IBeeGenome;
|
|
import forestry.api.apiculture.IBeeHousing;
|
|
import forestry.api.genetics.IEffectData;
|
|
import magicbees.bees.AlleleEffect;
|
|
|
|
public class AlleleEffectPlaceholder extends AlleleEffect {
|
|
|
|
public AlleleEffectPlaceholder(String id, boolean isDominant) {
|
|
super(id, isDominant, 100000);
|
|
}
|
|
|
|
@Override
|
|
public IEffectData validateStorage(IEffectData storedData) {
|
|
return storedData;
|
|
}
|
|
|
|
@Override
|
|
protected IEffectData doEffectThrottled(IBeeGenome genome,IEffectData storedData, IBeeHousing housing) {
|
|
return storedData;
|
|
}
|
|
|
|
}
|