mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 21:09:51 +00:00
Fix #1616 Smarter tree generation
This commit is contained in:
1 parent
c2313c7569
commit
d29aa13377
3 files changed
+57
-22
No files matched your search
@@ -7,9 +7,12 @@ package forestry.api.arboriculture;
|
||||
|
||||
import net.minecraft.util.math.BlockPos;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraft.world.biome.Biome;
|
||||
|
||||
public interface IGrowthProvider {
|
||||
|
||||
boolean canSpawn(ITreeGenome genome, World world, BlockPos pos);
|
||||
boolean canSpawn(ITree tree, World world, BlockPos pos);
|
||||
|
||||
boolean isBiomeValid(ITree tree, Biome biome);
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user