blob: c43d8bb87ed4675aac08d2dea78dd264e8436e50 [file] [log] [blame] [raw]
package forestry.api.world;
import net.minecraft.world.World;
public interface ITreeGenData {
int getGirth(World world, int x, int y, int z);
float getHeightModifier();
boolean canGrow(World world, int x, int y, int z, int expectedGirth, int expectedHeight);
void setLeaves(World world, String owner, int x, int y, int z);
boolean allowsFruitBlocks();
boolean trySpawnFruitBlock(World world, int x, int y, int z);
}