Package forestry.api.genetics.alleles
Interface IChromosome<A extends IAllele>
- All Known Subinterfaces:
IBooleanChromosome,IFloatChromosome,IIntegerChromosome,IRegistryChromosome<V>,IValueChromosome<V>
public interface IChromosome<A extends IAllele>
In Forestry, a chromosome is a key in the genome that maps to different alleles.
-
Method Summary
Modifier and TypeMethodDescriptiondefault net.minecraft.network.chat.MutableComponentgetDisplayName(A allele) getTranslationKey(A allele) The translation key of this allele, for use inComponent.translatable(String).net.minecraft.resources.ResourceLocationid()Class<?>
-
Method Details
-
id
net.minecraft.resources.ResourceLocation id()- Returns:
- Unique ID for this chromosome.
-
getTranslationKey
The translation key of this allele, for use inComponent.translatable(String). -
getDisplayName
-
valueClass
Class<?> valueClass()
-