Interface IArboricultureRegistration


public interface IArboricultureRegistration
Register your tree species, fruits, and effects here.
  • Method Details

    • registerSpecies

      ITreeSpeciesBuilder registerSpecies(net.minecraft.resources.ResourceLocation id, String genus, String species, boolean dominant, Color escritoireColor, IWoodType woodType)
      Register a new tree species.
      Parameters:
      id - The unique ID of this species. The path must start with "tree_".
      genus - The genus of this species. See ForestryTaxa for examples.
      species - The species name of this species, used for scientific naming.
      dominant - Whether the allele for this species is dominant or recessive.
      escritoireColor - The primary color of this tree species. Used for pollen colors and tree leaf tinting.
      woodType - The wood type of this tree species.
    • registerFruit

      void registerFruit(net.minecraft.resources.ResourceLocation id, IFruit fruit)
      Register a new type of fruit.
      Parameters:
      id - The unique ID of this fruit. See ForestryFruits for defaults.
      fruit - The fruit object to be wrapped in an allele for use in a tree genome.
    • registerTreeEffect

      void registerTreeEffect(net.minecraft.resources.ResourceLocation id, ITreeEffect effect)
      Registers a tree effect. There are no tree effects in base Forestry.
      Parameters:
      id - The unique ID of this tree effect.
      effect - The effect object to be wrapped in an allele for use in a tree genome.