Interface ILepidopterologyRegistration


public interface ILepidopterologyRegistration
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerCocoon(net.minecraft.resources.ResourceLocation id, IButterflyCocoon cocoon)
     
    void
    registerEffect(net.minecraft.resources.ResourceLocation id, IButterflyEffect effect)
     
    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(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. 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)