Package forestry.api.apiculture.genetics
Interface IBeeSpecies
- All Superinterfaces:
IProductProducer,IRegistryAlleleValue,ISpecialtyProducer,ISpecies<IBee>
Represents a bee species. Defines a bee's traits, default genome, and produce.
-
Method Summary
Modifier and TypeMethodDescriptionintgetBody()intintgetType()booleanisJubilant(IGenome genome, IBeeHousing housing) Determines whether a bee of this species is in a jubilant state.Methods inherited from interface forestry.api.core.IProductProducer
getProductsMethods inherited from interface forestry.api.core.ISpecialtyProducer
getSpecialtiesMethods inherited from interface forestry.api.genetics.ISpecies
addTooltip, cast, createIndividual, createIndividual, createIndividual, createIndividualFromPairs, createStack, createStack, getAuthority, getBinomial, getComplexity, getDefaultGenome, getDescriptionTranslationKey, getDisplayName, getEscritoireColor, getGenus, getGenusName, getKaryotype, getSpeciesName, getTranslationKey, hasGlint, id, isDominant, isSecret
-
Method Details
-
getType
IBeeSpeciesType getType() -
getTemperature
TemperatureType getTemperature()- Returns:
- The preferred/ideal temperature for this bee.
-
getHumidity
HumidityType getHumidity()- Returns:
- The preferred/ideal humidity for this bee.
-
isJubilant
Determines whether a bee of this species is in a jubilant state. Bees in a jubilant state are able to produce their specialty products. Most bees enter their jubilant state when they are in their preferred temperature/humidity, but others have additional restrictions.- Parameters:
genome- The genome of a bee of this species.housing- The hive where the bee is working. Provides access to the bee's working environment.- Returns:
- Whether this bee should produce its specialty products.
- See Also:
-
getBody
int getBody()- Returns:
- The color of the bee's body. Used for tintIndex = 1 and is usually a shade of yellow,
0xffdc16.
-
getStripes
int getStripes()- Returns:
- The color of the bee's stripes. Used for tintIndex = 2 and is usually black.
-
getOutline
int getOutline()- Returns:
- The color of the bee's outline. Used for tintIndex = 0.
-