Test with stuff + Forestry potential support
This commit is contained in:
parent
5b05cf651b
commit
bd26e441cb
174 changed files with 5602 additions and 0 deletions
46
BM_src/forestry/api/apiculture/IAlleleBeeSpecies.java
Normal file
46
BM_src/forestry/api/apiculture/IAlleleBeeSpecies.java
Normal file
|
@ -0,0 +1,46 @@
|
|||
package forestry.api.apiculture;
|
||||
|
||||
import java.util.Map;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.Icon;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import forestry.api.genetics.IAlleleSpecies;
|
||||
|
||||
public interface IAlleleBeeSpecies extends IAlleleSpecies {
|
||||
|
||||
/**
|
||||
* @return the IBeeRoot
|
||||
*/
|
||||
IBeeRoot getRoot();
|
||||
|
||||
/**
|
||||
* @return true if this species is only active at night.
|
||||
*/
|
||||
boolean isNocturnal();
|
||||
|
||||
/**
|
||||
* @return Map of possible products with the chance for drop each bee cycle. (0 - 100)
|
||||
*/
|
||||
Map<ItemStack, Integer> getProducts();
|
||||
|
||||
/**
|
||||
* @return Map of possible specialities with the chance for drop each bee cycle. (0 - 100)
|
||||
*/
|
||||
Map<ItemStack, Integer> getSpecialty();
|
||||
|
||||
/**
|
||||
* Only jubilant bees produce specialities.
|
||||
* @return true if the bee is jubilant, false otherwise.
|
||||
*/
|
||||
boolean isJubilant(IBeeGenome genome, IBeeHousing housing);
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
Icon getIcon(EnumBeeType type, int renderPass);
|
||||
|
||||
/**
|
||||
* @return Path of the texture to use for entity rendering.
|
||||
*/
|
||||
String getEntityTexture();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue