Files
ForestryMC/src/main/java/forestry/apiculture/multiblock/TileAlvearyStabiliser.java
T
2016-01-22 19:33:35 +01:00

34 lines
1.3 KiB
Java

/*******************************************************************************
* Copyright (c) 2011-2014 SirSengir.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the GNU Lesser Public License v3
* which accompanies this distribution, and is available at
* http://www.gnu.org/licenses/lgpl-3.0.txt
*
* Various Contributors including, but not limited to:
* SirSengir (original work), CovertJaguar, Player, Binnie, MysteriousAges
******************************************************************************/
package forestry.apiculture.multiblock;
import forestry.api.apiculture.DefaultBeeModifier;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.multiblock.IAlvearyComponent;
public class TileAlvearyStabiliser extends TileAlveary implements IAlvearyComponent.BeeModifier {
private static final IBeeModifier beeModifier = new AlvearyStabiliserBeeModifier();
@Override
public IBeeModifier getBeeModifier() {
return beeModifier;
}
private static class AlvearyStabiliserBeeModifier extends DefaultBeeModifier {
@Override
public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier) {
return 0.0f;
}
}
}