Package forestry.api.plugin
Interface ILepidopterologyRegistration
public interface ILepidopterologyRegistration
-
Method Summary
Modifier and TypeMethodDescriptionvoidregisterCocoon(net.minecraft.resources.ResourceLocation id, IButterflyCocoon cocoon) voidregisterEffect(net.minecraft.resources.ResourceLocation id, IButterflyEffect effect) default IButterflySpeciesBuilderregisterSpecies(net.minecraft.resources.ResourceLocation id, String genus, String species, boolean dominant, Color serumColor, float rarity) Deprecated, for removal: This API element is subject to removal in a future version.Use the variant that accepts a TextColorregisterSpecies(net.minecraft.resources.ResourceLocation id, String genus, String species, boolean dominant, net.minecraft.network.chat.TextColor serumColor, float rarity) Register a new butterfly species.
-
Method Details
-
registerSpecies
@Deprecated(forRemoval=true) default IButterflySpeciesBuilder registerSpecies(net.minecraft.resources.ResourceLocation id, String genus, String species, boolean dominant, Color serumColor, float rarity) Deprecated, for removal: This API element is subject to removal in a future version.Use the variant that accepts a TextColor -
registerSpecies
IButterflySpeciesBuilder registerSpecies(net.minecraft.resources.ResourceLocation id, String genus, String species, boolean dominant, net.minecraft.network.chat.TextColor serumColor, float rarity) Register a new butterfly species.- Parameters:
id- The unique ID for this species.genus- The scientific name of the genus containing this species. SeeForestryTaxa.species- The scientific name of the species without the genus.dominant- Whether this species appears as a dominant allele in the genome.serumColor- The color of this butterfly's serum.rarity- The rarity of this species for spawning.
-
registerCocoon
-
registerEffect
-