BloodMagic/BM_src/forestry/api/world/IWorldGenInterface.java

18 lines
551 B
Java
Raw Normal View History

package forestry.api.world;
import net.minecraft.world.gen.feature.WorldGenerator;
public interface IWorldGenInterface {
/**
* Retrieves generators for trees identified by a given string.
*
* Returned generator classes take an {@link ITreeGenData} in the constructor.
*
* @param ident
* Unique identifier for tree type. Forestry's convention is 'treeSpecies', i.e. 'treeBaobab', 'treeSequoia'.
* @return All generators matching the given ident.
*/
Class<? extends WorldGenerator>[] getTreeGenerators(String ident);
}