Interface ILepidopterologyRegistration


public interface ILepidopterologyRegistration
  • Method Details

    • registerSpecies

      IButterflySpeciesBuilder registerSpecies(net.minecraft.resources.ResourceLocation id, String genus, String species, boolean dominant, Color 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. See ForestryTaxa.
      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

      void registerCocoon(net.minecraft.resources.ResourceLocation id, IButterflyCocoon cocoon)
    • registerEffect

      void registerEffect(net.minecraft.resources.ResourceLocation id, IButterflyEffect effect)